public class KeyPersistenceSettings extends PersistenceSettings<PojoKeyField>
| Constructor and Description |
|---|
KeyPersistenceSettings(Element el)
Creates key persistence settings object based on it's XML configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected PojoKeyField |
createPojoField(Element el,
Class clazz)
Creates instance of
PojoField based on it's description in XML element. |
protected PojoKeyField |
createPojoField(PojoFieldAccessor accessor)
Creates instance of
PojoField from its field accessor. |
protected PojoKeyField |
createPojoField(PojoKeyField field,
Class clazz)
Creates instance of
PojoField based on the other instance and java class
to initialize accessor. |
protected String |
defaultColumnName()
Returns default name for Cassandra column (if it's not specified explicitly).
|
String |
getClusteringDDL()
Returns Cassandra DDL for cluster key.
|
List<PojoKeyField> |
getFields()
Returns a list of POJO fields to be persisted.
|
String |
getPrimaryKeyDDL()
Returns Cassandra DDL for primary key.
|
cassandraUniqueFields, checkDuplicates, detectPojoFields, enrichFields, findPropertyDescriptor, getColumn, getFieldByColumn, getJavaClass, getSerializer, getStrategy, getTableColumns, getTableColumnsDDL, getTableColumnsDDL, initpublic KeyPersistenceSettings(Element el)
el - XML element storing key persistence settingspublic List<PojoKeyField> getFields()
getFields in class PersistenceSettings<PojoKeyField>protected PojoKeyField createPojoField(Element el, Class clazz)
PojoField based on it's description in XML element.createPojoField in class PersistenceSettings<PojoKeyField>el - XML element describing POJO fieldclazz - POJO java class.protected PojoKeyField createPojoField(PojoFieldAccessor accessor)
PojoField from its field accessor.createPojoField in class PersistenceSettings<PojoKeyField>accessor - field accessor.protected PojoKeyField createPojoField(PojoKeyField field, Class clazz)
PojoField based on the other instance and java class
to initialize accessor.createPojoField in class PersistenceSettings<PojoKeyField>field - PojoField instanceclazz - java classpublic String getPrimaryKeyDDL()
public String getClusteringDDL()
protected String defaultColumnName()
defaultColumnName in class PersistenceSettings<PojoKeyField>
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025