Package org.vitrivr.cottontail.grpc
Enum Class CottontailGrpc.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CottontailGrpc.Type>,Constable
- Enclosing class:
- CottontailGrpc
public static enum CottontailGrpc.Type
extends Enum<CottontailGrpc.Type>
implements com.google.protobuf.ProtocolMessageEnum
The basic data types supported by Cottontail DB columns.Protobuf enum
org.vitrivr.cottontail.grpc.Type-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBOOL_VEC = 15;Scalar types.BYTE = 1;BinaryComplex types.COMPLEX32_VEC = 16;COMPLEX64 = 10;COMPLEX64_VEC = 17;DATE = 7;DOUBLE = 6;Vector types.FLOAT = 5;FLOAT_VEC = 12;INT_VEC = 14;INTEGER = 3;LONG = 4;LONG_VEC = 13;SHORT = 2;STRING = 8; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBOOL_VEC = 15;static final intScalar types.static final intBYTE = 1;static final intBinarystatic final intComplex types.static final intCOMPLEX32_VEC = 16;static final intCOMPLEX64 = 10;static final intCOMPLEX64_VEC = 17;static final intDATE = 7;static final intDOUBLE = 6;static final intVector types.static final intFLOAT = 5;static final intFLOAT_VEC = 12;static final intINT_VEC = 14;static final intINTEGER = 3;static final intLONG = 4;static final intLONG_VEC = 13;static final intSHORT = 2;static final intSTRING = 8; -
Method Summary
Modifier and TypeMethodDescriptionstatic CottontailGrpc.TypeforNumber(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.Type>static CottontailGrpc.TypevalueOf(int value) Deprecated.static CottontailGrpc.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static CottontailGrpc.TypeReturns the enum constant of this class with the specified name.static CottontailGrpc.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Scalar types.
BOOLEAN = 0; -
BYTE
BYTE = 1; -
SHORT
SHORT = 2; -
INTEGER
INTEGER = 3; -
LONG
LONG = 4; -
FLOAT
FLOAT = 5; -
DOUBLE
DOUBLE = 6; -
DATE
DATE = 7; -
STRING
STRING = 8; -
COMPLEX32
Complex types.
COMPLEX32 = 9; -
COMPLEX64
COMPLEX64 = 10; -
DOUBLE_VEC
Vector types.
DOUBLE_VEC = 11; -
FLOAT_VEC
FLOAT_VEC = 12; -
LONG_VEC
LONG_VEC = 13; -
INT_VEC
INT_VEC = 14; -
BOOL_VEC
BOOL_VEC = 15; -
COMPLEX32_VEC
COMPLEX32_VEC = 16; -
COMPLEX64_VEC
COMPLEX64_VEC = 17; -
BYTESTRING
Binary
BYTESTRING = 18; -
UNRECOGNIZED
-
-
Field Details
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUEScalar types.
BOOLEAN = 0;- See Also:
-
BYTE_VALUE
public static final int BYTE_VALUEBYTE = 1;- See Also:
-
SHORT_VALUE
public static final int SHORT_VALUESHORT = 2;- See Also:
-
INTEGER_VALUE
public static final int INTEGER_VALUEINTEGER = 3;- See Also:
-
LONG_VALUE
public static final int LONG_VALUELONG = 4;- See Also:
-
FLOAT_VALUE
public static final int FLOAT_VALUEFLOAT = 5;- See Also:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUEDOUBLE = 6;- See Also:
-
DATE_VALUE
public static final int DATE_VALUEDATE = 7;- See Also:
-
STRING_VALUE
public static final int STRING_VALUESTRING = 8;- See Also:
-
COMPLEX32_VALUE
public static final int COMPLEX32_VALUEComplex types.
COMPLEX32 = 9;- See Also:
-
COMPLEX64_VALUE
public static final int COMPLEX64_VALUECOMPLEX64 = 10;- See Also:
-
DOUBLE_VEC_VALUE
public static final int DOUBLE_VEC_VALUEVector types.
DOUBLE_VEC = 11;- See Also:
-
FLOAT_VEC_VALUE
public static final int FLOAT_VEC_VALUEFLOAT_VEC = 12;- See Also:
-
LONG_VEC_VALUE
public static final int LONG_VEC_VALUELONG_VEC = 13;- See Also:
-
INT_VEC_VALUE
public static final int INT_VEC_VALUEINT_VEC = 14;- See Also:
-
BOOL_VEC_VALUE
public static final int BOOL_VEC_VALUEBOOL_VEC = 15;- See Also:
-
COMPLEX32_VEC_VALUE
public static final int COMPLEX32_VEC_VALUECOMPLEX32_VEC = 16;- See Also:
-
COMPLEX64_VEC_VALUE
public static final int COMPLEX64_VEC_VALUECOMPLEX64_VEC = 17;- See Also:
-
BYTESTRING_VALUE
public static final int BYTESTRING_VALUEBinary
BYTESTRING = 18;- 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
-
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
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
-