T
- the Java cover class type for this index, passed along to (wrapped) iterators producing Java cover classespublic class FSRBTSetIndex<T extends FeatureStructure> extends FSLeafIndexImpl<T>
lowLevelCAS
Constructor and Description |
---|
FSRBTSetIndex(CASImpl cas,
Type type,
int indexType)
Constructor for FSRBTIndex.
|
Modifier and Type | Method and Description |
---|---|
protected void |
bulkAddTo(IntVector v)
For serialization: get all the items in this index and bulk add to an IntVector
|
boolean |
contains(FeatureStructure fs) |
void |
deleteFS(FeatureStructure fs)
Method deleteFS.
|
FeatureStructure |
find(FeatureStructure fs) |
void |
flush() |
LowLevelIterator |
ll_iterator()
Get a low-level, FS reference iterator.
|
ComparableIntPointerIterator<T> |
pointerIterator(IntComparator comp,
int[] detectIllegalIndexUpdates,
int typeCode) |
IntPointerIterator |
refIterator() |
protected IntPointerIterator |
refIterator(int fsCode) |
void |
setTree(CompIntArrayRBT compIntArrayRBT) |
int |
size()
Get the number of FSs in this index.
|
compare, compare, equals, getComparator, getIndexingStrategy, getIntIterator, getType, hashCode, iterator, ll_compare, ll_iterator, ll_rootIterator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public void flush()
public FeatureStructure find(FeatureStructure fs)
public IntPointerIterator refIterator()
refIterator
in class FSLeafIndexImpl<T extends FeatureStructure>
public ComparableIntPointerIterator<T> pointerIterator(IntComparator comp, int[] detectIllegalIndexUpdates, int typeCode)
pointerIterator
in class FSLeafIndexImpl<T extends FeatureStructure>
protected IntPointerIterator refIterator(int fsCode)
refIterator
in class FSLeafIndexImpl<T extends FeatureStructure>
FSLeafIndexImpl.refIterator(int)
public boolean contains(FeatureStructure fs)
fs
- feature structureFSIndex.contains(FeatureStructure)
public int size()
LowLevelIndex
FSIndex.size()
public void deleteFS(FeatureStructure fs)
FSLeafIndexImpl
deleteFS
in class FSLeafIndexImpl<T extends FeatureStructure>
fs
- -FSLeafIndexImpl.deleteFS(org.apache.uima.cas.FeatureStructure)
public LowLevelIterator ll_iterator()
LowLevelIndex
protected void bulkAddTo(IntVector v)
FSLeafIndexImpl
bulkAddTo
in class FSLeafIndexImpl<T extends FeatureStructure>
v
- the set of items to addpublic void setTree(CompIntArrayRBT compIntArrayRBT)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.