|
||||||||||
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.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,
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(ProcedurePlan procEnv)
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 java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExecDynamicSqlInstruction(CreateUpdateProcedureCommand parentProcCommand, DynamicCommand command, QueryMetadataInterface metadata, IDGenerator idGenerator, CapabilitiesFinder capFinder)
Method Detail |
---|
public void process(ProcedurePlan procEnv) 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 further 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 ProgramInstruction
BlockedException
- if this processing the plan throws a currentVarContext
MetaMatrixComponentException
MetaMatrixProcessingException
public java.lang.Object clone()
clone
in class ProgramInstruction
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map getDescriptionProperties()
Describable
getDescriptionProperties
in interface Describable
getDescriptionProperties
in class ProgramInstruction
public java.util.Collection getChildPlans()
ProgramInstruction
getChildPlans
in class ProgramInstruction
ProgramInstruction.getChildPlans()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |