@Deprecated public class CacheJdbcPortableStore extends org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore<PortableObject,PortableObject>
CacheStore that implementation backed by JDBC and PortableObject.
This implementation stores objects in underlying database using portable mapping description.| Constructor and Description |
|---|
CacheJdbcPortableStore()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected <R> R |
buildObject(String cacheName,
String typeName,
org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore.TypeKind typeKind,
org.apache.ignite.cache.store.jdbc.JdbcTypeField[] flds,
Collection<String> hashFlds,
Map<String,Integer> loadColIdxs,
ResultSet rs)
Deprecated.
Construct object from query result.
|
protected Object |
extractParameter(String cacheName,
String typeName,
org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore.TypeKind typeKind,
String fieldName,
Object obj)
Deprecated.
Get field value from object for use as query parameter.
|
protected void |
prepareBuilders(String cacheName,
Collection<org.apache.ignite.cache.store.jdbc.JdbcType> types)
Deprecated.
Prepare internal store specific builders for provided types metadata.
|
String |
toString()
Deprecated.
|
protected Object |
typeIdForObject(Object obj)
Deprecated.
Calculate type ID for object.
|
protected Object |
typeIdForTypeName(org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore.TypeKind kind,
String typeName)
Deprecated.
Calculate type ID for given type name.
|
closeConnection, columnIndex, connection, delete, deleteAll, end, fillKeyParameters, fillKeyParameters, fillParameter, fillValueParameters, getBatchSize, getDataSource, getDialect, getHasher, getMaximumPoolSize, getMaximumWriteAttempts, getParallelLoadCacheMinimumThreshold, getTransformer, getTypes, ignite, isSqlEscapeAll, kindForName, kindForName, load, loadAll, loadCache, openConnection, resolveDialect, session, sessionEnd, setBatchSize, setDataSource, setDialect, setHasher, setMaximumPoolSize, setMaximumWriteAttempts, setParallelLoadCacheMinimumThreshold, setSqlEscapeAll, setTransformer, setTypes, start, stop, write, writeAllprotected void prepareBuilders(@Nullable
String cacheName,
Collection<org.apache.ignite.cache.store.jdbc.JdbcType> types)
throws javax.cache.CacheException
prepareBuilders in class org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore<PortableObject,PortableObject>cacheName - Cache name to prepare builders for.types - Collection of types.javax.cache.CacheException - If failed to prepare internal builders for types.@Nullable protected Object extractParameter(String cacheName, String typeName, org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore.TypeKind typeKind, String fieldName, Object obj) throws javax.cache.CacheException
extractParameter in class org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore<PortableObject,PortableObject>cacheName - Cache name.typeName - Type name.typeKind - Type kind.fieldName - Field name.obj - Cache object.javax.cache.CacheException - in case of error.protected <R> R buildObject(String cacheName, String typeName, org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore.TypeKind typeKind, org.apache.ignite.cache.store.jdbc.JdbcTypeField[] flds, Collection<String> hashFlds, Map<String,Integer> loadColIdxs, ResultSet rs) throws javax.cache.integration.CacheLoaderException
buildObject in class org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore<PortableObject,PortableObject>R - Type of result object.cacheName - Cache name.typeName - Type name.typeKind - Type kind.flds - Fields descriptors.hashFlds - Field names for hash code calculation.loadColIdxs - Select query columns index.rs - ResultSet.javax.cache.integration.CacheLoaderException - If failed to construct cache object.protected Object typeIdForObject(Object obj)
typeIdForObject in class org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore<PortableObject,PortableObject>obj - Object to calculate type ID for.protected Object typeIdForTypeName(org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore.TypeKind kind, String typeName) throws javax.cache.CacheException
typeIdForTypeName in class org.apache.ignite.cache.store.jdbc.CacheAbstractJdbcStore<PortableObject,PortableObject>kind - If true then calculate type ID for POJO otherwise for binary object .typeName - String description of type name.javax.cache.CacheException - If failed to get type ID for given type name.
GridGain Fabric : ver. 7.8.12 Release Date : October 2 2017