edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator
Class FORImp
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.specialoperator.FORImp
- public class FORImp
- extends ColumnNameListImp
- implements FOR
Implementation for the interface For.
The FOR is for XML Algebra. Op1[FOR(CB)[Op2[Correlated Operator[A],B]]] -->
Op1[Groupby(CB, Op2[])[Operator[Cartesian[A,B]]]]
- Since:
- 1.0
- See Also:
- Serialized Form
Constructor Summary |
FORImp(XATNode xnodInit)
Assign a node to this operator . |
FORImp(XATNode xnodInit,
XATTree xtreFuncInit)
Assign a node to and a tree this operator . |
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
FORImp
public FORImp(XATNode xnodInit)
- Assign a node to this operator .
- Parameters:
xnodInit
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode- Since:
- 1.0
FORImp
public FORImp(XATNode xnodInit,
XATTree xtreFuncInit)
- Assign a node to and a tree this operator .
- Parameters:
xnodInit
- is the nodextreFuncInit
- is the 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
getInnerSource
public XATTable getInnerSource()
- Gets inner data source.
- Specified by:
- getInnerSource in interface FOR
- Returns:
- inner data source.
- Since:
- 1.0
getOuterSource
public XATTable getOuterSource()
- Gets outer data source. It should be same as the getPrimarySource.
- Specified by:
- getOuterSource in interface FOR
- Returns:
- outer data source.
- Since:
- 1.0
getXtreFunctions
public XATTree getXtreFunctions()
- Get the tree for the FOR node.
- Specified by:
- getXtreFunctions in interface FOR
- Returns:
- the XAT tree.
- Since:
- 1.0
setXtreFunctions
public void setXtreFunctions(XATTree xat)
- Sets the tree for the FOR node.
- Specified by:
- setXtreFunctions in interface FOR
- Parameters:
xat
- is the For node tree.- Since:
- 1.0
toString
public java.lang.String toString()
- returns a string representation
- Overrides:
- toString in class ColumnNameListImp
- Returns:
- java.lang.String
- Since:
- 1.0