@ConfigurationProperties(prefix="spring.data.cassandra") public class CassandraProperties extends Object
Constructor and Description |
---|
CassandraProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName() |
com.datastax.driver.core.ProtocolOptions.Compression |
getCompression() |
int |
getConnectTimeoutMillis() |
com.datastax.driver.core.ConsistencyLevel |
getConsistencyLevel() |
String |
getContactPoints() |
int |
getFetchSize() |
String |
getKeyspaceName() |
Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> |
getLoadBalancingPolicy() |
String |
getPassword() |
int |
getPort() |
int |
getReadTimeoutMillis() |
Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> |
getReconnectionPolicy() |
Class<? extends com.datastax.driver.core.policies.RetryPolicy> |
getRetryPolicy() |
String |
getSchemaAction() |
com.datastax.driver.core.ConsistencyLevel |
getSerialConsistencyLevel() |
String |
getUsername() |
boolean |
isSsl() |
void |
setClusterName(String clusterName) |
void |
setCompression(com.datastax.driver.core.ProtocolOptions.Compression compression) |
void |
setConnectTimeoutMillis(int connectTimeoutMillis) |
void |
setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel consistency) |
void |
setContactPoints(String contactPoints) |
void |
setFetchSize(int fetchSize) |
void |
setKeyspaceName(String keyspaceName) |
void |
setLoadBalancingPolicy(Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> loadBalancingPolicy) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setReadTimeoutMillis(int readTimeoutMillis) |
void |
setReconnectionPolicy(Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> reconnectionPolicy) |
void |
setRetryPolicy(Class<? extends com.datastax.driver.core.policies.RetryPolicy> retryPolicy) |
void |
setSchemaAction(String schemaAction) |
void |
setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel serialConsistency) |
void |
setSsl(boolean ssl) |
void |
setUsername(String username) |
public String getKeyspaceName()
public void setKeyspaceName(String keyspaceName)
public String getClusterName()
public void setClusterName(String clusterName)
public String getContactPoints()
public void setContactPoints(String contactPoints)
public int getPort()
public void setPort(int port)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public com.datastax.driver.core.ProtocolOptions.Compression getCompression()
public void setCompression(com.datastax.driver.core.ProtocolOptions.Compression compression)
public Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> getLoadBalancingPolicy()
public void setLoadBalancingPolicy(Class<? extends com.datastax.driver.core.policies.LoadBalancingPolicy> loadBalancingPolicy)
public com.datastax.driver.core.ConsistencyLevel getConsistencyLevel()
public void setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel consistency)
public com.datastax.driver.core.ConsistencyLevel getSerialConsistencyLevel()
public void setSerialConsistencyLevel(com.datastax.driver.core.ConsistencyLevel serialConsistency)
public int getFetchSize()
public void setFetchSize(int fetchSize)
public Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> getReconnectionPolicy()
public void setReconnectionPolicy(Class<? extends com.datastax.driver.core.policies.ReconnectionPolicy> reconnectionPolicy)
public Class<? extends com.datastax.driver.core.policies.RetryPolicy> getRetryPolicy()
public void setRetryPolicy(Class<? extends com.datastax.driver.core.policies.RetryPolicy> retryPolicy)
public int getConnectTimeoutMillis()
public void setConnectTimeoutMillis(int connectTimeoutMillis)
public int getReadTimeoutMillis()
public void setReadTimeoutMillis(int readTimeoutMillis)
public boolean isSsl()
public void setSsl(boolean ssl)
public String getSchemaAction()
public void setSchemaAction(String schemaAction)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.