Enum Class MilvusConfigurations
java.lang.Object
java.lang.Enum<MilvusConfigurations>
org.eclipse.jnosql.databases.milvus.communication.MilvusConfigurations
- All Implemented Interfaces:
Serializable,Comparable<MilvusConfigurations>,Constable,Supplier<String>
Configuration options supported by the Milvus driver.
The Milvus database used by the mapping layer is the one defined by
jnosql.vector.database; it is created when it does not exist yet.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe consistency level applied to the collections and to every read:STRONG,BOUNDED,SESSIONorEVENTUALLY(case-insensitive).The Milvus host.The maximum length of the text attributes and of text ids, set when a collection is created.The metric used by the vector index when a collection is created: seeMilvusMetric(case-insensitive).The Milvus gRPC port.The timeout, in milliseconds, applied to each Milvus call.Whether the connection uses TLS, which makes the driver connect throughhttps.The token used to authenticate against Milvus, either an API key oruser:password.The full Milvus URI, such ashttps://my-cluster.example.com:443.The vector dimension used when a collection is created. -
Method Summary
Modifier and TypeMethodDescriptionget()static MilvusConfigurationsReturns the enum constant of this class with the specified name.static MilvusConfigurations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOST
The Milvus host. Defaults tolocalhost. -
PORT
The Milvus gRPC port. Defaults to19530. -
TLS
Whether the connection uses TLS, which makes the driver connect throughhttps. Defaults tofalse. -
URI
-
TOKEN
The token used to authenticate against Milvus, either an API key oruser:password. -
TIMEOUT
The timeout, in milliseconds, applied to each Milvus call. When absent, the client default is used. -
METRIC
The metric used by the vector index when a collection is created: seeMilvusMetric(case-insensitive). Defaults toMilvusMetric.COSINE. -
VECTOR_SIZE
The vector dimension used when a collection is created. When absent, the dimension of the first inserted vector is used. -
CONSISTENCY
The consistency level applied to the collections and to every read:STRONG,BOUNDED,SESSIONorEVENTUALLY(case-insensitive). Defaults toSTRONG, so a write is visible to the next read. -
MAX_LENGTH
The maximum length of the text attributes and of text ids, set when a collection is created. Milvus accepts values from 1 to 65535. Defaults to65535.
-
-
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
-