org.teiid.query.processor.proc
Class BreakInstruction

java.lang.Object
  extended by org.teiid.query.processor.proc.ProgramInstruction
      extended by org.teiid.query.processor.proc.ContinueInstruction
          extended by org.teiid.query.processor.proc.BreakInstruction
All Implemented Interfaces:
java.lang.Cloneable

public class BreakInstruction
extends ContinueInstruction

This ProgramInstruction break from a loop when processed

.


Constructor Summary
BreakInstruction()
           
 
Method Summary
 PlanNode getDescriptionProperties()
           
 void process(ProcedurePlan env)
          Allow this instruction to do whatever processing it needs, and to in turn manipulate the running program.
 java.lang.String toString()
           
 
Methods inherited from class org.teiid.query.processor.proc.ProgramInstruction
clone, getChildPlans
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BreakInstruction

public BreakInstruction()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class ContinueInstruction

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 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.)

Overrides:
process in class ContinueInstruction
Throws:
TeiidComponentException

getDescriptionProperties

public PlanNode getDescriptionProperties()
Overrides:
getDescriptionProperties in class ContinueInstruction


Copyright © 2011. All Rights Reserved.