public class BatchCollector extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
BatchCollector.BatchProducer |
static class |
BatchCollector.BatchProducerTupleSource |
Constructor and Description |
---|
BatchCollector(BatchCollector.BatchProducer sourceNode,
BufferManager bm,
CommandContext context,
boolean forwardOnly) |
Modifier and Type | Method and Description |
---|---|
TupleBuffer |
collectTuples() |
TupleBuffer |
collectTuples(boolean singleBatch) |
protected void |
flushBatchDirect(TupleBatch batch,
boolean add) |
long |
getRowCount() |
TupleBuffer |
getTupleBuffer() |
boolean |
isSaveLastRow() |
void |
setRowLimit(int rowLimit) |
void |
setSaveLastRow(boolean saveLastRow) |
public BatchCollector(BatchCollector.BatchProducer sourceNode, BufferManager bm, CommandContext context, boolean forwardOnly) throws TeiidComponentException
TeiidComponentException
public TupleBuffer collectTuples() throws TeiidComponentException, TeiidProcessingException
public TupleBuffer collectTuples(boolean singleBatch) throws TeiidComponentException, TeiidProcessingException
public TupleBuffer getTupleBuffer()
protected void flushBatchDirect(TupleBatch batch, boolean add) throws TeiidComponentException, TeiidProcessingException
public long getRowCount()
public void setRowLimit(int rowLimit)
public void setSaveLastRow(boolean saveLastRow)
public boolean isSaveLastRow()
Copyright © 2019. All rights reserved.