|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.common.expression.UniMinusExpressionImp
This class defines a Uniary minus expression.
Constructor Summary | |
UniMinusExpressionImp(Expression exp)
The default UniMinusExpressionImp constructor. |
Method Summary | |
java.lang.Object |
eval(XATOperator xopOper,
int[] iPositions)
Evaluate the expression of the XATOperator. |
Expression |
getExpression()
Get the expression. |
ColumnName[] |
getRelatedColumnNames()
get column names related with expression. |
void |
setExpression(Expression exp)
Set this uniary expression using given expression. |
java.lang.String |
toSQL(OperatorEvaluator soe)
Convert the expression as a SQL statement. |
java.lang.String |
toString()
Output a string of this expression. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public UniMinusExpressionImp(Expression exp)
exp
- The expression used to construct the UniMinusExpression.Method Detail |
public java.lang.Object eval(XATOperator xopOper, int[] iPositions)
xopOper
- The operator evaluated.iPositions
- The position of tuple in the XATTable.public Expression getExpression()
public ColumnName[] getRelatedColumnNames()
public void setExpression(Expression exp)
The
- given expression used to set this uniary expression.public java.lang.String toSQL(OperatorEvaluator soe)
soe
- The operator evaluator for SQL generation.public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |