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(org.apache.uima.internal.util.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.
|
org.apache.uima.internal.util.ComparableIntPointerIterator<T> |
pointerIterator(org.apache.uima.internal.util.IntComparator comp,
int[] detectIllegalIndexUpdates,
int typeCode) |
org.apache.uima.internal.util.IntPointerIterator |
refIterator() |
protected org.apache.uima.internal.util.IntPointerIterator |
refIterator(int fsCode) |
void |
setTree(org.apache.uima.internal.util.rb_trees.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 org.apache.uima.internal.util.IntPointerIterator refIterator()
refIterator
in class FSLeafIndexImpl<T extends FeatureStructure>
public org.apache.uima.internal.util.ComparableIntPointerIterator<T> pointerIterator(org.apache.uima.internal.util.IntComparator comp, int[] detectIllegalIndexUpdates, int typeCode)
pointerIterator
in class FSLeafIndexImpl<T extends FeatureStructure>
protected org.apache.uima.internal.util.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(org.apache.uima.internal.util.IntVector v)
FSLeafIndexImpl
bulkAddTo
in class FSLeafIndexImpl<T extends FeatureStructure>
v
- the set of items to addpublic void setTree(org.apache.uima.internal.util.rb_trees.CompIntArrayRBT compIntArrayRBT)
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.