枚举 Common.DataType
- java.lang.Object
-
- java.lang.Enum<Common.DataType>
-
- com.alibaba.graphscope.gaia.proto.Common.DataType
-
- 所有已实现的接口:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Common.DataType>
- 封闭类:
- Common
public static enum Common.DataType extends Enum<Common.DataType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcommon.DataType
-
-
枚举常量概要
枚举常量 枚举常量 说明 BOOLEANBOOLEAN = 0;BYTESBYTES = 5;DATE32DATE32 = 12;DOUBLEDOUBLE = 3;DOUBLE_ARRAYDOUBLE_ARRAY = 8;INT32INT32 = 1;INT32_ARRAYINT32_ARRAY = 6;INT64INT64 = 2;INT64_ARRAYINT64_ARRAY = 7;NONENONE = 11;PAIR_ARRAYPAIR_ARRAY = 10;STRINGSTRING = 4;STRING_ARRAYSTRING_ARRAY = 9;TIME32TIME32 = 13;TIMESTAMPTIMESTAMP = 14;UNRECOGNIZED
-
字段概要
字段 修饰符和类型 字段 说明 static intBOOLEAN_VALUEBOOLEAN = 0;static intBYTES_VALUEBYTES = 5;static intDATE32_VALUEDATE32 = 12;static intDOUBLE_ARRAY_VALUEDOUBLE_ARRAY = 8;static intDOUBLE_VALUEDOUBLE = 3;static intINT32_ARRAY_VALUEINT32_ARRAY = 6;static intINT32_VALUEINT32 = 1;static intINT64_ARRAY_VALUEINT64_ARRAY = 7;static intINT64_VALUEINT64 = 2;static intNONE_VALUENONE = 11;static intPAIR_ARRAY_VALUEPAIR_ARRAY = 10;static intSTRING_ARRAY_VALUESTRING_ARRAY = 9;static intSTRING_VALUESTRING = 4;static intTIME32_VALUETIME32 = 13;static intTIMESTAMP_VALUETIMESTAMP = 14;
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static Common.DataTypeforNumber(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<Common.DataType>internalGetValueMap()static Common.DataTypevalueOf(int value)已过时。static Common.DataTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)返回带有指定名称的该类型的枚举常量。static Common.DataTypevalueOf(String name)返回带有指定名称的该类型的枚举常量。static Common.DataType[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
BOOLEAN
public static final Common.DataType BOOLEAN
BOOLEAN = 0;
-
INT32
public static final Common.DataType INT32
INT32 = 1;
-
INT64
public static final Common.DataType INT64
INT64 = 2;
-
DOUBLE
public static final Common.DataType DOUBLE
DOUBLE = 3;
-
STRING
public static final Common.DataType STRING
STRING = 4;
-
BYTES
public static final Common.DataType BYTES
BYTES = 5;
-
INT32_ARRAY
public static final Common.DataType INT32_ARRAY
INT32_ARRAY = 6;
-
INT64_ARRAY
public static final Common.DataType INT64_ARRAY
INT64_ARRAY = 7;
-
DOUBLE_ARRAY
public static final Common.DataType DOUBLE_ARRAY
DOUBLE_ARRAY = 8;
-
STRING_ARRAY
public static final Common.DataType STRING_ARRAY
STRING_ARRAY = 9;
-
PAIR_ARRAY
public static final Common.DataType PAIR_ARRAY
PAIR_ARRAY = 10;
-
NONE
public static final Common.DataType NONE
NONE = 11;
-
DATE32
public static final Common.DataType DATE32
DATE32 = 12;
-
TIME32
public static final Common.DataType TIME32
TIME32 = 13;
-
TIMESTAMP
public static final Common.DataType TIMESTAMP
TIMESTAMP = 14;
-
UNRECOGNIZED
public static final Common.DataType UNRECOGNIZED
-
-
字段详细资料
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUE
BOOLEAN = 0;- 另请参阅:
- 常量字段值
-
INT32_VALUE
public static final int INT32_VALUE
INT32 = 1;- 另请参阅:
- 常量字段值
-
INT64_VALUE
public static final int INT64_VALUE
INT64 = 2;- 另请参阅:
- 常量字段值
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
DOUBLE = 3;- 另请参阅:
- 常量字段值
-
STRING_VALUE
public static final int STRING_VALUE
STRING = 4;- 另请参阅:
- 常量字段值
-
BYTES_VALUE
public static final int BYTES_VALUE
BYTES = 5;- 另请参阅:
- 常量字段值
-
INT32_ARRAY_VALUE
public static final int INT32_ARRAY_VALUE
INT32_ARRAY = 6;- 另请参阅:
- 常量字段值
-
INT64_ARRAY_VALUE
public static final int INT64_ARRAY_VALUE
INT64_ARRAY = 7;- 另请参阅:
- 常量字段值
-
DOUBLE_ARRAY_VALUE
public static final int DOUBLE_ARRAY_VALUE
DOUBLE_ARRAY = 8;- 另请参阅:
- 常量字段值
-
STRING_ARRAY_VALUE
public static final int STRING_ARRAY_VALUE
STRING_ARRAY = 9;- 另请参阅:
- 常量字段值
-
PAIR_ARRAY_VALUE
public static final int PAIR_ARRAY_VALUE
PAIR_ARRAY = 10;- 另请参阅:
- 常量字段值
-
NONE_VALUE
public static final int NONE_VALUE
NONE = 11;- 另请参阅:
- 常量字段值
-
DATE32_VALUE
public static final int DATE32_VALUE
DATE32 = 12;- 另请参阅:
- 常量字段值
-
TIME32_VALUE
public static final int TIME32_VALUE
TIME32 = 13;- 另请参阅:
- 常量字段值
-
TIMESTAMP_VALUE
public static final int TIMESTAMP_VALUE
TIMESTAMP = 14;- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
values
public static Common.DataType[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (Common.DataType c : Common.DataType.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static Common.DataType valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getNumber
public final int getNumber()
- 指定者:
getNumber在接口中com.google.protobuf.Internal.EnumLite- 指定者:
getNumber在接口中com.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Common.DataType valueOf(int value)
已过时。返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
value- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
forNumber
public static Common.DataType forNumber(int value)
- 参数:
value- The numeric wire value of the corresponding enum entry.- 返回:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Common.DataType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- 指定者:
getValueDescriptor在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Common.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
desc- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
-