|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ProgramEnvironment | |
---|---|
com.metamatrix.query.processor.proc | |
com.metamatrix.query.processor.program |
Uses of ProgramEnvironment in com.metamatrix.query.processor.proc |
---|
Subclasses of ProgramEnvironment in com.metamatrix.query.processor.proc | |
---|---|
class |
ProcedureEnvironment
This class defines the environment that procedure language programs run in and what ProgramInstruction s can access during execution. |
Methods in com.metamatrix.query.processor.proc with parameters of type ProgramEnvironment | |
---|---|
void |
WhileInstruction.process(ProgramEnvironment env)
|
void |
LoopInstruction.process(ProgramEnvironment env)
|
void |
IfInstruction.process(ProgramEnvironment env)
This instruction will evaluate it's criteria, if it evaluates to true, it will push the corresponding sub Program on to the top of the program stack, and break from the loop. |
void |
ExecSqlInstruction.process(ProgramEnvironment env)
Processing this instruction executes the ProcessorPlan for the command on the CommandStatement of the update procedure language. |
void |
ExecDynamicSqlInstruction.process(ProgramEnvironment env)
Processing this instruction executes the ProcessorPlan for the command on the CommandStatement of the update procedure language. |
void |
CreateCursorResultSetInstruction.process(ProgramEnvironment env)
If the result set named rsName does not exist yet in the ProcessorEnvironment , then
this instruction will define that result set. |
void |
ContinueInstruction.process(ProgramEnvironment env)
|
void |
BreakInstruction.process(ProgramEnvironment env)
|
void |
AbstractAssignmentInstruction.process(ProgramEnvironment env)
Updates the current variable context with a value for the Variable defined using a DeclareInstruction, the variable value is obtained by either processing a expression or a command(stored as a processplan). |
Uses of ProgramEnvironment in com.metamatrix.query.processor.program |
---|
Methods in com.metamatrix.query.processor.program with parameters of type ProgramEnvironment | |
---|---|
abstract void |
ProgramInstruction.process(ProgramEnvironment env)
Allow this instruction to do whatever processing it needs, and to in turn manipulate the running program, (via the ProcessorEnvironment getProgramStack method.) A typical instruction should simply increment the program counter of the current program, but specialized
instructions may add sub programs to the stack or not increment the counter (so that they are executed again.) |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |