public interface LowLevelIndex<T extends FeatureStructure> extends FSIndex<T>
| Modifier and Type | Field and Description | 
|---|---|
| static Comparator<TOP> | FS_ID_COMPARATOR | 
| static boolean | IS_ORDEREDInternal use constants | 
| static boolean | IS_TYPE_ORDER | 
BAG_INDEX, DEFAULT_BAG_INDEX, SET_INDEX, SORTED_INDEX| Modifier and Type | Method and Description | 
|---|---|
| default void | flush() | 
| CASImpl | getCasImpl() | 
| Comparator<TOP> | getComparator() | 
| FSIndexComparator | getComparatorForIndexSpecs()This is **NOT** a comparator for Feature Structures, but rather something that compares two
 comparator specifications | 
| default org.apache.uima.internal.util.IntPointerIterator | getIntIterator() | 
| default <U extends T> | getSubIndex(Class<? extends TOP> clazz) | 
| default <U extends T> | getSubIndex(Type type) | 
| boolean | isSorted() | 
| default LowLevelIterator<T> | iterator()Return an iterator over the index. | 
| LowLevelIterator<T> | iterator(boolean orderNotNeeded,
        boolean ignoreType)Internal use, used by select framework. | 
| default int | ll_compare(int ref1,
          int ref2)Compare two Feature structures, referred to by IDs | 
| default LowLevelIterator<T> | ll_iterator()Get a low-level FS iterator. | 
| LowLevelIterator<T> | ll_iterator(boolean ambiguous)Get a low-level, FS reference iterator. | 
| int | ll_maxAnnotSpan() | 
| default SelectFSs<T> | select() | 
| default <N extends T> | select(Class<N> clazz) | 
| default <N extends T> | select(int jcasType) | 
| default <N extends T> | select(String fullyQualifiedTypeName) | 
| default <N extends T> | select(Type type) | 
compare, contains, find, getIndexingStrategy, getType, iterator, size, stream, subType, subType, withSnapshotIteratorsadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, toArray, toArraystatic final Comparator<TOP> FS_ID_COMPARATOR
static final boolean IS_ORDERED
static final boolean IS_TYPE_ORDER
default LowLevelIterator<T> ll_iterator()
LowLevelIterator<T> ll_iterator(boolean ambiguous)
ambiguous - When set to false, iterator will be disambiguated.default int ll_compare(int ref1,
                       int ref2)
ref1 - -ref2 - -CASImpl getCasImpl()
FSIndexComparator getComparatorForIndexSpecs()
Comparator<TOP> getComparator()
default void flush()
default org.apache.uima.internal.util.IntPointerIterator getIntIterator()
default <U extends T> LowLevelIndex<U> getSubIndex(Type type)
U - the type the subindex is overtype - which is a subtype of this index's typedefault <U extends T> LowLevelIndex<U> getSubIndex(Class<? extends TOP> clazz)
int ll_maxAnnotSpan()
boolean isSorted()
default SelectFSs<T> select()
select in interface FSIndex<T extends FeatureStructure>default <N extends T> SelectFSs<N> select(Type type)
select in interface FSIndex<T extends FeatureStructure>N - the Type of the elements being accessedtype - specifies the type (and subtypes of that type) to accessdefault <N extends T> SelectFSs<N> select(Class<N> clazz)
select in interface FSIndex<T extends FeatureStructure>N - the Type of the elements being accessedclazz - a JCas class corresponding to the type (and subtypes of that type) to accessdefault <N extends T> SelectFSs<N> select(int jcasType)
select in interface FSIndex<T extends FeatureStructure>N - the Type of the elements being accessedjcasType - the "type" field from the JCas class corresponding to the type (and subtypes of that
          type) to accessdefault <N extends T> SelectFSs<N> select(String fullyQualifiedTypeName)
select in interface FSIndex<T extends FeatureStructure>N - the Type of the elements being accessedfullyQualifiedTypeName - the string name of the type to accessdefault LowLevelIterator<T> iterator()
iterator in interface Collection<T extends FeatureStructure>iterator in interface FSIndex<T extends FeatureStructure>iterator in interface Iterable<T extends FeatureStructure>LowLevelIterator<T> iterator(boolean orderNotNeeded, boolean ignoreType)
orderNotNeeded - if true, skips work while iterating to keep iterators over multiple types in sync.ignoreType - if true, the comparator used for moveTo leftmost operations will ignore typeOrder
          keys, if the index happens to define theseCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.