com.bigdata.btree.filter
Class EmptyTupleIterator
java.lang.Object
com.bigdata.btree.filter.EmptyTupleIterator
- All Implemented Interfaces:
- ITupleIterator, Iterator
public class EmptyTupleIterator
- extends Object
- implements ITupleIterator
Empty iterator.
- Version:
- $Id: EmptyTupleIterator.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
|
Method Summary |
boolean |
hasNext()
|
ITuple |
next()
Advance the iterator and return the ITuple from which you can
extract the data and metadata for next entry. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final transient ITupleIterator INSTANCE
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
next
public ITuple next()
- Description copied from interface:
ITupleIterator
- Advance the iterator and return the
ITuple from which you can
extract the data and metadata for next entry.
Note: An ITupleIterators will generally return the same
ITuple reference on on each invocation of this method. The caller
is responsible for copying out any data or metadata of interest before
calling ITupleIterator.next() again. See TupleFilter which is aware of
this and can be used to stack filters safely.
- Specified by:
next in interface ITupleIterator- Specified by:
next in interface Iterator
- Returns:
- The
ITuple containing the data and metadata for the
current index entry.
remove
public void remove()
- Specified by:
remove in interface Iterator
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.