|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FsIndexKeyDescription
A description of a key defining a CAS feature structure index. This implements
MetaDataObject
, which implements XMLizable
, so it
can be serialized to and deserialized from an XML element.
Field Summary | |
---|---|
static int |
REVERSE_STANDARD_COMPARE
Comparator that orders FeatureStructures according to the reverse order of their key features (the opposite order as that defined by STANDARD_COMPARE. |
static int |
STANDARD_COMPARE
Comparator that orders FeatureStructures according to the standard order of their key features. |
Method Summary | |
---|---|
int |
getComparator()
Gets the comparator for this key. |
String |
getFeatureName()
Gets the name of the key's Feature. |
boolean |
isTypePriority()
Gets whether this is a special "type priority" key. |
void |
setComparator(int aComparator)
Sets the comparator for this key. |
void |
setFeatureName(String aName)
Sets the name of the key's Feature. |
void |
setTypePriority(boolean aTypePriority)
Gets whether this is a special "type priority" key. |
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject |
---|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl |
Methods inherited from interface org.apache.uima.util.XMLizable |
---|
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML |
Field Detail |
---|
static final int STANDARD_COMPARE
static final int REVERSE_STANDARD_COMPARE
Method Detail |
---|
boolean isTypePriority()
TypePriorities
defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName
and
comaprator
properties.
void setTypePriority(boolean aTypePriority)
TypePriorities
defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName
and
comaprator
properties.
aTypePriority
- true if and only if this is a type priority keyString getFeatureName()
void setFeatureName(String aName)
aName
- the name of this key's Featureint getComparator()
void setComparator(int aComparator)
aComparator
- this key's comparator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |