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_VECTOR = 34;Scalar types.BYTE = 1;BLOB typesStruct types.COMPLEX32_VECTOR = 35;COMPLEX64 = 21;COMPLEX64_VECTOR = 36;DATE = 7;DOUBLE = 6;Vector types.FLOAT = 5;FLOAT_VECTOR = 31;HALF_VECTOR = 38;INT_VECTOR = 33;INTEGER = 3;LONG = 4;LONG_VECTOR = 32;SHORT = 2;SHORT_VECTOR = 37;STRING = 8;UUID = 9; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBOOL_VECTOR = 34;static final intScalar types.static final intBYTE = 1;static final intBLOB typesstatic final intStruct types.static final intCOMPLEX32_VECTOR = 35;static final intCOMPLEX64 = 21;static final intCOMPLEX64_VECTOR = 36;static final intDATE = 7;static final intDOUBLE = 6;static final intVector types.static final intFLOAT = 5;static final intFLOAT_VECTOR = 31;static final intHALF_VECTOR = 38;static final intINT_VECTOR = 33;static final intINTEGER = 3;private static final com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.Type>static final intLONG = 4;static final intLONG_VECTOR = 32;static final intSHORT = 2;static final intSHORT_VECTOR = 37;static final intSTRING = 8;static final intUUID = 9;private final intprivate static final CottontailGrpc.Type[] -
Constructor Summary
Constructors -
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; -
UUID
UUID = 9; -
COMPLEX32
Struct types.
COMPLEX32 = 20; -
COMPLEX64
COMPLEX64 = 21; -
DOUBLE_VECTOR
Vector types.
DOUBLE_VECTOR = 30; -
FLOAT_VECTOR
FLOAT_VECTOR = 31; -
LONG_VECTOR
LONG_VECTOR = 32; -
INT_VECTOR
INT_VECTOR = 33; -
BOOL_VECTOR
BOOL_VECTOR = 34; -
COMPLEX32_VECTOR
COMPLEX32_VECTOR = 35; -
COMPLEX64_VECTOR
COMPLEX64_VECTOR = 36; -
SHORT_VECTOR
SHORT_VECTOR = 37; -
HALF_VECTOR
HALF_VECTOR = 38; -
BYTESTRING
BLOB types
BYTESTRING = 50; -
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:
-
UUID_VALUE
public static final int UUID_VALUEUUID = 9;- See Also:
-
COMPLEX32_VALUE
public static final int COMPLEX32_VALUEStruct types.
COMPLEX32 = 20;- See Also:
-
COMPLEX64_VALUE
public static final int COMPLEX64_VALUECOMPLEX64 = 21;- See Also:
-
DOUBLE_VECTOR_VALUE
public static final int DOUBLE_VECTOR_VALUEVector types.
DOUBLE_VECTOR = 30;- See Also:
-
FLOAT_VECTOR_VALUE
public static final int FLOAT_VECTOR_VALUEFLOAT_VECTOR = 31;- See Also:
-
LONG_VECTOR_VALUE
public static final int LONG_VECTOR_VALUELONG_VECTOR = 32;- See Also:
-
INT_VECTOR_VALUE
public static final int INT_VECTOR_VALUEINT_VECTOR = 33;- See Also:
-
BOOL_VECTOR_VALUE
public static final int BOOL_VECTOR_VALUEBOOL_VECTOR = 34;- See Also:
-
COMPLEX32_VECTOR_VALUE
public static final int COMPLEX32_VECTOR_VALUECOMPLEX32_VECTOR = 35;- See Also:
-
COMPLEX64_VECTOR_VALUE
public static final int COMPLEX64_VECTOR_VALUECOMPLEX64_VECTOR = 36;- See Also:
-
SHORT_VECTOR_VALUE
public static final int SHORT_VECTOR_VALUESHORT_VECTOR = 37;- See Also:
-
HALF_VECTOR_VALUE
public static final int HALF_VECTOR_VALUEHALF_VECTOR = 38;- See Also:
-
BYTESTRING_VALUE
public static final int BYTESTRING_VALUEBLOB types
BYTESTRING = 50;- See Also:
-
internalValueMap
-
VALUES
-
value
private final int value
-
-
Constructor Details
-
Type
private Type(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
-
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
-