public class ValuePersistenceSettings extends PersistenceSettings<PojoValueField>
Constructor and Description |
---|
ValuePersistenceSettings(Element el)
Creates class instance from XML configuration.
|
Modifier and Type | Method and Description |
---|---|
protected PojoValueField |
createPojoField(Element el,
Class clazz)
Creates instance of
PojoField based on it's description in XML element. |
protected PojoValueField |
createPojoField(PojoFieldAccessor accessor)
Creates instance of
PojoField from its field accessor. |
protected PojoValueField |
createPojoField(PojoValueField 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).
|
List<PojoValueField> |
getFields()
Returns a list of POJO fields to be persisted.
|
cassandraUniqueFields, checkDuplicates, detectPojoFields, enrichFields, findPropertyDescriptor, getColumn, getFieldByColumn, getJavaClass, getSerializer, getStrategy, getTableColumns, getTableColumnsDDL, getTableColumnsDDL, init
public ValuePersistenceSettings(Element el)
el
- XML element describing value persistence settings.public List<PojoValueField> getFields()
PersistenceSettings
getFields
in class PersistenceSettings<PojoValueField>
protected String defaultColumnName()
defaultColumnName
in class PersistenceSettings<PojoValueField>
protected PojoValueField createPojoField(Element el, Class clazz)
PojoField
based on it's description in XML element.createPojoField
in class PersistenceSettings<PojoValueField>
el
- XML element describing POJO fieldclazz
- POJO java class.protected PojoValueField createPojoField(PojoFieldAccessor accessor)
PojoField
from its field accessor.createPojoField
in class PersistenceSettings<PojoValueField>
accessor
- field accessor.protected PojoValueField createPojoField(PojoValueField field, Class clazz)
PojoField
based on the other instance and java class
to initialize accessor.createPojoField
in class PersistenceSettings<PojoValueField>
field
- PojoField instanceclazz
- java class
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024