public interface FsIndexKeyDescription extends MetaDataObject
MetaDataObject
, which implements XMLizable
, so it
can be serialized to and deserialized from an XML element.Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
static final int STANDARD_COMPARE
static final int REVERSE_STANDARD_COMPARE
boolean isTypePriority()
TypePriorities
defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName
and
comparator
properties.
void setTypePriority(boolean aTypePriority)
TypePriorities
defined for
that Analysis Engine.
Type priority keys ignore any values assigned to the featureName
and
comparator
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 comparatorCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.