|
||||||||||
| 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.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,
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(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 |
| Field Detail |
|---|
public static final java.lang.String RS_NAME
| Constructor Detail |
|---|
public ExecSqlInstruction(ProcessorPlan commandPlan,
GroupSymbol intoGroup)
command - Object (such as a ProcessorPlan) that is executed when this instruction
is processed.| 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 ProgramInstructionBlockedException - if this processing the plan throws a currentVarContext
MetaMatrixComponentException
MetaMatrixProcessingExceptionpublic ProcessorPlan getProcessorPlan()
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 | |||||||||