org.teiid.query.processor.proc
Class ExecDynamicSqlInstruction
java.lang.Object
org.teiid.query.processor.proc.ProgramInstruction
org.teiid.query.processor.proc.ExecDynamicSqlInstruction
- All Implemented Interfaces:
- java.lang.Cloneable
public class ExecDynamicSqlInstruction
- extends ProgramInstruction
Executes a SQL statement, and remove its results from the buffer manager.
Executing this instruction does not modify the values of any of the
variables, hence it's results are not important so they are removed
immediately.
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExecDynamicSqlInstruction
public ExecDynamicSqlInstruction(CreateUpdateProcedureCommand parentProcCommand,
DynamicCommand command,
QueryMetadataInterface metadata,
IDGenerator idGenerator,
CapabilitiesFinder capFinder)
process
public void process(ProcedurePlan procEnv)
throws BlockedException,
TeiidComponentException,
TeiidProcessingException
Processing this instruction executes the ProcessorPlan for the command on
the CommandStatement of the update procedure language. Executing this
plan does not effect the values of any of the variables defined as part
of the update procedure and hence the results of the ProcessPlan
execution need not be stored for further processing. The results are
removed from the buffer manager immediately after execution. The program
counter is incremented after execution of the plan.
- Specified by:
process in class ProgramInstruction
- Throws:
BlockedException - if this processing the plan throws a currentVarContext
TeiidComponentException
TeiidProcessingException
clone
public ExecDynamicSqlInstruction clone()
- Returns a deep clone
- Overrides:
clone in class ProgramInstruction
- Returns:
- shallow clone
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getDescriptionProperties
public PlanNode getDescriptionProperties()
- Specified by:
getDescriptionProperties in class ProgramInstruction
Copyright © 2010. All Rights Reserved.