Package com.alibaba.graphscope.context
Enum ContextDataType
- java.lang.Object
-
- java.lang.Enum<ContextDataType>
-
- com.alibaba.graphscope.context.ContextDataType
-
- All Implemented Interfaces:
com.alibaba.fastffi.CXXEnum
,FFIType
,Serializable
,Comparable<ContextDataType>
public enum ContextDataType extends Enum<ContextDataType> implements com.alibaba.fastffi.CXXEnum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContextDataType
get(int value)
int
getValue()
static ContextDataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContextDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
kBool
public static final ContextDataType kBool
-
kInt32
public static final ContextDataType kInt32
-
kInt64
public static final ContextDataType kInt64
-
kUInt32
public static final ContextDataType kUInt32
-
kUInt64
public static final ContextDataType kUInt64
-
kFloat
public static final ContextDataType kFloat
-
kDouble
public static final ContextDataType kDouble
-
kString
public static final ContextDataType kString
-
kUndefined
public static final ContextDataType kUndefined
-
-
Method Detail
-
values
public static ContextDataType[] 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 (ContextDataType c : ContextDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContextDataType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static ContextDataType get(int value)
-
getValue
public int getValue()
- Specified by:
getValue
in interfacecom.alibaba.fastffi.CXXEnum
-
-