Uses of Interface
org.apache.uima.cas.impl.LowLevelIterator
Packages that use LowLevelIterator
Package
Description
Implementation and Low-Level API for the CAS Interfaces.
-
Uses of LowLevelIterator in org.apache.uima.cas.impl
Classes in org.apache.uima.cas.impl that implement LowLevelIteratorModifier and TypeClassDescription(package private) classFilteredIterator<T extends FeatureStructure>Implements a filtered iterator.(package private) classFsIterator_aggregation_common<T extends FeatureStructure>Aggregate several FS iterators.(package private) classFsIterator_backwards<T extends FeatureStructure>Wraps FSIterator, runs it backwards (package private) classFsIterator_bag<T extends FeatureStructure>(package private) classFsIterator_bag_pear<T extends FeatureStructure>This version of the FsIterator is used while iterating within a PEAR Indexes keep references to the base (possibly non-pear) version of FSs.(package private) classFsIterator_limited<T extends FeatureStructure>Wraps FSIterator, limits results to n gets. classFsIterator_multiple_indexes<T extends FeatureStructure>Common code for both aggregation of indexes (e.g.(package private) classFsIterator_set_sorted_pear<T extends FeatureStructure>(package private) classFsIterator_set_sorted2<T extends FeatureStructure>An iterator for a single type for a set or sorted index NOTE: This is the version used for set/sorted iterators It is built directly on top of a CopyOnWrite wrapper for OrderedFsSet_array It uses the version of OrdereFsSet_array that has no embedded nullsclassFsIterator_singletype<T extends FeatureStructure>classFsIterator_subtypes_ordered<T extends FeatureStructure>Performs an ordered iteration among a set of iterators, each one corresponding to the type or subtype of the uppermost type.classFsIterator_subtypes_snapshot<T extends FeatureStructure>classFSIteratorImplBase<T extends FeatureStructure>Version 2 compatibility only, not used internally in version 3 Base class for FSIterator implementations.classLLUnambiguousIteratorImpl<T extends FeatureStructure>Implements a low level ambiguous or unambiguous iterator over some type T which doesn't need to be a subtype of Annotation.classLowLevelIterator_empty<T extends FeatureStructure>An empty Low-level FS iteratorprivate final classclassSubiterator<T extends AnnotationFS>Subiterator implementation.Fields in org.apache.uima.cas.impl declared as LowLevelIteratorModifier and TypeFieldDescriptionprotected final LowLevelIterator<T>[]FsIterator_multiple_indexes.allIteratorsprivate LowLevelIterator<T>[]FsIterator_multiple_indexes.emptyIteratorsstatic final LowLevelIterator<FeatureStructure> LowLevelIterator.FS_ITERATOR_LOW_LEVEL_EMPTYan empty iteratorprivate LowLevelIterator<T> FilteredIterator.itprivate final LowLevelIterator<T> FsIterator_backwards.itprivate LowLevelIterator<T> SelectFSs_impl.SelectFSIterator.itprivate final LowLevelIterator<Annotation> Subiterator.itprivate final LowLevelIterator<T> FsIterator_limited.iteratorprotected LowLevelIterator<T>[]FsIterator_multiple_indexes.nonEmptyIteratorsFields in org.apache.uima.cas.impl with type parameters of type LowLevelIteratorModifier and TypeFieldDescriptionprivate Supplier<LowLevelIterator<T>> SelectFSs_impl.SelectFSIterator.iteratorSupplierMethods in org.apache.uima.cas.impl that return LowLevelIteratorModifier and TypeMethodDescriptionprivate LowLevelIterator<T> SelectFSs_impl.altSourceIterator()private LowLevelIterator<T> SelectFSs_impl.fsIterator1()<T extends FeatureStructure>
LowLevelIterator<T> FSIndexRepositoryImpl.getAllIndexedFS(Type type) (package private) LowLevelIterator<T>[]FsIndex_iicp.getIterators()FsIndex_annotation.iterator(boolean ambiguous) FsIndex_annotation.iterator(boolean ambiguous, boolean strict, boolean orderNotNeeded, boolean ignoreType) FsIndex_bag.iterator()FsIndex_bag.iterator(boolean orderNotNeeded, boolean ignoreType) FsIndex_flat.iterator()FsIndex_flat.iterator(boolean orderNotNeeded, boolean ignoreType) FsIndex_iicp.iterator()Iterator varieties All iterators are over a Type + subtypes (because that's the purpose of this class) - ambiguous / unambiguous (for AnnotationIndex) - not strict / strict (for AnnotationIndex) - ignoring type priorities or not (for any index) - "unordered" - no need to preserve order These may be combined.FsIndex_iicp.iterator(boolean orderNotNeeded, boolean ignoreType) FsIndex_set_sorted.iterator()FsIndex_set_sorted.iterator(boolean orderNotNeeded, boolean ignoreType) FsIndex_singletype.iterator(FeatureStructure initialPositionFs) FsIndex_snapshot.iterator()FsIndex_snapshot.iterator(boolean orderNotNeeded, boolean ignoreType) default LowLevelIterator<T> LowLevelIndex.iterator()Return an iterator over the index.LowLevelIndex.iterator(boolean orderNotNeeded, boolean ignoreType) Internal use, used by select framework.<T extends FeatureStructure>
LowLevelIterator<T> FSIndexRepositoryImpl.ll_getAllIndexedFS(Type type) FsIndex_iicp.ll_iterator(boolean ambiguous) Iterator over arbitrary Feature Structures, but also filters out non-AnnotationFS FeatureStructuresFsIndex_singletype.ll_iterator(boolean ambiguous) FsIndex_snapshot.ll_iterator(boolean ambiguous) default LowLevelIterator<T> LowLevelIndex.ll_iterator()Get a low-level FS iterator.LowLevelIndex.ll_iterator(boolean ambiguous) Get a low-level, FS reference iterator.private LowLevelIterator<T> SelectFSs_impl.make_or_copy_snapshot(LowLevelIterator<T> baseIterator, boolean bkwd) private LowLevelIterator<T> SelectFSs_impl.maybeLimit(LowLevelIterator<T> it) private LowLevelIterator<T> SelectFSs_impl.maybeWrapBackwards(LowLevelIterator<T> it) private LowLevelIterator<T> SelectFSs_impl.plainFsIterator(LowLevelIndex<T> idx, CASImpl v) Methods in org.apache.uima.cas.impl with parameters of type LowLevelIteratorModifier and TypeMethodDescriptionprivate T[]SelectFSs_impl.asArray(LowLevelIterator<T> it, Class<? super T> clazz) This is a terminal operation, so can use/modify the original iteratorSelectFSs_impl.asArrayList(LowLevelIterator<T> it) private static Annotation[]LLUnambiguousIteratorImpl.createItemsArray(LowLevelIterator<FeatureStructure> it) private voidFsIterator_subtypes_ordered.heapify_down(LowLevelIterator<T> it, int dir) Move the top element down in the heap until it finds its proper position.private voidFsIterator_subtypes_ordered.heapify_up(LowLevelIterator<T> it, int idx, int dir) Move the idx'th iterator element up in the heap until it finds its proper position.private booleanFsIterator_subtypes_ordered.is_before(LowLevelIterator<T> l, LowLevelIterator<T> r, int dir) Test the order with which the two iterators should be used.private LowLevelIterator<T> SelectFSs_impl.make_or_copy_snapshot(LowLevelIterator<T> baseIterator, boolean bkwd) private LowLevelIterator<T> SelectFSs_impl.maybeLimit(LowLevelIterator<T> it) private LowLevelIterator<T> SelectFSs_impl.maybeWrapBackwards(LowLevelIterator<T> it) private voidFsIterator_subtypes_ordered.moveToNextCmn(LowLevelIterator<T> it0) Method parameters in org.apache.uima.cas.impl with type arguments of type LowLevelIteratorModifier and TypeMethodDescriptionprivate <T extends FeatureStructure>
voidFSIndexRepositoryImpl.addDirectSubtypes(TypeImpl type, List<LowLevelIterator<T>> iteratorList) private final <T extends FeatureStructure>
voidFSIndexRepositoryImpl.getAllIndexedFS(Type type, List<LowLevelIterator<T>> iteratorList) Constructors in org.apache.uima.cas.impl with parameters of type LowLevelIteratorModifierConstructorDescription(package private)FsIterator_aggregation_common(LowLevelIterator<T>[] iterators, FSIndex<T> index, Comparator<TOP> comparatorMaybeNoTypeWithoutId) FsIterator_multiple_indexes(LowLevelIndex<T> main_idx, LowLevelIterator<T>[] iterators, Comparator<TOP> comparatorMaybeNoTypeWithoutId) Constructor parameters in org.apache.uima.cas.impl with type arguments of type LowLevelIteratorModifierConstructorDescriptionprivateSelectFSIterator(Supplier<LowLevelIterator<T>> aIteratorSupplier)