com.bigdata.btree.filter
Class TupleUpdater<E>
java.lang.Object
com.bigdata.btree.filter.TupleFilter<E>
com.bigdata.btree.filter.TupleUpdater<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- ITupleFilter<E>, cutthecrap.utils.striterators.IFilter, Serializable
- Direct Known Subclasses:
- FileVersionDeleter
public abstract class TupleUpdater<E>
- extends TupleFilter<E>
Filter allows mutation of the visited ITuples.
- Version:
- $Id: TupleUpdater.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleUpdater
public TupleUpdater()
TupleUpdater
public TupleUpdater(Object state)
filter
public ITupleIterator<E> filter(Iterator src)
- Description copied from interface:
ITupleFilter
- Strengthened return type.
- Specified by:
filter in interface ITupleFilter<E>- Specified by:
filter in interface cutthecrap.utils.striterators.IFilter- Overrides:
filter in class TupleFilter<E>
update
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.
Note: If you modify tuple then that modification will be
visitible to the consumer of the iterator.
- Parameters:
ndx - The index on which the ITupleCursor is reading.tuple - The tuple that is being visited.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.