@ConfigurationProperties(prefix="spring.data.cassandra") public class CassandraProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CassandraProperties.Compression
Name of the algorithm used to compress protocol frames.
|
static class |
CassandraProperties.Connection |
static class |
CassandraProperties.Pool
Pool properties.
|
static class |
CassandraProperties.Request |
static class |
CassandraProperties.Throttler |
static class |
CassandraProperties.ThrottlerType |
Constructor and Description |
---|
CassandraProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName()
Deprecated.
|
CassandraProperties.Compression |
getCompression() |
CassandraProperties.Connection |
getConnection() |
Duration |
getConnectTimeout()
Deprecated.
|
com.datastax.oss.driver.api.core.DefaultConsistencyLevel |
getConsistencyLevel()
Deprecated.
|
List<String> |
getContactPoints() |
int |
getFetchSize()
Deprecated.
|
String |
getKeyspaceName() |
String |
getLocalDatacenter() |
String |
getPassword() |
CassandraProperties.Pool |
getPool() |
int |
getPort() |
Duration |
getReadTimeout()
Deprecated.
|
CassandraProperties.Request |
getRequest() |
String |
getSchemaAction() |
com.datastax.oss.driver.api.core.DefaultConsistencyLevel |
getSerialConsistencyLevel()
Deprecated.
|
String |
getSessionName() |
String |
getUsername() |
boolean |
isSsl() |
void |
setClusterName(String clusterName)
Deprecated.
|
void |
setCompression(CassandraProperties.Compression compression) |
void |
setConnectTimeout(Duration connectTimeout)
Deprecated.
|
void |
setConsistencyLevel(com.datastax.oss.driver.api.core.DefaultConsistencyLevel consistency)
Deprecated.
|
void |
setFetchSize(int fetchSize)
Deprecated.
|
void |
setKeyspaceName(String keyspaceName) |
void |
setLocalDatacenter(String localDatacenter) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setReadTimeout(Duration readTimeout)
Deprecated.
|
void |
setSchemaAction(String schemaAction) |
void |
setSerialConsistencyLevel(com.datastax.oss.driver.api.core.DefaultConsistencyLevel serialConsistency)
Deprecated.
|
void |
setSessionName(String sessionName) |
void |
setSsl(boolean ssl) |
void |
setUsername(String username) |
public String getKeyspaceName()
public void setKeyspaceName(String keyspaceName)
public String getSessionName()
public void setSessionName(String sessionName)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.data.cassandra.session-name") public String getClusterName()
@Deprecated public void setClusterName(String clusterName)
public int getPort()
public void setPort(int port)
public String getLocalDatacenter()
public void setLocalDatacenter(String localDatacenter)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public CassandraProperties.Compression getCompression()
public void setCompression(CassandraProperties.Compression compression)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.data.cassandra.request.consistency") public com.datastax.oss.driver.api.core.DefaultConsistencyLevel getConsistencyLevel()
@Deprecated public void setConsistencyLevel(com.datastax.oss.driver.api.core.DefaultConsistencyLevel consistency)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.data.cassandra.request.serial-consistency") public com.datastax.oss.driver.api.core.DefaultConsistencyLevel getSerialConsistencyLevel()
@Deprecated public void setSerialConsistencyLevel(com.datastax.oss.driver.api.core.DefaultConsistencyLevel serialConsistency)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.data.cassandra.request.page-size") public int getFetchSize()
@Deprecated public void setFetchSize(int fetchSize)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.data.cassandra.connection.init-query-timeout") public Duration getConnectTimeout()
@Deprecated public void setConnectTimeout(Duration connectTimeout)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.data.cassandra.request.timeout") public Duration getReadTimeout()
@Deprecated public void setReadTimeout(Duration readTimeout)
public boolean isSsl()
public void setSsl(boolean ssl)
public String getSchemaAction()
public void setSchemaAction(String schemaAction)
public CassandraProperties.Connection getConnection()
public CassandraProperties.Pool getPool()
public CassandraProperties.Request getRequest()