Package org.vitrivr.cottontail.grpc
Enum Class CottontailGrpc.IndexType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CottontailGrpc.IndexType>,Constable
- Enclosing class:
- CottontailGrpc
public static enum CottontailGrpc.IndexType
extends Enum<CottontailGrpc.IndexType>
implements com.google.protobuf.ProtocolMessageEnum
Type of index.Protobuf enum
org.vitrivr.cottontail.grpc.IndexType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBTREE_UQ = 1;static final intBTREE = 0;private static final com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.IndexType>static final intIVFPQ = 5;static final intLSH = 6;static final intLUCENE = 2;static final intPQ = 4;static final intVAF = 3;private final intprivate static final CottontailGrpc.IndexType[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CottontailGrpc.IndexTypeforNumber(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<CottontailGrpc.IndexType>static CottontailGrpc.IndexTypevalueOf(int value) Deprecated.static CottontailGrpc.IndexTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CottontailGrpc.IndexTypeReturns the enum constant of this class with the specified name.static CottontailGrpc.IndexType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BTREE
BTREE = 0; -
BTREE_UQ
BTREE_UQ = 1; -
LUCENE
LUCENE = 2; -
VAF
VAF = 3; -
PQ
PQ = 4; -
IVFPQ
IVFPQ = 5; -
LSH
LSH = 6; -
UNRECOGNIZED
-
-
Field Details
-
BTREE_VALUE
public static final int BTREE_VALUEBTREE = 0;- See Also:
-
BTREE_UQ_VALUE
public static final int BTREE_UQ_VALUEBTREE_UQ = 1;- See Also:
-
LUCENE_VALUE
public static final int LUCENE_VALUELUCENE = 2;- See Also:
-
VAF_VALUE
public static final int VAF_VALUEVAF = 3;- See Also:
-
PQ_VALUE
public static final int PQ_VALUEPQ = 4;- See Also:
-
IVFPQ_VALUE
public static final int IVFPQ_VALUEIVFPQ = 5;- See Also:
-
LSH_VALUE
public static final int LSH_VALUELSH = 6;- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.IndexType> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
IndexType
private IndexType(int value)
-
-
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<CottontailGrpc.IndexType> 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 CottontailGrpc.IndexType 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
-