Package org.vitrivr.cottontail.grpc
Enum CottontailGrpc.IndexType
- java.lang.Object
-
- java.lang.Enum<CottontailGrpc.IndexType>
-
- org.vitrivr.cottontail.grpc.CottontailGrpc.IndexType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CottontailGrpc.IndexType>
- Enclosing class:
- CottontailGrpc
public static enum CottontailGrpc.IndexType extends java.lang.Enum<CottontailGrpc.IndexType> implements com.google.protobuf.ProtocolMessageEnum
Type of index.
Protobuf enumorg.vitrivr.cottontail.grpc.IndexType
-
-
Field Summary
Fields Modifier and Type Field Description static intBTREE_UQ_VALUEBTREE_UQ = 1;static intBTREE_VALUEBTREE = 0;static intLSH_VALUELSH = 5;static intLUCENE_VALUELUCENE = 2;static intPQ_VALUEPQ = 4;static intVAF_VALUEVAF = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CottontailGrpc.IndexTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.IndexType>internalGetValueMap()static CottontailGrpc.IndexTypevalueOf(int value)Deprecated.static CottontailGrpc.IndexTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CottontailGrpc.IndexTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CottontailGrpc.IndexType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BTREE
public static final CottontailGrpc.IndexType BTREE
BTREE = 0;
-
BTREE_UQ
public static final CottontailGrpc.IndexType BTREE_UQ
BTREE_UQ = 1;
-
LUCENE
public static final CottontailGrpc.IndexType LUCENE
LUCENE = 2;
-
VAF
public static final CottontailGrpc.IndexType VAF
VAF = 3;
-
PQ
public static final CottontailGrpc.IndexType PQ
PQ = 4;
-
LSH
public static final CottontailGrpc.IndexType LSH
LSH = 5;
-
UNRECOGNIZED
public static final CottontailGrpc.IndexType UNRECOGNIZED
-
-
Field Detail
-
BTREE_VALUE
public static final int BTREE_VALUE
BTREE = 0;- See Also:
- Constant Field Values
-
BTREE_UQ_VALUE
public static final int BTREE_UQ_VALUE
BTREE_UQ = 1;- See Also:
- Constant Field Values
-
LUCENE_VALUE
public static final int LUCENE_VALUE
LUCENE = 2;- See Also:
- Constant Field Values
-
VAF_VALUE
public static final int VAF_VALUE
VAF = 3;- See Also:
- Constant Field Values
-
PQ_VALUE
public static final int PQ_VALUE
PQ = 4;- See Also:
- Constant Field Values
-
LSH_VALUE
public static final int LSH_VALUE
LSH = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CottontailGrpc.IndexType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CottontailGrpc.IndexType c : CottontailGrpc.IndexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CottontailGrpc.IndexType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 public static CottontailGrpc.IndexType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static CottontailGrpc.IndexType forNumber(int value)
- 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-