|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.processor.ProcessorPlan
org.teiid.query.processor.proc.ForEachRowPlan
public class ForEachRowPlan
| Constructor Summary | |
|---|---|
ForEachRowPlan()
|
|
| Method Summary | |
|---|---|
ProcessorPlan |
clone()
Return a safe clone of the ProcessorPlan. |
void |
close()
Close the plan after processing. |
java.util.List<SingleElementSymbol> |
getOutputElements()
Get list of resolved elements describing output columns for this plan. |
void |
initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
Initialize the plan with some required pieces of data for making queries. |
TupleBatch |
nextBatch()
Get a batch of results or possibly an Exception. |
void |
open()
Open the plan for processing. |
boolean |
requiresTransaction(boolean transactionalReads)
|
void |
reset()
Reset a plan so that it can be processed again. |
void |
setLookupMap(java.util.Map symbolMap)
|
void |
setParams(java.util.Map<ElementSymbol,Expression> params)
|
void |
setQueryPlan(ProcessorPlan queryPlan)
|
void |
setRowProcedure(ProcedurePlan rowProcedure)
|
| Methods inherited from class org.teiid.query.processor.ProcessorPlan |
|---|
addWarning, getAndClearWarnings, getContext, getDescriptionProperties, setContext |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForEachRowPlan()
| Method Detail |
|---|
public ProcessorPlan clone()
ProcessorPlanopened or after it is closed.
clone in class ProcessorPlan
public void close()
throws TeiidComponentException
ProcessorPlan
close in class ProcessorPlanTeiidComponentExceptionpublic java.util.List<SingleElementSymbol> getOutputElements()
ProcessorPlan
getOutputElements in interface BatchCollector.BatchProducergetOutputElements in class ProcessorPlan
public void initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
ProcessorPlan
initialize in class ProcessorPlancontext - Process execution contextdataMgr - Data manager referencebufferMgr - Buffer manager reference
public TupleBatch nextBatch()
throws BlockedException,
TeiidComponentException,
TeiidProcessingException
ProcessorPlan
nextBatch in interface BatchCollector.BatchProducernextBatch in class ProcessorPlanBlockedException - indicating next batch is not available yet
TeiidComponentException - for non-business rule exception
TeiidProcessingException - for business rule exception, related
to user input or modeling
public void open()
throws TeiidComponentException,
TeiidProcessingException
ProcessorPlan
open in class ProcessorPlanTeiidComponentException
TeiidProcessingExceptionpublic void setQueryPlan(ProcessorPlan queryPlan)
public void setRowProcedure(ProcedurePlan rowProcedure)
public void setParams(java.util.Map<ElementSymbol,Expression> params)
public void setLookupMap(java.util.Map symbolMap)
public void reset()
ProcessorPlan
reset in class ProcessorPlanpublic boolean requiresTransaction(boolean transactionalReads)
requiresTransaction in class ProcessorPlan
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||