|
||||||||||
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.ExecSqlInstruction
public class ExecSqlInstruction
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 | |
---|---|
static java.lang.String |
RS_NAME
|
Constructor Summary | |
---|---|
ExecSqlInstruction(ProcessorPlan commandPlan,
java.util.List references,
GroupSymbol intoGroup)
Constructor for ExecSqlInstruction. |
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. |
ProcessorPlan |
getProcessorPlan()
|
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 |
Field Detail |
---|
public static final java.lang.String RS_NAME
Constructor Detail |
---|
public ExecSqlInstruction(ProcessorPlan commandPlan, java.util.List references, GroupSymbol intoGroup)
command
- Object (such as a ProcessorPlan) that is executed when this instruction
is processed.references
- List of lists of reference objects, these references
would be updated to the values they evaluate to.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 ProgramInstruction
BlockedException
- if this processing the plan thows a currentVarContext
MetaMatrixComponentException
MetaMatrixProcessingException
ProcessorInstruction#process(ProcessorEnvironment)
public ProcessorPlan getProcessorPlan()
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 |