T - the Java cover class type for this index, passed along to (wrapped) iterators producing Java cover classespublic abstract class FSLeafIndexImpl<T extends FeatureStructure> extends Object implements Comparator<T>, org.apache.uima.internal.util.IntComparator, FSIndexImpl
| Modifier and Type | Field and Description |
|---|---|
protected CASImpl |
lowLevelCAS |
| Modifier | Constructor and Description |
|---|---|
protected |
FSLeafIndexImpl(CASImpl cas,
Type type,
int indexType)
Constructor for FSLeafIndexImpl.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
bulkAddTo(org.apache.uima.internal.util.IntVector v)
For serialization: get all the items in this index and bulk add to an IntVector
|
int |
compare(FeatureStructure fs1,
FeatureStructure fs2) |
int |
compare(int fs1,
int fs2)
Note: may return other than -1 , 0, and 1 (e.g., might return -6)
|
abstract void |
deleteFS(FeatureStructure fs)
Method deleteFS.
|
boolean |
equals(Object obj) |
FSIndexComparator |
getComparator() |
int |
getIndexingStrategy() |
org.apache.uima.internal.util.IntPointerIterator |
getIntIterator() |
Type |
getType() |
int |
hashCode() |
FSIterator<T> |
iterator(FeatureStructure fs) |
int |
ll_compare(int fs1,
int fs2)
Note: may return other than -1 , 0, and 1 (e.g., might return -6)
|
LowLevelIterator |
ll_iterator(boolean ambiguous)
Get a low-level, FS reference iterator.
|
LowLevelIterator |
ll_rootIterator()
Get a low-level, FS reference iterator specifying instances of
the precise type only (i.e.
|
abstract org.apache.uima.internal.util.ComparableIntPointerIterator<T> |
pointerIterator(org.apache.uima.internal.util.IntComparator comp,
int[] detectIllegalIndexUpdates,
int typeCode) |
protected abstract org.apache.uima.internal.util.IntPointerIterator |
refIterator() |
protected abstract org.apache.uima.internal.util.IntPointerIterator |
refIterator(int fsCode) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongflushll_iterator, sizeprotected final CASImpl lowLevelCAS
public abstract org.apache.uima.internal.util.ComparableIntPointerIterator<T> pointerIterator(org.apache.uima.internal.util.IntComparator comp, int[] detectIllegalIndexUpdates, int typeCode)
public FSIndexComparator getComparator()
getComparator in interface FSIndexImplpublic int getIndexingStrategy()
public int ll_compare(int fs1,
int fs2)
ll_compare in interface LowLevelIndexfs1 - -fs2 - -public int compare(int fs1,
int fs2)
compare in interface org.apache.uima.internal.util.IntComparatorfs1 - -fs2 - -public boolean equals(Object obj)
equals in interface Comparator<T extends FeatureStructure>equals in class Objectpublic int compare(FeatureStructure fs1, FeatureStructure fs2)
compare in interface Comparator<T extends FeatureStructure>FSIndex.compare(FeatureStructure, FeatureStructure)public Type getType()
FSIndex.getType()protected abstract org.apache.uima.internal.util.IntPointerIterator refIterator()
public org.apache.uima.internal.util.IntPointerIterator getIntIterator()
getIntIterator in interface FSIndexImplprotected abstract void bulkAddTo(org.apache.uima.internal.util.IntVector v)
v - the set of items to addprotected abstract org.apache.uima.internal.util.IntPointerIterator refIterator(int fsCode)
public FSIterator<T> iterator(FeatureStructure fs)
public abstract void deleteFS(FeatureStructure fs)
fs - -public LowLevelIterator ll_iterator(boolean ambiguous)
LowLevelIndexll_iterator in interface LowLevelIndexambiguous - When set to false, iterator will be disambiguated.public LowLevelIterator ll_rootIterator()
LowLevelIndexll_rootIterator in interface LowLevelIndexCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.