Package org.vitrivr.cottontail.grpc
Enum CottontailGrpc.Type
- java.lang.Object
-
- java.lang.Enum<CottontailGrpc.Type>
-
- org.vitrivr.cottontail.grpc.CottontailGrpc.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CottontailGrpc.Type>
- Enclosing class:
- CottontailGrpc
public static enum CottontailGrpc.Type extends java.lang.Enum<CottontailGrpc.Type> implements com.google.protobuf.ProtocolMessageEnum
The basic data types supported by Cottontail DB columns.
Protobuf enumorg.vitrivr.cottontail.grpc.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOBBLOB = 17;BOOL_VECBOOL_VEC = 12;BOOLEANBOOLEAN = 0;BYTEBYTE = 1;COMPLEX32COMPLEX32 = 13;COMPLEX32_VECCOMPLEX32_VEC = 15;COMPLEX64COMPLEX64 = 14;COMPLEX64_VECCOMPLEX64_VEC = 16;DOUBLEDOUBLE = 6;DOUBLE_VECDOUBLE_VEC = 8;FLOATFLOAT = 5;FLOAT_VECFLOAT_VEC = 9;INT_VECINT_VEC = 11;INTEGERINTEGER = 3;LONGLONG = 4;LONG_VECLONG_VEC = 10;SHORTSHORT = 2;STRINGSTRING = 7;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBLOB_VALUEBLOB = 17;static intBOOL_VEC_VALUEBOOL_VEC = 12;static intBOOLEAN_VALUEBOOLEAN = 0;static intBYTE_VALUEBYTE = 1;static intCOMPLEX32_VALUECOMPLEX32 = 13;static intCOMPLEX32_VEC_VALUECOMPLEX32_VEC = 15;static intCOMPLEX64_VALUECOMPLEX64 = 14;static intCOMPLEX64_VEC_VALUECOMPLEX64_VEC = 16;static intDOUBLE_VALUEDOUBLE = 6;static intDOUBLE_VEC_VALUEDOUBLE_VEC = 8;static intFLOAT_VALUEFLOAT = 5;static intFLOAT_VEC_VALUEFLOAT_VEC = 9;static intINT_VEC_VALUEINT_VEC = 11;static intINTEGER_VALUEINTEGER = 3;static intLONG_VALUELONG = 4;static intLONG_VEC_VALUELONG_VEC = 10;static intSHORT_VALUESHORT = 2;static intSTRING_VALUESTRING = 7;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CottontailGrpc.TypeforNumber(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.Type>internalGetValueMap()static CottontailGrpc.TypevalueOf(int value)Deprecated.static CottontailGrpc.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CottontailGrpc.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CottontailGrpc.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final CottontailGrpc.Type BOOLEAN
BOOLEAN = 0;
-
BYTE
public static final CottontailGrpc.Type BYTE
BYTE = 1;
-
SHORT
public static final CottontailGrpc.Type SHORT
SHORT = 2;
-
INTEGER
public static final CottontailGrpc.Type INTEGER
INTEGER = 3;
-
LONG
public static final CottontailGrpc.Type LONG
LONG = 4;
-
FLOAT
public static final CottontailGrpc.Type FLOAT
FLOAT = 5;
-
DOUBLE
public static final CottontailGrpc.Type DOUBLE
DOUBLE = 6;
-
STRING
public static final CottontailGrpc.Type STRING
STRING = 7;
-
DOUBLE_VEC
public static final CottontailGrpc.Type DOUBLE_VEC
DOUBLE_VEC = 8;
-
FLOAT_VEC
public static final CottontailGrpc.Type FLOAT_VEC
FLOAT_VEC = 9;
-
LONG_VEC
public static final CottontailGrpc.Type LONG_VEC
LONG_VEC = 10;
-
INT_VEC
public static final CottontailGrpc.Type INT_VEC
INT_VEC = 11;
-
BOOL_VEC
public static final CottontailGrpc.Type BOOL_VEC
BOOL_VEC = 12;
-
COMPLEX32
public static final CottontailGrpc.Type COMPLEX32
COMPLEX32 = 13;
-
COMPLEX64
public static final CottontailGrpc.Type COMPLEX64
COMPLEX64 = 14;
-
COMPLEX32_VEC
public static final CottontailGrpc.Type COMPLEX32_VEC
COMPLEX32_VEC = 15;
-
COMPLEX64_VEC
public static final CottontailGrpc.Type COMPLEX64_VEC
COMPLEX64_VEC = 16;
-
BLOB
public static final CottontailGrpc.Type BLOB
BLOB = 17;
-
UNRECOGNIZED
public static final CottontailGrpc.Type UNRECOGNIZED
-
-
Field Detail
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUE
BOOLEAN = 0;- See Also:
- Constant Field Values
-
BYTE_VALUE
public static final int BYTE_VALUE
BYTE = 1;- See Also:
- Constant Field Values
-
SHORT_VALUE
public static final int SHORT_VALUE
SHORT = 2;- See Also:
- Constant Field Values
-
INTEGER_VALUE
public static final int INTEGER_VALUE
INTEGER = 3;- See Also:
- Constant Field Values
-
LONG_VALUE
public static final int LONG_VALUE
LONG = 4;- See Also:
- Constant Field Values
-
FLOAT_VALUE
public static final int FLOAT_VALUE
FLOAT = 5;- See Also:
- Constant Field Values
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
DOUBLE = 6;- See Also:
- Constant Field Values
-
STRING_VALUE
public static final int STRING_VALUE
STRING = 7;- See Also:
- Constant Field Values
-
DOUBLE_VEC_VALUE
public static final int DOUBLE_VEC_VALUE
DOUBLE_VEC = 8;- See Also:
- Constant Field Values
-
FLOAT_VEC_VALUE
public static final int FLOAT_VEC_VALUE
FLOAT_VEC = 9;- See Also:
- Constant Field Values
-
LONG_VEC_VALUE
public static final int LONG_VEC_VALUE
LONG_VEC = 10;- See Also:
- Constant Field Values
-
INT_VEC_VALUE
public static final int INT_VEC_VALUE
INT_VEC = 11;- See Also:
- Constant Field Values
-
BOOL_VEC_VALUE
public static final int BOOL_VEC_VALUE
BOOL_VEC = 12;- See Also:
- Constant Field Values
-
COMPLEX32_VALUE
public static final int COMPLEX32_VALUE
COMPLEX32 = 13;- See Also:
- Constant Field Values
-
COMPLEX64_VALUE
public static final int COMPLEX64_VALUE
COMPLEX64 = 14;- See Also:
- Constant Field Values
-
COMPLEX32_VEC_VALUE
public static final int COMPLEX32_VEC_VALUE
COMPLEX32_VEC = 15;- See Also:
- Constant Field Values
-
COMPLEX64_VEC_VALUE
public static final int COMPLEX64_VEC_VALUE
COMPLEX64_VEC = 16;- See Also:
- Constant Field Values
-
BLOB_VALUE
public static final int BLOB_VALUE
BLOB = 17;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CottontailGrpc.Type[] 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.Type c : CottontailGrpc.Type.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.Type 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.Type 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.Type 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.Type> 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.Type 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
-
-