@ConfigurationProperties(value="cassandra.cluster") public class CassandraProperties extends Object
Constructor and Description |
---|
CassandraProperties() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cassandra.config.CompressionType |
getCompressionType() |
String |
getContactPoints() |
String[] |
getEntityBasePackages() |
org.springframework.core.io.Resource |
getInitScript() |
String |
getKeyspace() |
String |
getPassword() |
int |
getPort() |
org.springframework.data.cassandra.config.SchemaAction |
getSchemaAction() |
String |
getUsername() |
boolean |
isCreateKeyspace() |
boolean |
isMetricsEnabled() |
void |
setCompressionType(org.springframework.cassandra.config.CompressionType compressionType) |
void |
setContactPoints(String contactPoints) |
void |
setCreateKeyspace(boolean createKeyspace) |
void |
setEntityBasePackages(String[] entityBasePackages) |
void |
setInitScript(org.springframework.core.io.Resource initScript) |
void |
setKeyspace(String keyspace) |
void |
setMetricsEnabled(boolean metricsEnabled) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setSchemaAction(org.springframework.data.cassandra.config.SchemaAction schemaAction) |
void |
setUsername(String username) |
public void setContactPoints(String contactPoints)
public void setPort(int port)
public void setKeyspace(String keyspace)
public void setCreateKeyspace(boolean createKeyspace)
public void setUsername(String username)
public void setPassword(String password)
public void setInitScript(org.springframework.core.io.Resource initScript)
public void setEntityBasePackages(String[] entityBasePackages)
public void setCompressionType(org.springframework.cassandra.config.CompressionType compressionType)
public void setMetricsEnabled(boolean metricsEnabled)
@NotNull public String getContactPoints()
@Range(min=0L, max=65535L) public int getPort()
public String getKeyspace()
public boolean isCreateKeyspace()
@NotNull public org.springframework.data.cassandra.config.SchemaAction getSchemaAction()
public void setSchemaAction(org.springframework.data.cassandra.config.SchemaAction schemaAction)
public String getUsername()
public String getPassword()
public org.springframework.core.io.Resource getInitScript()
public String[] getEntityBasePackages()
@NotNull public org.springframework.cassandra.config.CompressionType getCompressionType()
public boolean isMetricsEnabled()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.