org.teiid.query.processor.proc
Class CreateCursorResultSetInstruction
java.lang.Object
org.teiid.query.processor.proc.ProgramInstruction
org.teiid.query.processor.proc.CreateCursorResultSetInstruction
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- LoopInstruction
public class CreateCursorResultSetInstruction
- extends ProgramInstruction
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RS_NAME
public static final java.lang.String RS_NAME
- See Also:
- Constant Field Values
rsName
protected java.lang.String rsName
plan
protected ProcessorPlan plan
CreateCursorResultSetInstruction
public CreateCursorResultSetInstruction(java.lang.String rsName,
ProcessorPlan plan)
process
public void process(ProcedurePlan procEnv)
throws BlockedException,
TeiidComponentException,
TeiidProcessingException
- If the result set named rsName does not exist yet in the
ProcedurePlan, then
this instruction will define that result set. It will then throw a BlockedException if
this result set is selecting from other than temp groups (because those results will be
delivered asynchronously). IF the result set named rsName does already exist, this
instruction will just increment the program counter and do nothing else.
- Specified by:
process in class ProgramInstruction
- Throws:
BlockedException - if this result set is not selecting from
only temp groups
TeiidComponentException
TeiidProcessingException
clone
public CreateCursorResultSetInstruction clone()
- Returns a deep clone
- Overrides:
clone in class ProgramInstruction
- Returns:
- shallow clone
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getDescriptionProperties
public PlanNode getDescriptionProperties()
- Specified by:
getDescriptionProperties in class ProgramInstruction
getCommand
public ProcessorPlan getCommand()
Copyright © 2010. All Rights Reserved.