Package org.teiid.query.processor.proc
Class BranchingInstruction
- java.lang.Object
-
- org.teiid.query.processor.proc.ProgramInstruction
-
- org.teiid.query.processor.proc.BranchingInstruction
-
- All Implemented Interfaces:
Cloneable
public class BranchingInstruction extends ProgramInstruction
This
ProgramInstruction
continue with the next loop when processed.
-
-
Constructor Summary
Constructors Constructor Description BranchingInstruction(BranchingStatement bs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanNode
getDescriptionProperties()
void
process(ProcedurePlan env)
Allow this instruction to do whatever processing it needs, and to in turn manipulate the running program.String
toString()
-
Methods inherited from class org.teiid.query.processor.proc.ProgramInstruction
clone, requiresTransaction
-
-
-
-
Constructor Detail
-
BranchingInstruction
public BranchingInstruction(BranchingStatement bs)
-
-
Method Detail
-
process
public void process(ProcedurePlan env) throws TeiidComponentException
Description copied from class:ProgramInstruction
Allow this instruction to do whatever processing it needs, and to in turn manipulate the running program. A typical instruction should simplyincrement
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.)- Specified by:
process
in classProgramInstruction
- Throws:
TeiidComponentException
-
getDescriptionProperties
public PlanNode getDescriptionProperties()
- Specified by:
getDescriptionProperties
in classProgramInstruction
-
-