public class KeyValuePersistenceSettings extends Object implements Serializable
Constructor and Description |
---|
KeyValuePersistenceSettings(File settingsFile)
Constructs Ignite cache key/value persistence settings.
|
KeyValuePersistenceSettings(org.springframework.core.io.Resource settingsRsrc)
Constructs Ignite cache key/value persistence settings.
|
KeyValuePersistenceSettings(String settings)
Constructs Ignite cache key/value persistence settings.
|
Modifier and Type | Method and Description |
---|---|
List<PojoField> |
getFields()
Returns list of POJO fields to be mapped to Cassandra table columns.
|
List<String> |
getIndexDDLStatements(String table)
Returns DDL statements to create Cassandra table secondary indexes.
|
List<PojoKeyField> |
getKeyFields()
Returns list of Ignite cache key POJO fields to be mapped to Cassandra table columns.
|
KeyPersistenceSettings |
getKeyPersistenceSettings()
Returns persistence settings for Ignite cache keys.
|
String |
getKeyspace()
Returns Cassandra keyspace to use.
|
String |
getKeyspaceDDLStatement()
Returns DDL statement to create Cassandra keyspace.
|
String |
getTable()
Returns Cassandra table to use.
|
List<String> |
getTableColumns()
Returns column names for Cassandra table.
|
String |
getTableDDLStatement(String table)
Returns DDL statement to create Cassandra table.
|
Integer |
getTTL()
Returns ttl to use for while inserting new rows into Cassandra table.
|
List<PojoValueField> |
getValueFields()
Returns list of Ignite cache value POJO fields to be mapped to Cassandra table columns.
|
ValuePersistenceSettings |
getValuePersistenceSettings()
Returns persistence settings for Ignite cache values.
|
public KeyValuePersistenceSettings(String settings)
settings
- string containing xml with persistence settings for Ignite cache key/valuepublic KeyValuePersistenceSettings(File settingsFile)
settingsFile
- xml file with persistence settings for Ignite cache key/valuepublic KeyValuePersistenceSettings(org.springframework.core.io.Resource settingsRsrc)
settingsRsrc
- resource containing xml with persistence settings for Ignite cache key/valuepublic Integer getTTL()
public String getKeyspace()
public String getTable()
public KeyPersistenceSettings getKeyPersistenceSettings()
public ValuePersistenceSettings getValuePersistenceSettings()
public List<PojoField> getFields()
public List<PojoKeyField> getKeyFields()
public List<PojoValueField> getValueFields()
public String getKeyspaceDDLStatement()
public List<String> getTableColumns()
public String getTableDDLStatement(String table)
table
- Table name.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024