Package io.dingodb.common
Enum Class Common.VectorIndexType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Common.VectorIndexType>,Constable
- Enclosing class:
- Common
public static enum Common.VectorIndexType
extends Enum<Common.VectorIndexType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
dingodb.pb.common.VectorIndexType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVECTOR_INDEX_TYPE_BINARY_FLAT = 15;VECTOR_INDEX_TYPE_BINARY_IVF_FLAT = 16;VECTOR_INDEX_TYPE_BRUTEFORCE = 6;VECTOR_INDEX_TYPE_DISKANN = 5;VECTOR_INDEX_TYPE_FLAT = 1;VECTOR_INDEX_TYPE_HNSW = 4;VECTOR_INDEX_TYPE_IVF_FLAT = 2;VECTOR_INDEX_TYPE_IVF_PQ = 3;VECTOR_INDEX_TYPE_NONE = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intVECTOR_INDEX_TYPE_BINARY_FLAT = 15;static final intVECTOR_INDEX_TYPE_BINARY_IVF_FLAT = 16;static final intVECTOR_INDEX_TYPE_BRUTEFORCE = 6;static final intVECTOR_INDEX_TYPE_DISKANN = 5;static final intVECTOR_INDEX_TYPE_FLAT = 1;static final intVECTOR_INDEX_TYPE_HNSW = 4;static final intVECTOR_INDEX_TYPE_IVF_FLAT = 2;static final intVECTOR_INDEX_TYPE_IVF_PQ = 3;static final intVECTOR_INDEX_TYPE_NONE = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Common.VectorIndexTypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Common.VectorIndexType>static Common.VectorIndexTypevalueOf(int value) Deprecated.static Common.VectorIndexTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Common.VectorIndexTypeReturns the enum constant of this class with the specified name.static Common.VectorIndexType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VECTOR_INDEX_TYPE_NONE
VECTOR_INDEX_TYPE_NONE = 0; -
VECTOR_INDEX_TYPE_FLAT
VECTOR_INDEX_TYPE_FLAT = 1; -
VECTOR_INDEX_TYPE_IVF_FLAT
VECTOR_INDEX_TYPE_IVF_FLAT = 2; -
VECTOR_INDEX_TYPE_IVF_PQ
VECTOR_INDEX_TYPE_IVF_PQ = 3; -
VECTOR_INDEX_TYPE_HNSW
VECTOR_INDEX_TYPE_HNSW = 4; -
VECTOR_INDEX_TYPE_DISKANN
VECTOR_INDEX_TYPE_DISKANN = 5; -
VECTOR_INDEX_TYPE_BRUTEFORCE
VECTOR_INDEX_TYPE_BRUTEFORCE = 6; -
VECTOR_INDEX_TYPE_BINARY_FLAT
VECTOR_INDEX_TYPE_BINARY_FLAT = 15; -
VECTOR_INDEX_TYPE_BINARY_IVF_FLAT
VECTOR_INDEX_TYPE_BINARY_IVF_FLAT = 16; -
UNRECOGNIZED
-
-
Field Details
-
VECTOR_INDEX_TYPE_NONE_VALUE
public static final int VECTOR_INDEX_TYPE_NONE_VALUEVECTOR_INDEX_TYPE_NONE = 0;- See Also:
-
VECTOR_INDEX_TYPE_FLAT_VALUE
public static final int VECTOR_INDEX_TYPE_FLAT_VALUEVECTOR_INDEX_TYPE_FLAT = 1;- See Also:
-
VECTOR_INDEX_TYPE_IVF_FLAT_VALUE
public static final int VECTOR_INDEX_TYPE_IVF_FLAT_VALUEVECTOR_INDEX_TYPE_IVF_FLAT = 2;- See Also:
-
VECTOR_INDEX_TYPE_IVF_PQ_VALUE
public static final int VECTOR_INDEX_TYPE_IVF_PQ_VALUEVECTOR_INDEX_TYPE_IVF_PQ = 3;- See Also:
-
VECTOR_INDEX_TYPE_HNSW_VALUE
public static final int VECTOR_INDEX_TYPE_HNSW_VALUEVECTOR_INDEX_TYPE_HNSW = 4;- See Also:
-
VECTOR_INDEX_TYPE_DISKANN_VALUE
public static final int VECTOR_INDEX_TYPE_DISKANN_VALUEVECTOR_INDEX_TYPE_DISKANN = 5;- See Also:
-
VECTOR_INDEX_TYPE_BRUTEFORCE_VALUE
public static final int VECTOR_INDEX_TYPE_BRUTEFORCE_VALUEVECTOR_INDEX_TYPE_BRUTEFORCE = 6;- See Also:
-
VECTOR_INDEX_TYPE_BINARY_FLAT_VALUE
public static final int VECTOR_INDEX_TYPE_BINARY_FLAT_VALUEVECTOR_INDEX_TYPE_BINARY_FLAT = 15;- See Also:
-
VECTOR_INDEX_TYPE_BINARY_IVF_FLAT_VALUE
public static final int VECTOR_INDEX_TYPE_BINARY_IVF_FLAT_VALUEVECTOR_INDEX_TYPE_BINARY_IVF_FLAT = 16;- See Also:
-
-
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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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:
value- 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
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Common.VectorIndexType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Common.VectorIndexType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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:
desc- 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
-