Package org.apache.uima.fit.descriptor
Annotation Interface FsIndex
- See Also:
-
FsIndexDescription
FsIndexFactory
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Indicates that no type has been set. -
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<? extends org.apache.uima.jcas.cas.TOP>
The type of the index as class.The type of the index as name.boolean
-
Field Summary
-
Field Details
-
KIND_SORTED
- See Also:
-
FsIndexDescription.KIND_SORTED
- Constant Field Values
-
KIND_SET
- See Also:
-
FsIndexDescription.KIND_SET
- Constant Field Values
-
KIND_BAG
- See Also:
-
FsIndexDescription.KIND_BAG
- Constant Field Values
-
NO_NAME_TYPE_SET
Indicated that no type name has been set.- See Also:
-
-
Element Details
-
label
String label- Returns:
- the label of this index
- See Also:
-
FsIndexDescription.getLabel()
-
-
-
typeName
String typeNameThe type of the index as name. As an alternative, the index can be defined using a class withtype()
. One method or the other must be used to set the index type.- Returns:
- the type name for this index
- See Also:
-
FsIndexDescription.getTypeName()
- Default:
- "org.apache.uima.fit.descriptor.FsIndex.NO_NAME_TYPE_SET"
-
type
Class<? extends org.apache.uima.jcas.cas.TOP> typeThe type of the index as class. As an alternative, the index can be defined using a type name withtypeName()
. One method or the other must be used to set the index type.- Returns:
- the type for this index
- See Also:
-
FsIndexDescription.getTypeName()
- Default:
- org.apache.uima.fit.descriptor.FsIndex.NoClassSet.class
-
kind
String kind- Returns:
- the kind of index
- See Also:
-
FsIndexDescription.getKind()
- Default:
- "bag"
-
keys
FsIndexKey[] keys- Returns:
- the keys for this index
- See Also:
-
FsIndexDescription.getKeys()
- Default:
- {}
-
typePriorities
boolean typePriorities- Returns:
- true if and only if this is a type priority key
- See Also:
-
FsIndexKeyDescription.isTypePriority()
- Default:
- true
-