gate.creole.ir
Interface IndexedCorpus

All Superinterfaces:
Collection, Corpus, FeatureBearer, LanguageResource, List, NameBearer, Resource, Serializable
All Known Implementing Classes:
SerialCorpusImpl

public interface IndexedCorpus
extends Corpus


Field Summary
 
Fields inherited from interface gate.Corpus
CORPUS_DOCLIST_PARAMETER_NAME, CORPUS_NAME_PARAMETER_NAME
 
Method Summary
 IndexDefinition getIndexDefinition()
           
 IndexManager getIndexManager()
           
 IndexStatistics getIndexStatistics()
           
 void setIndexDefinition(IndexDefinition definition)
          Sets the definition to this corpus.
 
Methods inherited from interface gate.Corpus
addCorpusListener, getDocumentName, getDocumentNames, isDocumentLoaded, populate, removeCorpusListener, unloadDocument
 
Methods inherited from interface gate.LanguageResource
getDataStore, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync
 
Methods inherited from interface gate.Resource
cleanup, getParameterValue, init, setParameterValue, setParameterValues
 
Methods inherited from interface gate.util.FeatureBearer
getFeatures, setFeatures
 
Methods inherited from interface gate.util.NameBearer
getName, setName
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

setIndexDefinition

public void setIndexDefinition(IndexDefinition definition)
Sets the definition to this corpus.

Parameters:
definition - of index for this corpus

getIndexDefinition

public IndexDefinition getIndexDefinition()
Returns:
IndexDefinition definition of index for this corpus.

getIndexManager

public IndexManager getIndexManager()
Returns:
IndexManager manager object for this corpus. It creates after seting of IndexDefinition by indexType property.

getIndexStatistics

public IndexStatistics getIndexStatistics()
Returns:
IndexStatistics statistics for this index.