edu.wpi.cs.dsrg.xmldb.xat.common.operator.sqloperator
Class CartesianProductImp

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.sqloperator.CartesianProductImp
Direct Known Subclasses:
JoinImp

public class CartesianProductImp
extends XATMultiSourceOperatorImp
implements XATMultiSourceOperator, CartesianProduct

Creates a CartesianProduct node. Used during query decorrelation when there are multiple sources in a tree. The CartesianProduct node combines the multiple sources at the bottom of the tree.

Since:
1.0
See Also:
Serialized Form

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
CartesianProductImp(XATNode node)
          Assign a node to this operator .
 
Method Summary
 XATTable getLeft()
          Returns the left XAT table
 XATTable getRight()
          Returns the right XAT table
 java.lang.String toString()
          Returns a String that represents the value of this object.
 
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
 
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
 

Constructor Detail

CartesianProductImp

public CartesianProductImp(XATNode node)
Assign a node to this operator .
Parameters:
node - edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode
Since:
1.0
Method Detail

getLeft

public XATTable getLeft()
Returns the left XAT table
Specified by:
getLeft in interface CartesianProduct
Returns:
the left XATTable.
Since:
1.0

getRight

public XATTable getRight()
Returns the right XAT table
Specified by:
getRight in interface CartesianProduct
Returns:
the right XATTable.
Since:
1.0

toString

public java.lang.String toString()
Returns a String that represents the value of this object.
Overrides:
toString in class XATOperatorImp
Returns:
a string representation of the receiver
Since:
1.0