Class CassandraProperties
java.lang.Object
org.springframework.boot.autoconfigure.cassandra.CassandraProperties
Configuration properties for Cassandra.
- Since:
- 1.3.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Name of the algorithm used to compress protocol frames.static class
static class
static class
Pool properties.static class
static class
static class
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.io.Resource
getPool()
int
getPort()
getSsl()
void
setCompression
(CassandraProperties.Compression compression) void
setConfig
(org.springframework.core.io.Resource config) void
setContactPoints
(List<String> contactPoints) void
setKeyspaceName
(String keyspaceName) void
setLocalDatacenter
(String localDatacenter) void
setPassword
(String password) void
setPort
(int port) void
setSchemaAction
(String schemaAction) void
setSessionName
(String sessionName) void
void
setUsername
(String username)
-
Constructor Details
-
CassandraProperties
public CassandraProperties()
-
-
Method Details
-
getConfig
public org.springframework.core.io.Resource getConfig() -
setConfig
public void setConfig(org.springframework.core.io.Resource config) -
getKeyspaceName
-
setKeyspaceName
-
getSessionName
-
setSessionName
-
getContactPoints
-
setContactPoints
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getLocalDatacenter
-
setLocalDatacenter
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getCompression
-
setCompression
-
getSsl
-
setSsl
-
getSchemaAction
-
setSchemaAction
-
getConnection
-
getPool
-
getRequest
-
getControlconnection
-