public class GeoIndexType extends IndexType
| Modifier and Type | Field and Description |
|---|---|
GeoIndexField[] |
fields
The fields of this GeoIndexType
|
int |
nrOfFields
The number of fields of this GeoIndexType
|
int |
size
The accumulated size of all the fields of this GeoIndexType
|
APXCOUNT, COLLECTION_FIELD, DOCID_FIELD, DOCNR, GEODEFAULT, GEOFIELD, indexType, indexTypeID, LANGUAGE_FIELD, MBR, PAYLOAD_FIELD, PRESENTABLE_TAG, RATIO, RESULTSNO_EVENT, RESULTSNOFINAL_EVENT, SCORE_FIELD, SEARCHABLE_TAG, SEPERATOR_FIELD_INFO, SNIPPET, STATS_FIELD, WILDCARD| Constructor and Description |
|---|
GeoIndexType(String indexTypeName,
org.gcube.common.core.scope.GCUBEScope scope)
Standard constructor which build a GeoIndexType object from a String
containing a GeoIndexType xml document
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsField(String fieldName,
GeoIndexField.DataType fieldDataType)
A Method to check if this GeoIndexType object contains a certain field
|
Integer |
getFieldPosition(String fieldName)
A Method to get the position of a field from the field name
|
String |
toString() |
getIndexTypeAsString, getIndexTypeName, retrieveIndexTypeGenericResource, sendIndicationpublic GeoIndexField[] fields
public int nrOfFields
public int size
public GeoIndexType(String indexTypeName, org.gcube.common.core.scope.GCUBEScope scope)
indexTypeName - -
The name to assign to the GeoIndexTypeindexType - -
An xml representation of the indextypepublic boolean containsField(String fieldName, GeoIndexField.DataType fieldDataType)
fieldName - -
The name of the field to look forfieldDataType - -
The DataType of the field to look forpublic Integer getFieldPosition(String fieldName)
fieldName - -
The name of the field to get the position ofCopyright © 2014. All Rights Reserved.