Package org.teiid.query.processor
Class BatchCollector.BatchProducerTupleSource
- java.lang.Object
-
- org.teiid.query.processor.BatchCollector.BatchProducerTupleSource
-
- All Implemented Interfaces:
TupleSource
- Enclosing class:
- BatchCollector
public static class BatchCollector.BatchProducerTupleSource extends Object implements TupleSource
-
-
Constructor Summary
Constructors Constructor Description BatchProducerTupleSource(BatchCollector.BatchProducer sourceNode)
BatchProducerTupleSource(BatchCollector.BatchProducer sourceNode, long startRow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeSource()
Closes the Tuple Source.List<Object>
nextTuple()
Returns the next tupleprotected List<?>
updateTuple(List<?> tuple)
-
-
-
Constructor Detail
-
BatchProducerTupleSource
public BatchProducerTupleSource(BatchCollector.BatchProducer sourceNode)
-
BatchProducerTupleSource
public BatchProducerTupleSource(BatchCollector.BatchProducer sourceNode, long startRow)
-
-
Method Detail
-
nextTuple
public List<Object> nextTuple() throws TeiidComponentException, TeiidProcessingException
Description copied from interface:TupleSource
Returns the next tuple- Specified by:
nextTuple
in interfaceTupleSource
- Returns:
- the next tuple (a List object), or
null
if there are no more tuples. - Throws:
TeiidComponentException
- indicating a non-business exception such as a communication exception, or other such nondeterministic exceptionTeiidProcessingException
-
updateTuple
protected List<?> updateTuple(List<?> tuple) throws ExpressionEvaluationException, BlockedException, TeiidComponentException
-
closeSource
public void closeSource()
Description copied from interface:TupleSource
Closes the Tuple Source.- Specified by:
closeSource
in interfaceTupleSource
-
-