Enum Class ScyllaDBConfigurations
java.lang.Object
java.lang.Enum<ScyllaDBConfigurations>
org.eclipse.jnosql.databases.scylladb.communication.ScyllaDBConfigurations
- All Implemented Interfaces:
Serializable,Comparable<ScyllaDBConfigurations>,Constable,Supplier<String>
An enumeration to show the available options to connect to the ScyllaDB database.
It implements
Supplier, where its it returns the property name that might be
overwritten by the system environment using Eclipse Microprofile or Jakarta Config API.- See Also:
-
Settings
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe datacenter that is considered "local" by the load balancing policy.Database's host.The name of the application using the created session.The password's credentialThe scylladb's portThe ScyllaDB CQL to execute when the configuration starts.The user's credential. -
Method Summary
Modifier and TypeMethodDescriptionget()static ScyllaDBConfigurationsReturns the enum constant of this class with the specified name.static ScyllaDBConfigurations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER
The user's credential. -
PASSWORD
The password's credential -
HOST
Database's host. It is a prefix to enumerate hosts. E.g.: jnosql.scylladb.host.1=localhost -
NAME
The name of the application using the created session. -
PORT
The scylladb's port -
QUERY
The ScyllaDB CQL to execute when the configuration starts. It uses as a prefix. E.g.: jnosql.scylladb.query.1=CQL -
DATA_CENTER
The datacenter that is considered "local" by the load balancing policy.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
get
-