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
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.XATOperatorImp |
clone,
getColumnsFiltered,
getNode,
getOutput,
getOutputColumnName,
getOutputDataSource,
getOutputDataSources,
getPrimaryDataSource,
getPrimarySource,
setDefaultProperties,
setNode,
setOutput,
setOutputColumnName,
setProperty |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
xtreFunctions
protected XATTree xtreFunctions
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.XATNodextreFuncInit
- is the groupby XAT tree- Since:
- 1.0
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