org.gcube.indexmanagement.common
Class FullTextIndexType

java.lang.Object
  extended by org.gcube.indexmanagement.common.IndexType
      extended by org.gcube.indexmanagement.common.FullTextIndexType

public class FullTextIndexType
extends IndexType

Representation of an index'es IndexType and IndexFormat


Field Summary
 
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
FullTextIndexType(String indexTypeName, org.gcube.common.core.scope.GCUBEScope scope)
          The CSTR of the index type
 
Method Summary
 IndexField[] getFields()
          Get the specified array of fields.
 int getNumberOfFields()
          Get the number of fields in the index type.
 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
 

Constructor Detail

FullTextIndexType

public FullTextIndexType(String indexTypeName,
                         org.gcube.common.core.scope.GCUBEScope scope)
The CSTR of the index type

Parameters:
indexTypeName - - The index type name.
Method Detail

getNumberOfFields

public int getNumberOfFields()
Get the number of fields in the index type.

Returns:
- the number of fields in the index type.

getFields

public IndexField[] getFields()
Get the specified array of fields.

Returns:
- the arrary of fields in the index type.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.