Enum Class QdrantConfigurations

java.lang.Object
java.lang.Enum<QdrantConfigurations>
org.eclipse.jnosql.databases.qdrant.communication.QdrantConfigurations
All Implemented Interfaces:
Serializable, Comparable<QdrantConfigurations>, Constable, Supplier<String>

public enum QdrantConfigurations extends Enum<QdrantConfigurations> implements Supplier<String>
Configuration options supported by the Qdrant driver.
  • Enum Constant Details

    • HOST

      public static final QdrantConfigurations HOST
      The Qdrant host. Defaults to localhost.
    • PORT

      public static final QdrantConfigurations PORT
      The Qdrant gRPC port. Defaults to 6334.
    • TLS

      public static final QdrantConfigurations TLS
      Whether the connection uses TLS. Defaults to false.
    • API_KEY

      public static final QdrantConfigurations API_KEY
      The API key used to authenticate against Qdrant.
    • TIMEOUT

      public static final QdrantConfigurations TIMEOUT
      The timeout, in milliseconds, applied to each Qdrant call. When absent, the client default is used.
    • DISTANCE

      public static final QdrantConfigurations DISTANCE
      The distance metric used when a collection is created: see QdrantDistance (case-insensitive). Qdrant defines no default for it.
    • VECTOR_SIZE

      public static final QdrantConfigurations VECTOR_SIZE
      The vector dimension used when a collection is created. Qdrant defines no default for it.
  • Method Details

    • values

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