public static enum Schema.SchemaType extends java.lang.Enum<Schema.SchemaType>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
INTEGER |
NUMBER |
OBJECT |
STRING |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Schema.SchemaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Schema.SchemaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.SchemaType INTEGER
public static final Schema.SchemaType NUMBER
public static final Schema.SchemaType BOOLEAN
public static final Schema.SchemaType STRING
public static final Schema.SchemaType OBJECT
public static final Schema.SchemaType ARRAY
public static Schema.SchemaType[] values()
for (Schema.SchemaType c : Schema.SchemaType.values()) System.out.println(c);
public static Schema.SchemaType 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Schema.SchemaType>