@Configuration
public class CassandraConfiguration
extends org.springframework.data.cassandra.config.java.AbstractCassandraConfiguration
Constructor and Description |
---|
CassandraConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected com.datastax.driver.core.AuthProvider |
getAuthProvider() |
protected org.springframework.cassandra.config.CompressionType |
getCompressionType() |
protected java.lang.String |
getContactPoints() |
java.lang.String[] |
getEntityBasePackages() |
protected java.util.List<org.springframework.cassandra.core.keyspace.CreateKeyspaceSpecification> |
getKeyspaceCreations() |
protected java.lang.String |
getKeyspaceName() |
protected boolean |
getMetricsEnabled() |
protected int |
getPort() |
org.springframework.data.cassandra.config.SchemaAction |
getSchemaAction() |
void |
init() |
cassandraConverter, cassandraMapping, cassandraTemplate, session, setBeanClassLoader
@PostConstruct public void init() throws java.io.IOException
java.io.IOException
protected java.lang.String getContactPoints()
getContactPoints
in class org.springframework.cassandra.config.java.AbstractClusterConfiguration
protected int getPort()
getPort
in class org.springframework.cassandra.config.java.AbstractClusterConfiguration
protected java.lang.String getKeyspaceName()
getKeyspaceName
in class org.springframework.data.cassandra.config.java.AbstractCassandraConfiguration
protected com.datastax.driver.core.AuthProvider getAuthProvider()
getAuthProvider
in class org.springframework.cassandra.config.java.AbstractClusterConfiguration
public org.springframework.data.cassandra.config.SchemaAction getSchemaAction()
getSchemaAction
in class org.springframework.data.cassandra.config.java.AbstractCassandraConfiguration
public java.lang.String[] getEntityBasePackages()
getEntityBasePackages
in class org.springframework.data.cassandra.config.java.AbstractCassandraConfiguration
protected org.springframework.cassandra.config.CompressionType getCompressionType()
getCompressionType
in class org.springframework.cassandra.config.java.AbstractClusterConfiguration
protected boolean getMetricsEnabled()
getMetricsEnabled
in class org.springframework.cassandra.config.java.AbstractClusterConfiguration
protected java.util.List<org.springframework.cassandra.core.keyspace.CreateKeyspaceSpecification> getKeyspaceCreations()
getKeyspaceCreations
in class org.springframework.cassandra.config.java.AbstractClusterConfiguration