org.teiid.query.processor
Interface BatchCollector.BatchProducer

All Known Implementing Classes:
AccessNode, ArrayTableNode, BatchedUpdateNode, BatchedUpdatePlan, DdlPlan, DependentAccessNode, DependentProcedureAccessNode, DependentProcedureExecutionNode, ForEachRowPlan, GroupingNode, InsertPlanExecutionNode, JoinNode, LimitNode, NullNode, PlanExecutionNode, ProcedurePlan, ProcessorPlan, ProjectIntoNode, ProjectNode, QueryProcessor, RelationalNode, RelationalPlan, SelectNode, SortNode, SubqueryAwareRelationalNode, TextTableNode, UnionAllNode, XMLPlan, XMLTableNode
Enclosing class:
BatchCollector

public static interface BatchCollector.BatchProducer


Method Summary
 TupleBuffer getFinalBuffer()
          return the final tuple buffer or null if not available
 java.util.List getOutputElements()
          Get list of resolved elements describing output columns for this plan.
 boolean hasFinalBuffer()
           
 TupleBatch nextBatch()
          Get a batch of results or possibly an Exception.
 

Method Detail

nextBatch

TupleBatch nextBatch()
                     throws BlockedException,
                            TeiidComponentException,
                            TeiidProcessingException
Get a batch of results or possibly an Exception.

Returns:
Batch of results
Throws:
BlockedException - indicating next batch is not available yet
TeiidComponentException - for non-business rule exception
TeiidProcessingException - for business rule exception, related to user input or modeling

getOutputElements

java.util.List getOutputElements()
Get list of resolved elements describing output columns for this plan.

Returns:
List of SingleElementSymbol

getFinalBuffer

TupleBuffer getFinalBuffer()
                           throws BlockedException,
                                  TeiidComponentException,
                                  TeiidProcessingException
return the final tuple buffer or null if not available

Returns:
Throws:
TeiidProcessingException
TeiidComponentException
BlockedException

hasFinalBuffer

boolean hasFinalBuffer()


Copyright © 2011. All Rights Reserved.