com.metamatrix.query.processor.relational
Class TupleCollector
java.lang.Object
com.metamatrix.query.processor.relational.TupleCollector
public class TupleCollector
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleCollector
public TupleCollector(TupleSourceID tsid,
BufferManager bm)
throws TupleSourceNotFoundException,
MetaMatrixComponentException
- Throws:
TupleSourceNotFoundException
MetaMatrixComponentException
TupleCollector
public TupleCollector(BufferManager bm)
setBatchSize
public void setBatchSize(int batchSize)
setTupleSourceID
public void setTupleSourceID(TupleSourceID tsid)
isEmpty
public boolean isEmpty()
getTupleSourceID
public TupleSourceID getTupleSourceID()
getBatch
public java.util.ArrayList<java.util.List<?>> getBatch()
addTuple
public void addTuple(java.util.List<?> tuple)
throws TupleSourceNotFoundException,
MetaMatrixComponentException
- Throws:
TupleSourceNotFoundException
MetaMatrixComponentException
saveBatch
public void saveBatch()
throws TupleSourceNotFoundException,
MetaMatrixComponentException
- Throws:
TupleSourceNotFoundException
MetaMatrixComponentException
close
public void close()
throws TupleSourceNotFoundException,
MetaMatrixComponentException
- Throws:
TupleSourceNotFoundException
MetaMatrixComponentException
Copyright © 2009. All Rights Reserved.