public class GeoIndexField extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoIndexField.DataType
An enumeration of accepted data types, along with their respective Class
objects and default byte size
|
| Modifier and Type | Field and Description |
|---|---|
GeoIndexField.DataType |
dataType
The data type of the field
|
boolean |
isReturnable
An indicator of whether the field is returnable (to be returned from a
query)
|
boolean |
isVariable
An indicator of whether the size of this field is variable,
and we can NOT store it directly to the R-tree of geo-tools
|
String |
name
The name of the field
|
int |
size
The byte size of the field
|
| Constructor and Description |
|---|
GeoIndexField()
Empty constructor.
|
GeoIndexField(String name,
boolean isReturnable,
GeoIndexField.DataType dataType)
Constructor setting all field attributes.
|
GeoIndexField(String name,
boolean isReturnable,
int stringDataTypeSize)
Constructor setting all field attributes.
|
public String name
public boolean isVariable
public boolean isReturnable
public int size
public GeoIndexField.DataType dataType
public GeoIndexField()
public GeoIndexField(String name, boolean isReturnable, GeoIndexField.DataType dataType)
name - -
The name of the field to be createdisReturnable - -
An indicator of whether the field to be created is returnable
(form a query)dataType - -
The data type of the field to be createdpublic GeoIndexField(String name, boolean isReturnable, int stringDataTypeSize)
name - -
The name of the field to be createdisReturnable - -
An indicator of whether the field to be created is returnable
(form a query)stringDataTypeSize - -
The byte size of the field to be createdCopyright © 2014. All Rights Reserved.