Package | Description |
---|---|
org.apache.ignite.cache.store.jdbc |
Contains reference JDBC-based cache store implementation.
|
Modifier and Type | Method and Description |
---|---|
JdbcTypeField[] |
JdbcType.getKeyFields()
Gets optional persistent key fields (needed only if
CacheJdbcPojoStore is used). |
JdbcTypeField[] |
JdbcType.getValueFields()
Gets optional persistent value fields (needed only if
CacheJdbcPojoStore is used). |
protected JdbcTypeField[] |
CacheAbstractJdbcStore.EntryMapping.keyColumns()
Gets key columns.
|
JdbcTypeField |
JdbcTypeField.setDatabaseFieldName(String dbFldName) |
JdbcTypeField |
JdbcTypeField.setDatabaseFieldType(int dbFldType) |
JdbcTypeField |
JdbcTypeField.setJavaFieldName(String javaFldName) |
JdbcTypeField |
JdbcTypeField.setJavaFieldType(Class<?> javaFldType) |
protected JdbcTypeField[] |
CacheAbstractJdbcStore.EntryMapping.valueColumns()
Gets value columns.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
CacheJdbcPojoStore.buildBinaryObject(String typeName,
JdbcTypeField[] fields,
Map<String,Integer> loadColIdxs,
ResultSet rs)
Construct binary object from query result.
|
protected abstract <R> R |
CacheAbstractJdbcStore.buildObject(@Nullable String cacheName,
String typeName,
CacheAbstractJdbcStore.TypeKind typeKind,
JdbcTypeField[] flds,
Map<String,Integer> loadColIdxs,
ResultSet rs)
Construct object from query result.
|
protected <R> R |
CacheJdbcPojoStore.buildObject(@Nullable String cacheName,
String typeName,
CacheAbstractJdbcStore.TypeKind typeKind,
JdbcTypeField[] flds,
Map<String,Integer> loadColIdxs,
ResultSet rs)
Construct object from query result.
|
protected void |
CacheAbstractJdbcStore.fillParameter(PreparedStatement stmt,
int idx,
JdbcTypeField field,
@Nullable Object fieldVal)
Sets the value of the designated parameter using the given object.
|
JdbcType |
JdbcType.setKeyFields(JdbcTypeField... keyFlds)
Sets optional persistent key fields (needed only if
CacheJdbcPojoStore is used). |
JdbcType |
JdbcType.setValueFields(JdbcTypeField... valFlds)
Sets optional persistent value fields (needed only if
CacheJdbcPojoStore is used). |
Constructor and Description |
---|
JdbcTypeField(JdbcTypeField field)
Copy constructor.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023