org.teiid.query.processor
Interface BatchCollector.BatchProducer

All Known Implementing Classes:
AccessNode, BatchedUpdateNode, BatchedUpdatePlan, DependentAccessNode, DependentProcedureAccessNode, DependentProcedureExecutionNode, 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
 java.util.List getOutputElements()
          Get list of resolved elements describing output columns for this plan.
 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


Copyright © 2010. All Rights Reserved.