E
- public abstract class TupleUpdater<E> extends TupleFilter<E>
ITuple
s.Modifier and Type | Class and Description |
---|---|
protected class |
TupleUpdater.Updaterator |
TupleFilter.TupleFilterator<E>
Constructor and Description |
---|
TupleUpdater() |
Modifier and Type | Method and Description |
---|---|
ITupleIterator<E> |
filterOnce(Iterator src,
Object context)
Wrap the source iterator with this filter.
|
protected abstract void |
update(IIndex ndx,
ITuple<E> tuple)
You may implement this method to update the state of the visited
tuple in the backing index.
|
isValid
addFilter, filter, getProperty, getRequiredProperty, setProperty, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProperty
public ITupleIterator<E> filterOnce(Iterator src, Object context)
FilterBase
filterOnce
in interface ITupleFilter<E>
filterOnce
in class TupleFilter<E>
src
- The source iterator.context
- The iterator evaluation context.protected abstract void update(IIndex ndx, ITuple<E> tuple)
Note: If you modify tuple then that modification will be visitible to the consumer of the iterator.
ndx
- The index on which the ITupleCursor
is reading.tuple
- The tuple that is being visited.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.