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>

public enum ScyllaDBConfigurations extends Enum<ScyllaDBConfigurations> implements 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
  • Enum Constant Details

    • USER

      public static final ScyllaDBConfigurations USER
      The user's credential.
    • PASSWORD

      public static final ScyllaDBConfigurations PASSWORD
      The password's credential
    • HOST

      public static final ScyllaDBConfigurations HOST
      Database's host. It is a prefix to enumerate hosts. E.g.: jnosql.scylladb.host.1=localhost
    • NAME

      public static final ScyllaDBConfigurations NAME
      The name of the application using the created session.
    • PORT

      public static final ScyllaDBConfigurations PORT
      The scylladb's port
    • QUERY

      public static final ScyllaDBConfigurations QUERY
      The ScyllaDB CQL to execute when the configuration starts. It uses as a prefix. E.g.: jnosql.scylladb.query.1=CQL
    • DATA_CENTER

      public static final ScyllaDBConfigurations DATA_CENTER
      The datacenter that is considered "local" by the load balancing policy.
  • Method Details

    • values

      public static ScyllaDBConfigurations[] 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

      public static ScyllaDBConfigurations valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • get

      public String get()
      Specified by:
      get in interface Supplier<String>