public static enum GeoIndexField.DataType extends Enum<GeoIndexField.DataType>
| Enum Constant and Description |
|---|
DATE
The DATE data type.
|
DOUBLE
The DOUBLE data type.
|
FLOAT
The FLOAT data type.
|
INT
The INT data type
|
LONG
The LONG data type.
|
SHORT
The short data type.
|
STRING
The STRING data type.
|
| Modifier and Type | Method and Description |
|---|---|
static GeoIndexField.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 GeoIndexField.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoIndexField.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoIndexField.DataType SHORT
public static final GeoIndexField.DataType INT
public static final GeoIndexField.DataType LONG
public static final GeoIndexField.DataType DATE
public static final GeoIndexField.DataType FLOAT
public static final GeoIndexField.DataType DOUBLE
public static final GeoIndexField.DataType STRING
public static GeoIndexField.DataType[] values()
for (GeoIndexField.DataType c : GeoIndexField.DataType.values()) System.out.println(c);
public static GeoIndexField.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 static GeoIndexField.DataType getByName(String name) throws Exception
name - - the string value to gte the type forIndexException - - in case of failure.Exceptionpublic Class getTypeClass()
public int getDefaultSize()
Copyright © 2014. All Rights Reserved.