public class POPackage.POPackageTupleBuffer extends java.lang.Object implements AccumulativeTupleBuffer
| Constructor and Description |
|---|
POPackage.POPackageTupleBuffer(int batchSize,
java.lang.Object key,
java.util.Iterator<NullableTuple> iter) |
| 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
|
Tuple |
illustratorMarkup(java.lang.Object in,
java.lang.Object out,
int eqClassIndex) |
void |
nextBatch()
Pull next batch of tuples from iterator and put them into this buffer
|
public POPackage.POPackageTupleBuffer(int batchSize,
java.lang.Object key,
java.util.Iterator<NullableTuple> iter)
public boolean hasNextBatch()
AccumulativeTupleBufferhasNextBatch in interface AccumulativeTupleBufferpublic void nextBatch()
throws java.io.IOException
AccumulativeTupleBuffernextBatch in interface AccumulativeTupleBufferjava.io.IOExceptionpublic void clear()
AccumulativeTupleBufferclear in interface AccumulativeTupleBufferpublic java.util.Iterator<Tuple> getTuples(int index)
AccumulativeTupleBuffergetTuples in interface AccumulativeTupleBufferindex - the index of tuplepublic Tuple illustratorMarkup(java.lang.Object in, java.lang.Object out, int eqClassIndex)
Copyright © 2007-2012 The Apache Software Foundation