public interface AccumulativeTupleBuffer
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear internal buffer, this should be called after all data are retreived
|
java.util.Iterator<Tuple> |
getTuples(int index)
Get iterator of tuples in the buffer
|
boolean |
hasNextBatch()
Whether there are more tuples to pull out of iterator
|
void |
nextBatch()
Pull next batch of tuples from iterator and put them into this buffer
|
void nextBatch() throws java.io.IOException
java.io.IOException
boolean hasNextBatch()
void clear()
java.util.Iterator<Tuple> getTuples(int index)
index
- the index of tupleCopyright © 2007-2012 The Apache Software Foundation