Interface ICassandraSettings
-
- All Known Implementing Classes:
CassandraSettings
public interface ICassandraSettingsSettings for CassandraDataStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getContactPoints()StringgetKeyspaceName()DurationgetRecordTtl()StringgetTableName()ICassandraSettingssetKeyspaceName(String keyspaceName)Sets the name of the keyspace where the data will be savedICassandraSettingssetRecordTtl(Duration ttl)Sets the time to live for the records in the tableICassandraSettingssetTableName(String tableName)Sets the name of the table where the data will be saved
-
-
-
Method Detail
-
setKeyspaceName
ICassandraSettings setKeyspaceName(String keyspaceName)
Sets the name of the keyspace where the data will be saved- Parameters:
keyspaceName- The name of the keyspace- Returns:
- this instance, for chaining
-
getKeyspaceName
String getKeyspaceName()
- Returns:
- the name of the keyspace where the data will be saved
-
setTableName
ICassandraSettings setTableName(String tableName)
Sets the name of the table where the data will be saved- Parameters:
tableName- The name of the table- Returns:
- this instance, for chaining
-
getTableName
String getTableName()
- Returns:
- the name of the table where the data will be saved
-
setRecordTtl
ICassandraSettings setRecordTtl(Duration ttl)
Sets the time to live for the records in the table- Parameters:
ttl- The time to live for the records in the table- Returns:
- this instance, for chaining
-
getRecordTtl
Duration getRecordTtl()
- Returns:
- the time to live for the records in the table
-
-