|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.query.processor.xml.Condition
public abstract class Condition
This is a condition which can be evaluated, and which supplies a
Program instance which should act as the resulting sub Program to be run
(placed on the top of the program stack)
if the condition evaluates to true.
| Constructor Summary | |
|---|---|
Condition(Program thenProgram)
|
|
| Method Summary | |
|---|---|
abstract boolean |
evaluate(XMLProcessorEnvironment env,
com.metamatrix.query.processor.xml.XMLContext ontext)
This method causes the Condition to evaluate itself. |
Program |
getThenProgram()
If this Condition evaluates to true, this Program should
be retrieved and placed at the top of the
program stack, to be run
immediately. |
boolean |
isProgramRecursive()
Indicates if the then Program is recursive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Condition(Program thenProgram)
| Method Detail |
|---|
public Program getThenProgram()
evaluates to true, this Program should
be retrieved and placed at the top of the
program stack, to be run
immediately.
public boolean isProgramRecursive()
public abstract boolean evaluate(XMLProcessorEnvironment env,
com.metamatrix.query.processor.xml.XMLContext ontext)
throws MetaMatrixComponentException,
MetaMatrixProcessingException
elementMap - Map of elements to their index in the currentRowDatacurrentRowData - List of Objects representing the current row of
the result set(s)env - ProcessorEnvironment of the XMLPlan, maintains state of the running
XML Processor Plan
MetaMatrixComponentException
MetaMatrixProcessingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||