public static enum TypeDescription.Category extends Enum<TypeDescription.Category>
Enum Constant and Description |
---|
BINARY |
BOOLEAN |
BYTE |
CHAR |
DATE |
DECIMAL |
DOUBLE |
FLOAT |
INT |
LIST |
LONG |
MAP |
SHORT |
STRING |
STRUCT |
TIMESTAMP |
UNION |
VARCHAR |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
boolean |
isPrimitive() |
static TypeDescription.Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeDescription.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeDescription.Category BOOLEAN
public static final TypeDescription.Category BYTE
public static final TypeDescription.Category SHORT
public static final TypeDescription.Category INT
public static final TypeDescription.Category LONG
public static final TypeDescription.Category FLOAT
public static final TypeDescription.Category DOUBLE
public static final TypeDescription.Category STRING
public static final TypeDescription.Category DATE
public static final TypeDescription.Category TIMESTAMP
public static final TypeDescription.Category BINARY
public static final TypeDescription.Category DECIMAL
public static final TypeDescription.Category VARCHAR
public static final TypeDescription.Category CHAR
public static final TypeDescription.Category LIST
public static final TypeDescription.Category MAP
public static final TypeDescription.Category STRUCT
public static final TypeDescription.Category UNION
public static TypeDescription.Category[] values()
for (TypeDescription.Category c : TypeDescription.Category.values()) System.out.println(c);
public static TypeDescription.Category 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 boolean isPrimitive()
public String getName()
Copyright © 2016 The Apache Software Foundation. All rights reserved.