|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.common.IndexType
org.gcube.indexmanagement.geo.GeoIndexType
public class GeoIndexType
A Java object representation of the GeoIndexType
| Field Summary | |
|---|---|
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 |
| Fields inherited from class org.gcube.indexmanagement.common.IndexType |
|---|
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 Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.gcube.indexmanagement.common.IndexType |
|---|
getIndexTypeAsString, getIndexTypeName, retrieveIndexTypeGenericResource, sendIndication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public GeoIndexField[] fields
public int nrOfFields
public int size
| Constructor Detail |
|---|
public GeoIndexType(String indexTypeName,
org.gcube.common.core.scope.GCUBEScope scope)
indexTypeName - -
The name to assign to the GeoIndexTypeindexType - -
An xml representation of the indextype| Method Detail |
|---|
public boolean containsField(String fieldName,
GeoIndexField.DataType fieldDataType)
fieldName - -
The name of the field to look forfieldDataType - -
The DataType of the field to look for
public Integer getFieldPosition(String fieldName)
fieldName - -
The name of the field to get the position of
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||