Class CassandraProperties
java.lang.Object
org.springframework.boot.cassandra.autoconfigure.CassandraProperties
Configuration properties for Cassandra.
- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumName of the algorithm used to compress protocol frames.static classstatic classstatic classPool properties.static classstatic classstatic classstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable CassandraProperties.Compression@Nullable org.springframework.core.io.Resource@Nullable String@Nullable String@Nullable StringgetPool()intgetPort()@Nullable StringgetSsl()@Nullable StringvoidsetCompression(@Nullable CassandraProperties.Compression compression) voidsetConfig(@Nullable org.springframework.core.io.Resource config) voidsetContactPoints(@Nullable List<String> contactPoints) voidsetKeyspaceName(@Nullable String keyspaceName) voidsetLocalDatacenter(@Nullable String localDatacenter) voidsetPassword(@Nullable String password) voidsetPort(int port) voidsetSchemaAction(String schemaAction) voidsetSessionName(@Nullable String sessionName) voidvoidsetUsername(@Nullable String username)
-
Constructor Details
-
CassandraProperties
public CassandraProperties()
-
-
Method Details
-
getConfig
public @Nullable org.springframework.core.io.Resource getConfig() -
setConfig
public void setConfig(@Nullable org.springframework.core.io.Resource config) -
getKeyspaceName
-
setKeyspaceName
-
getSessionName
-
setSessionName
-
getContactPoints
-
setContactPoints
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getLocalDatacenter
-
setLocalDatacenter
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getCompression
-
setCompression
-
getSsl
-
setSsl
-
getSchemaAction
-
setSchemaAction
-
getConnection
-
getPool
-
getRequest
-
getControlconnection
-