Package org.teiid.query.processor.proc
Class BlockInstruction
- java.lang.Object
-
- org.teiid.query.processor.proc.ProgramInstruction
-
- org.teiid.query.processor.proc.BlockInstruction
-
- All Implemented Interfaces:
Cloneable
public class BlockInstruction extends ProgramInstruction
-
-
Constructor Summary
Constructors Constructor Description BlockInstruction(Program ifProgram)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockInstruction
clone()
Returns a deep clonePlanNode
getDescriptionProperties()
Program
getProgram()
void
process(ProcedurePlan procEnv)
Allow this instruction to do whatever processing it needs, and to in turn manipulate the running program.Boolean
requiresTransaction(boolean transactionalReads)
String
toString()
-
-
-
Constructor Detail
-
BlockInstruction
public BlockInstruction(Program ifProgram)
-
-
Method Detail
-
process
public void process(ProcedurePlan procEnv) throws BlockedException, TeiidComponentException, TeiidProcessingException
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:
BlockedException
TeiidComponentException
TeiidProcessingException
-
getProgram
public Program getProgram()
-
clone
public BlockInstruction clone()
Returns a deep clone- Overrides:
clone
in classProgramInstruction
- Returns:
- shallow clone
-
getDescriptionProperties
public PlanNode getDescriptionProperties()
- Specified by:
getDescriptionProperties
in classProgramInstruction
-
requiresTransaction
public Boolean requiresTransaction(boolean transactionalReads)
- Overrides:
requiresTransaction
in classProgramInstruction
-
-