public static enum Schema.Type extends java.lang.Enum<Schema.Type>
| Enum Constant and Description |
|---|
BOOLEAN |
DATE |
DATETIME |
INT |
LONG |
PERMISSION |
SECRET |
STRING |
TIME |
| Modifier and Type | Method and Description |
|---|---|
static Schema.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Schema.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.Type STRING
public static final Schema.Type LONG
public static final Schema.Type INT
public static final Schema.Type BOOLEAN
public static final Schema.Type SECRET
public static final Schema.Type DATE
public static final Schema.Type PERMISSION
public static final Schema.Type TIME
public static final Schema.Type DATETIME
public static Schema.Type[] values()
for (Schema.Type c : Schema.Type.values()) System.out.println(c);
public static Schema.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null