|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.processor.program.ProgramInstruction
com.metamatrix.query.processor.proc.CommandInstruction
com.metamatrix.query.processor.proc.ExecDynamicSqlInstruction
public class ExecDynamicSqlInstruction
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.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ExecDynamicSqlInstruction(CreateUpdateProcedureCommand parentProcCommand,
DynamicCommand command,
java.util.List references,
QueryMetadataInterface metadata,
IDGenerator idGenerator,
CapabilitiesFinder capFinder)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a deep clone |
java.util.Collection |
getChildPlans()
Finds all nested plans and returns them. |
java.util.Map |
getDescriptionProperties()
Get a description as a set of properties of primitive types such as String, Integer, etc. |
void |
process(ProgramEnvironment env)
Processing this instruction executes the ProcessorPlan for the command on the CommandStatement of the update procedure language. |
java.lang.String |
toString()
|
| Methods inherited from class com.metamatrix.query.processor.proc.CommandInstruction |
|---|
cloneReferences, getReferences, setReferences |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExecDynamicSqlInstruction(CreateUpdateProcedureCommand parentProcCommand,
DynamicCommand command,
java.util.List references,
QueryMetadataInterface metadata,
IDGenerator idGenerator,
CapabilitiesFinder capFinder)
| Method Detail |
|---|
public void process(ProgramEnvironment env)
throws BlockedException,
MetaMatrixComponentException,
MetaMatrixProcessingException
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 furthur processing. The results are removed from the buffer manager immediately after execution. The program counter is incremented after execution of the plan.
process in class ProgramInstructionBlockedException - if this processing the plan thows a currentVarContext
MetaMatrixComponentException
MetaMatrixProcessingExceptionProcessorInstruction#process(ProcessorEnvironment)public java.lang.Object clone()
clone in class ProgramInstructionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Map getDescriptionProperties()
Describable
getDescriptionProperties in interface DescribablegetDescriptionProperties in class ProgramInstructionpublic java.util.Collection getChildPlans()
ProgramInstruction
getChildPlans in class ProgramInstructionProgramInstruction.getChildPlans()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||