public class KeyPersistenceSettings extends PersistenceSettings
Constructor and Description |
---|
KeyPersistenceSettings(Element el)
Creates key persistence settings object based on it's XML configuration.
|
Modifier and Type | Method and Description |
---|---|
protected PojoField |
createPojoField(Element el,
Class clazz)
Creates instance of
PojoField based on it's description in XML element. |
protected PojoField |
createPojoField(PojoFieldAccessor accessor)
Creates instance of
PojoField from its field 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<PojoField> |
getFields()
Returns a list of POJO fields to be persisted.
|
String |
getPrimaryKeyDDL()
Returns Cassandra DDL for primary key.
|
cassandraUniqueFields, checkDuplicates, detectPojoFields, findPropertyDescriptor, getColumn, getFieldByColumn, getJavaClass, getSerializer, getStrategy, getTableColumns, getTableColumnsDDL, getTableColumnsDDL, init
public KeyPersistenceSettings(Element el)
el
- XML element storing key persistence settingspublic List<PojoField> getFields()
getFields
in class PersistenceSettings
protected PojoField createPojoField(Element el, Class clazz)
PojoField
based on it's description in XML element.createPojoField
in class PersistenceSettings
el
- XML element describing POJO fieldclazz
- POJO java class.protected PojoField createPojoField(PojoFieldAccessor accessor)
PojoField
from its field accessor.createPojoField
in class PersistenceSettings
accessor
- field accessor.public String getPrimaryKeyDDL()
public String getClusteringDDL()
protected String defaultColumnName()
defaultColumnName
in class PersistenceSettings
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019