public enum SchemaType extends Enum<SchemaType> implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for this enum.
|
String |
getName()
Return the default name for this enum type.
|
int |
getOrdinal()
Return the code for this enum used for indexing based on the enum value.
|
String |
toString()
Standard toString method.
|
static SchemaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaType UNKNOWN
public static final SchemaType STRUCT
public static final SchemaType ARRAY
public static final SchemaType SET
public static SchemaType[] values()
for (SchemaType c : SchemaType.values()) System.out.println(c);
public static SchemaType 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 nullpublic int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<SchemaType>Copyright © 2018 ODPi. All rights reserved.