public static enum Schema.Field.Type extends Enum<Schema.Field.Type>
Enum Constant and Description |
---|
DECIMAL
Decimal.
|
INTEGER
Integer.
|
STRING
Plain String.
|
Modifier and Type | Method and Description |
---|---|
static Schema.Field.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schema.Field.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.Field.Type STRING
public static final Schema.Field.Type INTEGER
public static final Schema.Field.Type DECIMAL
public static Schema.Field.Type[] values()
for (Schema.Field.Type c : Schema.Field.Type.values()) System.out.println(c);
public static Schema.Field.Type 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 © 2022 Push Technology Ltd. All Rights Reserved.