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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BTREEBTREE = 2;HASHHASH = 0;HASH_UQHASH_UQ = 1;LSHLSH = 6;LUCENELUCENE = 3;NONBUCKETING_SUPERBIT_LSHNONBUCKETING_SUPERBIT_LSH = 8;PQPQ = 5;SUPERBIT_LSHSUPERBIT_LSH = 7;UNRECOGNIZEDVAFVAF = 4;
-
Field Summary
Fields Modifier and Type Field Description static intBTREE_VALUEBTREE = 2;static intHASH_UQ_VALUEHASH_UQ = 1;static intHASH_VALUEHASH = 0;static intLSH_VALUELSH = 6;static intLUCENE_VALUELUCENE = 3;static intNONBUCKETING_SUPERBIT_LSH_VALUENONBUCKETING_SUPERBIT_LSH = 8;static intPQ_VALUEPQ = 5;static intSUPERBIT_LSH_VALUESUPERBIT_LSH = 7;static intVAF_VALUEVAF = 4;
-
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
-
HASH
public static final CottontailGrpc.IndexType HASH
HASH = 0;
-
HASH_UQ
public static final CottontailGrpc.IndexType HASH_UQ
HASH_UQ = 1;
-
BTREE
public static final CottontailGrpc.IndexType BTREE
BTREE = 2;
-
LUCENE
public static final CottontailGrpc.IndexType LUCENE
LUCENE = 3;
-
VAF
public static final CottontailGrpc.IndexType VAF
VAF = 4;
-
PQ
public static final CottontailGrpc.IndexType PQ
PQ = 5;
-
LSH
public static final CottontailGrpc.IndexType LSH
LSH = 6;
-
SUPERBIT_LSH
public static final CottontailGrpc.IndexType SUPERBIT_LSH
SUPERBIT_LSH = 7;
-
NONBUCKETING_SUPERBIT_LSH
public static final CottontailGrpc.IndexType NONBUCKETING_SUPERBIT_LSH
NONBUCKETING_SUPERBIT_LSH = 8;
-
UNRECOGNIZED
public static final CottontailGrpc.IndexType UNRECOGNIZED
-
-
Field Detail
-
HASH_VALUE
public static final int HASH_VALUE
HASH = 0;- See Also:
- Constant Field Values
-
HASH_UQ_VALUE
public static final int HASH_UQ_VALUE
HASH_UQ = 1;- See Also:
- Constant Field Values
-
BTREE_VALUE
public static final int BTREE_VALUE
BTREE = 2;- See Also:
- Constant Field Values
-
LUCENE_VALUE
public static final int LUCENE_VALUE
LUCENE = 3;- See Also:
- Constant Field Values
-
VAF_VALUE
public static final int VAF_VALUE
VAF = 4;- See Also:
- Constant Field Values
-
PQ_VALUE
public static final int PQ_VALUE
PQ = 5;- See Also:
- Constant Field Values
-
LSH_VALUE
public static final int LSH_VALUE
LSH = 6;- See Also:
- Constant Field Values
-
SUPERBIT_LSH_VALUE
public static final int SUPERBIT_LSH_VALUE
SUPERBIT_LSH = 7;- See Also:
- Constant Field Values
-
NONBUCKETING_SUPERBIT_LSH_VALUE
public static final int NONBUCKETING_SUPERBIT_LSH_VALUE
NONBUCKETING_SUPERBIT_LSH = 8;- 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
-
-