edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator
Class XQueryStmtImp

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.specialoperator.XQueryStmtImp

public class XQueryStmtImp
extends XATOperatorImp
implements XQueryStmt

Implementation for interface XQueryStmt.

Since:
1.0
See Also:
Serialized Form

Field Summary
protected  java.lang.String sOrgColumnName
           
protected  java.lang.String sXQueryStmt
           
 
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
XQueryStmtImp(XATNode xnodInit)
          Assigns a node to this operator .
XQueryStmtImp(XATNode xnodInit, java.lang.String sXQueryStmtInit)
          Assigns a node to this operator and an XQuery Statement.
 
Method Summary
 void accept(Visitor visitor)
          It used to implement a visitor pattern.
 java.lang.String getStmt()
          Get the current XQuery statement in the XQuery operator.
 void setStmt(java.lang.String newXQuery)
          Set the XQuery stored in this XQuery operator.
 java.lang.String toString()
          returns a string representation
 
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

sXQueryStmt

protected java.lang.String sXQueryStmt

sOrgColumnName

protected java.lang.String sOrgColumnName
Constructor Detail

XQueryStmtImp

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

XQueryStmtImp

public XQueryStmtImp(XATNode xnodInit,
                     java.lang.String sXQueryStmtInit)
Assigns a node to this operator and an XQuery Statement.
Parameters:
xnodInit - edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode
sXQueryStmtInitis - the XQuery Statement
Since:
1.0
Method Detail

accept

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

getStmt

public java.lang.String getStmt()
Get the current XQuery statement in the XQuery operator.
Specified by:
getStmt in interface XQueryStmt
Returns:
current XQuery language.
Since:
1.0

setStmt

public void setStmt(java.lang.String newXQuery)
Set the XQuery stored in this XQuery operator.
Specified by:
setStmt in interface XQueryStmt
Parameters:
newXQuery - the new XQuery statement.
Returns:
original XQuery statement.
Since:
1.0

toString

public java.lang.String toString()
returns a string representation
Overrides:
toString in class XATOperatorImp
Returns:
java.lang.String
Since:
1.0