org.teiid.query.processor
Class BatchCollector.BatchProducerTupleSource

java.lang.Object
  extended by org.teiid.query.processor.BatchCollector.BatchProducerTupleSource
All Implemented Interfaces:
TupleSource
Enclosing class:
BatchCollector

public static class BatchCollector.BatchProducerTupleSource
extends java.lang.Object
implements TupleSource


Constructor Summary
BatchCollector.BatchProducerTupleSource(BatchCollector.BatchProducer sourceNode)
           
 
Method Summary
 void closeSource()
          Closes the Tuple Source.
 java.util.List<java.lang.Object> nextTuple()
          Returns the next tuple
protected  java.util.List<?> updateTuple(java.util.List<?> tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchCollector.BatchProducerTupleSource

public BatchCollector.BatchProducerTupleSource(BatchCollector.BatchProducer sourceNode)
Method Detail

nextTuple

public java.util.List<java.lang.Object> nextTuple()
                                           throws TeiidComponentException,
                                                  TeiidProcessingException
Description copied from interface: TupleSource
Returns the next tuple

Specified by:
nextTuple in interface TupleSource
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 exception
TeiidProcessingException

updateTuple

protected java.util.List<?> updateTuple(java.util.List<?> tuple)
                                 throws ExpressionEvaluationException,
                                        BlockedException,
                                        TeiidComponentException
Throws:
ExpressionEvaluationException
BlockedException
TeiidComponentException

closeSource

public void closeSource()
Description copied from interface: TupleSource
Closes the Tuple Source.

Specified by:
closeSource in interface TupleSource


Copyright © 2011. All Rights Reserved.