E - public abstract class TupleUpdater<E> extends TupleFilter<E>
ITuples.| 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.
|
isValidaddFilter, filter, getProperty, getRequiredProperty, setProperty, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPropertypublic ITupleIterator<E> filterOnce(Iterator src, Object context)
FilterBasefilterOnce 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.