edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator
Class OrImp

java.lang.Object
  |
  +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp
        |
        +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
              |
              +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
                    |
                    +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATMultiSourceOperatorImp
                          |
                          +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator.OrImp

public class OrImp
extends XATMultiSourceOperatorImp
implements Or

Implementation for the interface Or. It will choose any branch underneath it to evaluation. An op to represent multiple query plans.

Since:
1.0
See Also:
Serialized Form

Field Summary
protected  int executeBranch
           
 
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
columnsFiltered, outputColumnName, xnodOwner, xtabOutput
 
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
stats, statsPresent
 
Constructor Summary
OrImp(XATNode node)
          OrImp constructor comment.
 
Method Summary
 int getExecuteBranch()
          Get the number of the branch to be selected.
 void setExecuteBranch(int newExecuteBranch)
          Set the number of the branch to be selected.
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATMultiSourceOperatorImp
getDataSourceAt, getDataSources, getSourceAt, getSources, setProperty
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
clone, getColumnsFiltered, getNode, getOutput, getOutputColumnName, getOutputDataSource, getOutputDataSources, getPrimaryDataSource, getPrimarySource, setDefaultProperties, setNode, setOutput, setOutputColumnName, toString
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
addStatistic, compareTo, getStatistics, isValidStatistic, setDefaultStatistics
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp
addProperty, getProperties, getProperty, isValidPropertyName, setNewPropertyValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

executeBranch

protected int executeBranch
Constructor Detail

OrImp

public OrImp(XATNode node)
OrImp constructor comment.
Parameters:
node - edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode
Since:
1.0
Method Detail

getExecuteBranch

public int getExecuteBranch()
Get the number of the branch to be selected.
Specified by:
getExecuteBranch in interface Or
Returns:
int
Since:
1.0

setExecuteBranch

public void setExecuteBranch(int newExecuteBranch)
Set the number of the branch to be selected.
Specified by:
setExecuteBranch in interface Or
Parameters:
newExecuteBranch - int
Since:
1.0