Enum Class WeaviateVectorStore.WeaviateVectorStoreConfig.ConsistentLevel
java.lang.Object
java.lang.Enum<WeaviateVectorStore.WeaviateVectorStoreConfig.ConsistentLevel>
org.springframework.ai.vectorstore.WeaviateVectorStore.WeaviateVectorStoreConfig.ConsistentLevel
- All Implemented Interfaces:
Serializable
,Comparable<WeaviateVectorStore.WeaviateVectorStoreConfig.ConsistentLevel>
,Constable
- Enclosing class:
WeaviateVectorStore.WeaviateVectorStoreConfig
public static enum WeaviateVectorStore.WeaviateVectorStoreConfig.ConsistentLevel
extends Enum<WeaviateVectorStore.WeaviateVectorStoreConfig.ConsistentLevel>
https://weaviate.io/developers/weaviate/concepts/replication-architecture/consistency#tunable-consistency-strategies
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONE
Write must receive an acknowledgement from at least one replica node. This is the fastest (most available), but least consistent option. -
QUORUM
Write must receive an acknowledgement from at least QUORUM replica nodes. QUORUM is calculated as n / 2 + 1, where n is the number of replicas. -
ALL
Write must receive an acknowledgement from all replica nodes. This is the most consistent, but 'slowest'.
-
-
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
-