|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.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 if the condition evaluates to true.
| Constructor Summary | |
|---|---|
Condition(Program thenProgram)
|
|
| Method Summary | |
|---|---|
abstract boolean |
evaluate(XMLProcessorEnvironment env,
org.teiid.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 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 to be run immediately.
public boolean isProgramRecursive()
public abstract boolean evaluate(XMLProcessorEnvironment env,
org.teiid.query.processor.xml.XMLContext ontext)
throws TeiidComponentException,
TeiidProcessingException
elementMap - Map of elements to their index in the currentRowDatacurrentRowData - List of Objects representing the current row of
the result set(s)env - XMLProcessorEnvironment of the XMLPlan, maintains state of the running
XML Processor Plan
TeiidComponentException
TeiidProcessingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||