|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.db.RowIterator
public class RowIterator
Row iterator that allows us to close the underlying iterators.
Constructor Summary | |
---|---|
RowIterator(ReducingIterator<IColumnIterator,Row> reduced,
java.util.List<java.util.Iterator<IColumnIterator>> iterators)
|
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
|
Row |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RowIterator(ReducingIterator<IColumnIterator,Row> reduced, java.util.List<java.util.Iterator<IColumnIterator>> iterators)
reduced
- Reducing iterator that takes multiple iterators and provides us with
one row at the time.iterators
- The underlying iterators that we will close when done.Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Row>
public Row next()
next
in interface java.util.Iterator<Row>
public void remove()
remove
in interface java.util.Iterator<Row>
public void close() throws java.io.IOException
close
in interface java.io.Closeable
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |