edu.wpi.cs.dsrg.xmldb.xat.common.operator.xmloperator
Class AggregateImp
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.xmloperator.AggregateImp
- public class AggregateImp
- extends XATOperatorImp
- implements Aggregate
Implementation for the Aggregate interface.
Aggregate treats the whole input table as one group, and apply the XATTree on the input table.
We distinguish the Aggregate from the GroupBy operator, because we think the Aggregate is for the XML query,
but the GroupBy is for the SQL query.
- Since:
- 1.0
- See Also:
- Serialized Form
Method Summary |
void |
accept(Visitor visitor)
Used to implement a visitor pattern. |
XATTree |
getXATTree()
Gets the XAT tree associated with this operator. |
void |
setXATTree(XATTree newXAT)
Sets the XAT tree (the group Operators) for this aggregate. |
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 |
AggregateImp
public AggregateImp(XATNode xnodInit)
- Assigns a node to this operator .
- Parameters:
XATNode
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode- Since:
- 1.0
AggregateImp
public AggregateImp(XATNode xnodInit,
XATTree xtreFuncInit)
- Assigns a node to this operator and the XAT tree.
- Parameters:
XATNode
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodextreFuncInit
- XATTree- 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 the XAT tree associated with this operator.
- Specified by:
- getXATTree in interface Aggregate
- Returns:
- XATTree
- Since:
- 1.0
setXATTree
public void setXATTree(XATTree newXAT)
- Sets the XAT tree (the group Operators) for this aggregate.
- Specified by:
- setXATTree in interface Aggregate
- Parameters:
String
- - 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