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

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.sqloperator.SelectImp

public class SelectImp
extends XATOperatorImp
implements Select

Implementation for the Select interface.

Since:
1.0
See Also:
Serialized Form

Field Summary
protected  Expression expression
           
 
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
SelectImp(XATNode xnodInit, Expression exp)
          Assigns a node to this operator and an expression.
 
Method Summary
 void accept(Visitor visitor)
          Used to implement a visitor pattern.
 Expression getExpression()
          Gets select expression.
 void setExpression(Expression newExpression)
          Set select expression.
 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 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

expression

protected Expression expression
Constructor Detail

SelectImp

public SelectImp(XATNode xnodInit,
                 Expression exp)
Assigns a node to this operator and an expression.
Parameters:
xnodInit - edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode
exp - edu.wpi.cs.dsrg.xmldb.xat.common.expression.Expression
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

getExpression

public Expression getExpression()
Gets select expression.
Specified by:
getExpression in interface Select
Returns:
join expression
Since:
1.0

setExpression

public void setExpression(Expression newExpression)
Set select expression.
Specified by:
setExpression in interface Select
Parameters:
new_expression - New Select expression.
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