|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ForwardIndexField.DataType>
org.gcube.indexmanagement.common.ForwardIndexField.DataType
public static enum ForwardIndexField.DataType
An enumeration of accepted data types, along with their respective Class objects and default byte size
| Enum Constant Summary | |
|---|---|
DATE
The DATE data type. |
|
FLOAT
The FLOAT data type. |
|
INT
The INT data type |
|
STRING
The STRING data type. |
|
| Method Summary | |
|---|---|
static ForwardIndexField.DataType |
getByName(String name)
A case insensitive version of valueOf(String). |
int |
getDefaultSize()
Getter method for the default byte size of this data type |
Class |
getTypeClass()
Getter method for the Class object of this data type |
static ForwardIndexField.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ForwardIndexField.DataType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ForwardIndexField.DataType INT
public static final ForwardIndexField.DataType DATE
public static final ForwardIndexField.DataType FLOAT
public static final ForwardIndexField.DataType STRING
| Method Detail |
|---|
public static ForwardIndexField.DataType[] values()
for (ForwardIndexField.DataType c : ForwardIndexField.DataType.values()) System.out.println(c);
public static ForwardIndexField.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 name
NullPointerException - if the argument is null
public static ForwardIndexField.DataType getByName(String name)
throws Exception
name - - the string value to gte the type for
IndexException - - in case of failure.
Exceptionpublic Class getTypeClass()
public int getDefaultSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||