public enum DataType extends Enum<DataType>
Enum Constant and Description |
---|
BIG_DECIMAL |
BOOLEAN |
DOUBLE |
FLOAT |
INT |
LIST |
LONG |
MAP |
STRING |
Modifier and Type | Field and Description |
---|---|
String |
importClass |
Modifier and Type | Method and Description |
---|---|
static DataType |
fromName(String typeName) |
String |
getImportClass() |
String |
getTypeName() |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType STRING
public static final DataType BIG_DECIMAL
public static final DataType DOUBLE
public static final DataType FLOAT
public static final DataType INT
public static final DataType LONG
public static final DataType BOOLEAN
public static final DataType LIST
public static final DataType MAP
public final String importClass
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 String getTypeName()
public String getImportClass()
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.