Class CacheAbstractJdbcStore.EntryMapping
- java.lang.Object
- 
- org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore.EntryMapping
 
- 
- Enclosing class:
- CacheAbstractJdbcStore<K,V>
 
 protected static class CacheAbstractJdbcStore.EntryMapping extends Object Entry mapping description.
- 
- 
Constructor SummaryConstructors Constructor Description EntryMapping(@Nullable String cacheName, JdbcDialect dialect, JdbcType typeMeta, CacheAbstractJdbcStore.TypeKind keyKind, CacheAbstractJdbcStore.TypeKind valKind, boolean escape)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringfullTableName()Get full table name.protected JdbcTypeField[]keyColumns()Gets key columns.protected CacheAbstractJdbcStore.TypeKindkeyKind()protected StringkeyType()protected StringloadCacheRangeQuery(boolean appendLowerBound, boolean appendUpperBound)Construct query for select values in range.protected StringloadQuery(int keyCnt)Construct query for select values with key count less or equalmaxKeysPerStmtprotected JdbcTypeField[]valueColumns()Gets value columns.protected CacheAbstractJdbcStore.TypeKindvalueKind()protected StringvalueType()
 
- 
- 
- 
Constructor Detail- 
EntryMappingpublic EntryMapping(@Nullable @Nullable String cacheName, JdbcDialect dialect, JdbcType typeMeta, CacheAbstractJdbcStore.TypeKind keyKind, CacheAbstractJdbcStore.TypeKind valKind, boolean escape)- Parameters:
- cacheName- Cache name.
- dialect- JDBC dialect.
- typeMeta- Type metadata.
- keyKind- Type kind.
- valKind- Value kind.
- escape- Escape SQL identifiers flag.
 
 
- 
 - 
Method Detail- 
keyTypeprotected String keyType() - Returns:
- Key type.
 
 - 
keyKindprotected CacheAbstractJdbcStore.TypeKind keyKind() - Returns:
- Key type kind.
 
 - 
valueTypeprotected String valueType() - Returns:
- Value type.
 
 - 
valueKindprotected CacheAbstractJdbcStore.TypeKind valueKind() - Returns:
- Value type kind.
 
 - 
loadQueryprotected String loadQuery(int keyCnt) Construct query for select values with key count less or equalmaxKeysPerStmt- Parameters:
- keyCnt- Key count.
- Returns:
- Load query statement text.
 
 - 
loadCacheRangeQueryprotected String loadCacheRangeQuery(boolean appendLowerBound, boolean appendUpperBound) Construct query for select values in range.- Parameters:
- appendLowerBound- Need add lower bound for range.
- appendUpperBound- Need add upper bound for range.
- Returns:
- Query with range.
 
 - 
keyColumnsprotected JdbcTypeField[] keyColumns() Gets key columns.- Returns:
- Key columns.
 
 - 
valueColumnsprotected JdbcTypeField[] valueColumns() Gets value columns.- Returns:
- Value columns.
 
 - 
fullTableNameprotected String fullTableName() Get full table name.- Returns:
- <schema>.<table name>
 
 
- 
 
-