public class JdbcType extends Object implements Serializable
Constructor and Description |
---|
JdbcType()
Empty constructor (all values are initialized to their defaults).
|
JdbcType(JdbcType type)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getCacheName()
Gets associated cache name.
|
String |
getDatabaseSchema()
Gets database schema name.
|
String |
getDatabaseTable()
Gets table name in database.
|
JdbcTypeField[] |
getKeyFields()
Gets optional persistent key fields (needed only if
CacheJdbcPojoStore is used). |
String |
getKeyType()
Gets key type.
|
JdbcTypeField[] |
getValueFields()
Gets optional persistent value fields (needed only if
CacheJdbcPojoStore is used). |
String |
getValueType()
Gets value type.
|
JdbcType |
setCacheName(String cacheName)
Sets associated cache name.
|
JdbcType |
setDatabaseSchema(String dbSchema)
Sets database schema name.
|
JdbcType |
setDatabaseTable(String dbTbl)
Table name in database.
|
JdbcType |
setKeyFields(JdbcTypeField... keyFlds)
Sets optional persistent key fields (needed only if
CacheJdbcPojoStore is used). |
JdbcType |
setKeyType(Class<?> cls)
Sets key type.
|
JdbcType |
setKeyType(String keyType)
Sets key type.
|
JdbcType |
setValueFields(JdbcTypeField... valFlds)
Sets optional persistent value fields (needed only if
CacheJdbcPojoStore is used). |
JdbcType |
setValueType(Class<?> cls)
Sets value type.
|
JdbcType |
setValueType(String valType)
Sets value type.
|
String |
toString() |
public JdbcType()
public JdbcType(JdbcType type)
type
- Type to copy.public String getCacheName()
public JdbcType setCacheName(String cacheName)
cacheName
- Cache name.public String getDatabaseSchema()
public JdbcType setDatabaseSchema(String dbSchema)
dbSchema
- Schema name.public String getDatabaseTable()
public JdbcType setDatabaseTable(String dbTbl)
dbTbl
- Table name in database.this
for chaining.public String getKeyType()
public JdbcType setKeyType(String keyType)
keyType
- Key type.this
for chaining.public JdbcType setKeyType(Class<?> cls)
cls
- Key type class.this
for chaining.public String getValueType()
public JdbcType setValueType(String valType)
valType
- Value type.this
for chaining.public JdbcType setValueType(Class<?> cls)
cls
- Value type class.this
for chaining.public JdbcTypeField[] getKeyFields()
CacheJdbcPojoStore
is used).public JdbcType setKeyFields(JdbcTypeField... keyFlds)
CacheJdbcPojoStore
is used).keyFlds
- Persistent key fields.this
for chaining.public JdbcTypeField[] getValueFields()
CacheJdbcPojoStore
is used).public JdbcType setValueFields(JdbcTypeField... valFlds)
CacheJdbcPojoStore
is used).valFlds
- Persistent value fields.this
for chaining.
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025