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

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.ColumnNameListImp
                          |
                          +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.sqloperator.GroupByImp

public class GroupByImp
extends ColumnNameListImp
implements GroupBy

Implementation for the GroupBy interface.

Since:
1.0
See Also:
Serialized Form

Field Summary
protected  XATTree xtreFunctions
           
 
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.ColumnNameListImp
vColNames
 
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
GroupByImp(XATNode xnodInit)
          Assigns a node to this operator .
GroupByImp(XATNode xnodInit, XATTree xtreFuncInit)
          Assigns a node to this operator and an XAT tree (subquery) .
 
Method Summary
 void accept(Visitor visitor)
          Used to implement a visitor pattern.
 XATTree getXATTree()
          Gets a the XAT tree associtaed with this GroupBy (the groupby subquery).
 XATTree setXATTree(XATTree newXAT)
          Gets a the XAT tree associtaed with this GroupBy (the groupby subquery).
 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.ColumnNameListImp
addColumnName, deleteColumnName, getColumnNames, insertColumnName, setColumnName, setColumnNames, updateColumnName
 
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, setProperty
 
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

xtreFunctions

protected XATTree xtreFunctions
Constructor Detail

GroupByImp

public GroupByImp(XATNode xnodInit)
Assigns a node to this operator .
Parameters:
node - edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode
Since:
1.0

GroupByImp

public GroupByImp(XATNode xnodInit,
                  XATTree xtreFuncInit)
Assigns a node to this operator and an XAT tree (subquery) .
Parameters:
node - edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode
xtreFuncInit - is the groupby XAT tree
Since:
1.0
Method Detail

accept

public void accept(Visitor visitor)
Used to implement a visitor pattern.
Parameters:
visitor - for the visitor pattern
Since:
1.0

getXATTree

public XATTree getXATTree()
Gets a the XAT tree associtaed with this GroupBy (the groupby subquery).
Specified by:
getXATTree in interface GroupBy
Returns:
the GroupBy XAT tree
Since:
1.0

setXATTree

public XATTree setXATTree(XATTree newXAT)
Gets a the XAT tree associtaed with this GroupBy (the groupby subquery).
Specified by:
setXATTree in interface GroupBy
Returns:
the GroupBy XAT tree
Since:
1.0

toString

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