Class CassandraProperties
java.lang.Object
org.springframework.boot.autoconfigure.cassandra.CassandraProperties
@ConfigurationProperties(prefix="spring.data.cassandra")
public class CassandraProperties
extends Object
Configuration properties for Cassandra.
- Since:
- 1.3.0
- Author:
- Julien Dubois, Phillip Webb, Mark Paluch, Stephane Nicoll
-
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 enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPool()
int
getPort()
boolean
isSsl()
void
setCompression
(CassandraProperties.Compression compression) void
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
setSsl
(boolean ssl) void
setUsername
(String username)
-
Constructor Details
-
CassandraProperties
public CassandraProperties()
-
-
Method Details
-
getConfig
-
setConfig
-
getKeyspaceName
-
setKeyspaceName
-
getSessionName
-
setSessionName
-
getContactPoints
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getLocalDatacenter
-
setLocalDatacenter
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getCompression
-
setCompression
-
isSsl
public boolean isSsl() -
setSsl
public void setSsl(boolean ssl) -
getSchemaAction
-
setSchemaAction
-
getConnection
-
getPool
-
getRequest
-
getControlconnection
-