Package com.yandex.ydb.table.values
Enum Type.Kind
- java.lang.Object
-
- java.lang.Enum<Type.Kind>
-
- com.yandex.ydb.table.values.Type.Kind
-
- All Implemented Interfaces:
Serializable,Comparable<Type.Kind>
- Enclosing interface:
- Type
public static enum Type.Kind extends Enum<Type.Kind>
KIND
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Type.KindvalueOf(String name)Returns the enum constant of this type with the specified name.static Type.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIMITIVE
public static final Type.Kind PRIMITIVE
-
DECIMAL
public static final Type.Kind DECIMAL
-
OPTIONAL
public static final Type.Kind OPTIONAL
-
LIST
public static final Type.Kind LIST
-
TUPLE
public static final Type.Kind TUPLE
-
STRUCT
public static final Type.Kind STRUCT
-
DICT
public static final Type.Kind DICT
-
VARIANT
public static final Type.Kind VARIANT
-
VOID
public static final Type.Kind VOID
-
-
Method Detail
-
values
public static Type.Kind[] 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 (Type.Kind c : Type.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Type.Kind 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
-
-