|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.processor.xml.Program
public class Program
A program is a sequence of ProcessorInstructions
. Certain
ProcessorInstructions, such as IfInstruction
and WhileInstruction
may have
pointers to sub programs. XMLPlan will maintain a stack of programs during
execution.
Field Summary |
---|
Constructor Summary | |
---|---|
Program()
Constructor for Program. |
Method Summary | |
---|---|
void |
addInstruction(ProcessorInstruction instruction)
|
void |
addInstructions(Program instructions)
|
java.util.Map |
getDescriptionProperties()
Get a description as a set of properties of primitive types such as String, Integer, etc. |
ProcessorInstruction |
getInstructionAt(int instructionIndex)
Returns the instruction to be executed at the indicated index, or null if there is no instruction at that index. |
void |
removeInstructionAt(int instructionIndex)
Removes the instruction to be executed at the indicated index, or do nothing if there is no instruction at that index. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Program()
Method Detail |
---|
public ProcessorInstruction getInstructionAt(int instructionIndex)
public void removeInstructionAt(int instructionIndex)
instructionIndex
- index of instruction to be removedpublic void addInstruction(ProcessorInstruction instruction)
public void addInstructions(Program instructions)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map getDescriptionProperties()
Describable
getDescriptionProperties
in interface Describable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |