isql.expression
Class UnaryExpression
java.lang.Object
isql.expression.UnaryExpression
- All Implemented Interfaces:
- IExpression
public class UnaryExpression
- extends java.lang.Object
- implements IExpression
To evaluate an expression with an unary operator
- Author:
- SHZ Oct 16, 2007
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UnaryExpression
public UnaryExpression(IExpression expression,
IUnary unary)
getInvolvedColumns
public java.util.Set<ColumnKey> getInvolvedColumns()
- Description copied from interface:
IExpression
- Returns the table columns named in the expression
- Specified by:
getInvolvedColumns
in interface IExpression
- Returns:
- the identifiers of the columns
getResult
public ITypedValue getResult()
throws ISQLException
- Description copied from interface:
IExpression
- Get the result of the expression (can be a constant or
an array)
- Specified by:
getResult
in interface IExpression
- Returns:
- the result
- Throws:
ISQLException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object