Uses of Interface
org.apache.uima.cas.SelectFSs
Package
Description
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Interfaces for accessing the JCAS.
JCAS model for built-in CAS types
-
Uses of SelectFSs in org.apache.uima.cas
Modifier and TypeMethodDescriptionSelectFSs.allViews()
Extend the selection to be over all the CAS views, not just a single view.SelectFSs.allViews
(boolean allViews) Extend or not extend the selection to be over all the CAS views, not just a single view.SelectFSs.at
(int begin, int end) Subselection - specifies selecting Feature Structures having the same begin and end Requires an Annotation Index.SelectFSs.at
(AnnotationFS fs) Subselection - specifies selecting Feature Structures having the same begin and end - influenced by typePriority, positionUsesType, and useAnnotationEquals Requires an Annotation Index.SelectFSs.backwards()
Specifies that the iteration should run in reverse order from normal.SelectFSs.backwards
(boolean backwards) Specifies that the iteration should run in the normal or reverse order.SelectFSs.between
(AnnotationFS fs1, AnnotationFS fs2) Subselection - specifies selecting Feature Structures which lie between two annotations.SelectFSs.coveredBy
(int begin, int end) Subselection - specifies selecting Feature Structures starting (and maybe ending) within a bounding Feature Structure Requires an Annotation Index.SelectFSs.coveredBy
(AnnotationFS fs) Subselection - specifies selecting Feature Structures starting (and maybe ending) within a bounding Feature Structure - influenced by typePriority, positionUsesType, useAnnotationEquals, includeAnnotationsWithEndBeyondBounds Requires an Annotation Index.SelectFSs.covering
(int begin, int end) Subselection - specifies selecting Feature Structures starting before or equal to bounding Feature Structure's begin and ending at or beyond the bounding Feature Structure's end Requires an Annotation Index.SelectFSs.covering
(AnnotationFS fs) Subselection - specifies selecting Feature Structures starting before or equal to bounding Feature Structure and ending at or beyond the bounding Feature Structure - influenced by typePriority, positionUsesType, useAnnotationEquals Requires an Annotation Index.SelectFSs.following
(int position) Selectannotations
that follow the specified document position (i.e.SelectFSs.following
(int position, int offset) For AnnotationIndex, position to first Annotation whose begin >= position and then adjust position by the offset.SelectFSs.following
(Annotation annotation) For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd();SelectFSs.following
(Annotation annotation, int offset) For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd() and then adjust position by the offsetSelectFSs.includeAnnotationsWithEndBeyondBounds()
Meaningful only for coveredBy, includes annotations where the end exceeds the bounding annotation's end.SelectFSs.includeAnnotationsWithEndBeyondBounds
(boolean includeAnnotationsWithEndBeyondBounds) Meaningful only for coveredBy, includes or filters out annotations where the end exceeds the bounding annotation's end.SelectFSs.limit
(int n) Limits the number of Feature Structures returned by this selectSelectFSs.nonOverlapping()
Meaningful only for Annotation Indexes, specifies that iteration should return only annotations which don't overlap with each other.SelectFSs.nonOverlapping
(boolean nonOverlapping) Meaningful only for Annotation Indexes, specifies that iteration should or should not return only annotations which don't overlap with each other.SelectFSs.nullOK()
Applies to the various argument forms of the get and single methods.SelectFSs.nullOK
(boolean nullOk) Applies to the various argument forms of the get and single methods.SelectFSs.orderNotNeeded()
Specifies that order is not required while iterating over an otherwise ordered index.SelectFSs.orderNotNeeded
(boolean unordered) Specifies that order is or is not required while iterating over an otherwise ordered index.SelectFSs.preceding
(int position) Selectannotations
that precede the specified document position (i.e.SelectFSs.preceding
(int position, int offset) For AnnotationIndex, set up a selection that will go from the beginning to the first Annotation to the left of the specified position, ending at the last Annotation whose end <= position.SelectFSs.preceding
(Annotation annotation) For AnnotationIndex, set up a selection that will go from the beginning to the first Annotation to the left of the specified position, whose end <= fs.getBegin().SelectFSs.preceding
(Annotation annotation, int offset) For AnnotationIndex, set up a selection that will go from the beginning to the first Annotation to the left of the specified position, ending at the last Annotation whose end <= fs.getBegin(), after adjusting by offset items.CAS.select()
CAS.select
(int jcasType) FSIndex.select()
FSIndex.select
(int jcasType) static <U extends FeatureStructure>
SelectFSs<U>Use this static method to capture the generic argumentSelectFSs.shifted
(int shiftAmount) Starting Position specification - Shifts the normal start position by the shiftAmount, which may be negative.SelectFSs.skipWhenSameBeginEndType()
Meaningful only for coveredBy and covering: if true, then returned annotations are compared equal to the bounding annotation, and if equal, they are skipped.SelectFSs.startAt
(int begin) Starting Position specification - For Annotation Indexes, specifies which FS to start at.SelectFSs.startAt
(int begin, int end) Starting Position specification - For Annotation Indexes, specifies which FS to start at.SelectFSs.startAt
(int begin, int end, int shift) Starting Position specification - A combination of startAt followed by a shift Requires an Annotation Index.SelectFSs.startAt
(FeatureStructure fs) Starting Position specification - For ordered sources, specifies which FS to start at.SelectFSs.startAt
(FeatureStructure fs, int shift) Starting Position specification - A combination of startAt followed by a shift Requires an ordered index not necessarily AnnotationIndex, not necessarily sorted This versions avoids a runtime cast check.Starting Position specification - For ordered sources, specifies which FS to start at.Starting Position specification - A combination of startAt followed by a shift Requires an ordered index not necessarily AnnotationIndex, not necessarily sortedSelectFSs.typePriority()
Specify that type priority should be included when comparing two Feature Structures when moving to the leftmost among otherwise equal items for moveTo(fs).SelectFSs.typePriority
(boolean typePriority) Specify that type priority should or should not be included when comparing two Feature Structures while positioning an iteratorSelectFSs.useAnnotationEquals
(boolean useAnnotationEquals) Meaningful only for coveredBy: if true, then returned annotations are compared to the bounding annotation using the specified kind of equal comparison, and if equal, they are skipped. -
Uses of SelectFSs in org.apache.uima.cas.impl
Modifier and TypeClassDescriptionclass
SelectFSs_impl<T extends FeatureStructure>
Collection of builder style methods to specify selection of FSs from indexes shift handled in this routine Comment codes: AI = implies AnnotationIndex Iterator varieties and impl bounded? type order not unambig? strict? skipEq Priority? Needed? no coveredBy covering sameas for not-bounded, - ignore strict and skipEq -- except: preceding implies skipping annotations whose end > positioning begin - order-not-needed only applies if iicp size > 1 - unambig ==> use Subiterator -- subiterator wraps: according to typePriority and order-not-needed - no Type Priority - need to pass in as arg to fsIterator_multiple_indexes == if no type priority, need to prevent rattling off the == type while compare is equal == affects both FsIterator_aggregation_common and FsIterator_subtypes_ordered for 3 other boundings: - use subiterator, pass in strict and skipeq finish this javadoc comment edit T extends FeatureStructure, not TOP, because of ref from FSIndex which uses FeatureStructure for backwards compatibilityModifier and TypeMethodDescriptionSelectFSs_impl.at
(int begin, int end) SelectFSs_impl.at
(AnnotationFS fs) SelectFSs_impl.following
(int position) SelectFSs_impl.following
(int position, int offset) SelectFSs_impl.following
(Annotation fs) SelectFSs_impl.following
(Annotation fs, int offset) SelectFSs_impl.preceding
(int position) SelectFSs_impl.preceding
(int position, int offset) SelectFSs_impl.preceding
(Annotation fs) SelectFSs_impl.preceding
(Annotation annotation, int offset) LowLevelIndex.select()
LowLevelIndex.select
(int jcasType) SelectFSs_impl.skipWhenSameBeginEndType()
boolean operationsSelectFSs_impl.typePriority()
SelectFSs_impl.typePriority
(boolean aTypePriority) SelectFSs_impl.useAnnotationEquals
(boolean useAnnotationEquals) -
Uses of SelectFSs in org.apache.uima.jcas
-
Uses of SelectFSs in org.apache.uima.jcas.cas
Modifier and TypeMethodDescriptionFSList.select()
Treat an FSArray as a source for SelectFSs.FSList.select
(int filterByType) Treat an FSArray as a source for SelectFSs.Treat an FSArray as a source for SelectFSs.Treat an FSArray as a source for SelectFSs.Treat an FSArray as a source for SelectFSs.SelectViaCopyToArray.select
(int filterByType) Treat an FSArray as a source for SelectFSs.Treat an FSArray as a source for SelectFSs.Treat an FSArray as a source for SelectFSs.Treat an FSArray as a source for SelectFSs.