gate.creole.ir
Class DefaultIndexDefinition

java.lang.Object
  extended by gate.creole.ir.DefaultIndexDefinition
All Implemented Interfaces:
IndexDefinition, Serializable

public class DefaultIndexDefinition
extends Object
implements IndexDefinition

See Also:
Serialized Form

Constructor Summary
DefaultIndexDefinition()
           
 
Method Summary
 void addIndexField(IndexField fld)
          Add new IndexField object to fields list.
 String getAnnotationSetName()
           
 String getBaseTokenAnnotationType()
           
 ArrayList getFeaturesToExclude()
           
 Iterator getIndexFields()
           
 String getIndexLocation()
           
 String getIrEngineClassName()
          Gets the fully qualified class name for the IR engine to be used.
 void setAnnotationSetName(String annotSetName)
           
 void setBaseTokenAnnotationType(String baseTokenAnnotationType)
           
 void setFeaturesToExclude(ArrayList featuresToExclude)
           
 void setIndexLocation(String location)
          Sets the location of index
 void setIrEngineClassName(String irEngineClassName)
          Sets the fully qualified class name for the IR engine to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultIndexDefinition

public DefaultIndexDefinition()
Method Detail

setIndexLocation

public void setIndexLocation(String location)
Sets the location of index

Parameters:
location - - index directory path

getIndexLocation

public String getIndexLocation()
Specified by:
getIndexLocation in interface IndexDefinition
Returns:
String path of index store directory

setFeaturesToExclude

public void setFeaturesToExclude(ArrayList featuresToExclude)

getFeaturesToExclude

public ArrayList getFeaturesToExclude()

setAnnotationSetName

public void setAnnotationSetName(String annotSetName)

getAnnotationSetName

public String getAnnotationSetName()

setBaseTokenAnnotationType

public void setBaseTokenAnnotationType(String baseTokenAnnotationType)

getBaseTokenAnnotationType

public String getBaseTokenAnnotationType()

getIndexFields

public Iterator getIndexFields()
Specified by:
getIndexFields in interface IndexDefinition
Returns:
Iterator of IndexFields, fileds for indexing.

addIndexField

public void addIndexField(IndexField fld)
Add new IndexField object to fields list.


setIrEngineClassName

public void setIrEngineClassName(String irEngineClassName)
Sets the fully qualified class name for the IR engine to be used.

Parameters:
irEngineClassName - a String.

getIrEngineClassName

public String getIrEngineClassName()
Gets the fully qualified class name for the IR engine to be used.

Specified by:
getIrEngineClassName in interface IndexDefinition
Returns:
a String.