protected static class CacheAbstractJdbcStore.EntryMapping extends Object
Constructor and Description |
---|
EntryMapping(@Nullable String cacheName,
JdbcDialect dialect,
JdbcType typeMeta,
CacheAbstractJdbcStore.TypeKind keyKind,
CacheAbstractJdbcStore.TypeKind valKind,
boolean escape) |
Modifier and Type | Method and Description |
---|---|
protected String |
fullTableName()
Get full table name.
|
protected JdbcTypeField[] |
keyColumns()
Gets key columns.
|
protected CacheAbstractJdbcStore.TypeKind |
keyKind() |
protected String |
keyType() |
protected String |
loadCacheRangeQuery(boolean appendLowerBound,
boolean appendUpperBound)
Construct query for select values in range.
|
protected String |
loadQuery(int keyCnt)
Construct query for select values with key count less or equal
maxKeysPerStmt |
protected JdbcTypeField[] |
valueColumns()
Gets value columns.
|
protected CacheAbstractJdbcStore.TypeKind |
valueKind() |
protected String |
valueType() |
public EntryMapping(@Nullable @Nullable String cacheName, JdbcDialect dialect, JdbcType typeMeta, CacheAbstractJdbcStore.TypeKind keyKind, CacheAbstractJdbcStore.TypeKind valKind, boolean escape)
cacheName
- Cache name.dialect
- JDBC dialect.typeMeta
- Type metadata.keyKind
- Type kind.valKind
- Value kind.escape
- Escape SQL identifiers flag.protected String keyType()
protected CacheAbstractJdbcStore.TypeKind keyKind()
protected String valueType()
protected CacheAbstractJdbcStore.TypeKind valueKind()
protected String loadQuery(int keyCnt)
maxKeysPerStmt
keyCnt
- Key count.protected String loadCacheRangeQuery(boolean appendLowerBound, boolean appendUpperBound)
appendLowerBound
- Need add lower bound for range.appendUpperBound
- Need add upper bound for range.protected JdbcTypeField[] keyColumns()
protected JdbcTypeField[] valueColumns()
protected String fullTableName()
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024