Package io.dingodb.common
Enum Class Common.ScalarFieldType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Common.ScalarFieldType>,Constable
- Enclosing class:
- Common
public static enum Common.ScalarFieldType
extends Enum<Common.ScalarFieldType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
dingodb.pb.common.ScalarFieldType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionnot used nowfor document only, is binary data, no tokenizer is used, not implemented now, will be used in the nearfor document only, datetime values must be provided in rfc3339 format, such as 1970-01-01T00:00:00Zfor vector and documentnot used nownot used nownot used nowfor vector and documentnot used nowjust a placeholderfor vector is string, for document is text with tokenizer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intnot used nowstatic final intfor document only, is binary data, no tokenizer is used, not implemented now, will be used in the nearstatic final intfor document only, datetime values must be provided in rfc3339 format, such as 1970-01-01T00:00:00Zstatic final intfor vector and documentstatic final intnot used nowstatic final intnot used nowstatic final intnot used nowstatic final intfor vector and documentstatic final intnot used nowstatic final intjust a placeholderstatic final intfor vector is string, for document is text with tokenizer -
Method Summary
Modifier and TypeMethodDescriptionstatic Common.ScalarFieldTypeforNumber(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<Common.ScalarFieldType>static Common.ScalarFieldTypevalueOf(int value) Deprecated.static Common.ScalarFieldTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Common.ScalarFieldTypeReturns the enum constant of this class with the specified name.static Common.ScalarFieldType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
just a placeholder
NONE = 0; -
BOOL
not used now
BOOL = 1; -
INT8
not used now
INT8 = 2; -
INT16
not used now
INT16 = 3; -
INT32
not used now
INT32 = 4; -
INT64
for vector and document
INT64 = 5; -
FLOAT32
not used now
FLOAT32 = 6; -
DOUBLE
for vector and document
DOUBLE = 7; -
STRING
for vector is string, for document is text with tokenizer
STRING = 8; -
BYTES
for document only, is binary data, no tokenizer is used, not implemented now, will be used in the near
BYTES = 9; -
DATETIME
for document only, datetime values must be provided in rfc3339 format, such as 1970-01-01T00:00:00Z
DATETIME = 10; -
UNRECOGNIZED
-
-
Field Details
-
NONE_VALUE
public static final int NONE_VALUEjust a placeholder
NONE = 0;- See Also:
-
BOOL_VALUE
public static final int BOOL_VALUEnot used now
BOOL = 1;- See Also:
-
INT8_VALUE
public static final int INT8_VALUEnot used now
INT8 = 2;- See Also:
-
INT16_VALUE
public static final int INT16_VALUEnot used now
INT16 = 3;- See Also:
-
INT32_VALUE
public static final int INT32_VALUEnot used now
INT32 = 4;- See Also:
-
INT64_VALUE
public static final int INT64_VALUEfor vector and document
INT64 = 5;- See Also:
-
FLOAT32_VALUE
public static final int FLOAT32_VALUEnot used now
FLOAT32 = 6;- See Also:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUEfor vector and document
DOUBLE = 7;- See Also:
-
STRING_VALUE
public static final int STRING_VALUEfor vector is string, for document is text with tokenizer
STRING = 8;- See Also:
-
BYTES_VALUE
public static final int BYTES_VALUEfor document only, is binary data, no tokenizer is used, not implemented now, will be used in the near
BYTES = 9;- See Also:
-
DATETIME_VALUE
public static final int DATETIME_VALUEfor document only, datetime values must be provided in rfc3339 format, such as 1970-01-01T00:00:00Z
DATETIME = 10;- 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
public static com.google.protobuf.Internal.EnumLiteMap<Common.ScalarFieldType> 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 Common.ScalarFieldType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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
-