@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.Pool
Pool properties.
|
Constructor and Description |
---|
CassandraProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName()
Deprecated.
|
CassandraProperties.Compression |
getCompression() |
Duration |
getConnectTimeout() |
com.datastax.oss.driver.api.core.DefaultConsistencyLevel |
getConsistencyLevel() |
List<String> |
getContactPoints() |
int |
getFetchSize()
Deprecated.
|
String |
getKeyspaceName() |
String |
getLocalDatacenter() |
int |
getPageSize() |
String |
getPassword() |
CassandraProperties.Pool |
getPool() |
Duration |
getReadTimeout() |
String |
getSchemaAction() |
com.datastax.oss.driver.api.core.DefaultConsistencyLevel |
getSerialConsistencyLevel() |
String |
getSessionName() |
String |
getUsername() |
boolean |
isSsl() |
void |
setClusterName(String clusterName)
Deprecated.
|
void |
setCompression(CassandraProperties.Compression compression) |
void |
setConnectTimeout(Duration connectTimeout) |
void |
setConsistencyLevel(com.datastax.oss.driver.api.core.DefaultConsistencyLevel consistency) |
void |
setFetchSize(int fetchSize)
Deprecated.
|
void |
setKeyspaceName(String keyspaceName) |
void |
setLocalDatacenter(String localDatacenter) |
void |
setPageSize(int pageSize) |
void |
setPassword(String password) |
void |
setReadTimeout(Duration readTimeout) |
void |
setSchemaAction(String schemaAction) |
void |
setSerialConsistencyLevel(com.datastax.oss.driver.api.core.DefaultConsistencyLevel serialConsistency) |
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 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)
public com.datastax.oss.driver.api.core.DefaultConsistencyLevel getConsistencyLevel()
public void setConsistencyLevel(com.datastax.oss.driver.api.core.DefaultConsistencyLevel consistency)
public com.datastax.oss.driver.api.core.DefaultConsistencyLevel getSerialConsistencyLevel()
public void setSerialConsistencyLevel(com.datastax.oss.driver.api.core.DefaultConsistencyLevel serialConsistency)
public int getPageSize()
public void setPageSize(int pageSize)
@Deprecated @DeprecatedConfigurationProperty(replacement="spring.data.cassandra.page-size") public int getFetchSize()
@Deprecated public void setFetchSize(int fetchSize)
public Duration getConnectTimeout()
public void setConnectTimeout(Duration connectTimeout)
public Duration getReadTimeout()
public void setReadTimeout(Duration readTimeout)
public boolean isSsl()
public void setSsl(boolean ssl)
public String getSchemaAction()
public void setSchemaAction(String schemaAction)
public CassandraProperties.Pool getPool()