public static enum DataType.Kind extends Enum<DataType.Kind>
| Enum Constant and Description |
|---|
MAP
Type is a
DataType.MapType. |
NAMED
Type is a
DataType.NamedType. |
SCALAR
Type is a
DataType.ScalarType. |
| Modifier and Type | Method and Description |
|---|---|
static DataType.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType.Kind SCALAR
DataType.ScalarType.public static final DataType.Kind MAP
DataType.MapType.public static final DataType.Kind NAMED
DataType.NamedType.public static DataType.Kind[] values()
for (DataType.Kind c : DataType.Kind.values()) System.out.println(c);
public static DataType.Kind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015 Square, Inc.. All Rights Reserved.