isql.expression
Class ColumnExpressionByGroup
java.lang.Object
isql.expression.ColumnExpressionByGroup
- All Implemented Interfaces:
- ISimpleExpression, IWhereExpression, IExpression
public class ColumnExpressionByGroup
- extends java.lang.Object
- implements ISimpleExpression, IWhereExpression
A simple table-column expression.
In this case the SQL query contains a group by claues, so that this expression is repeated
for each row in a group. In other words there is only one value of the expression for the
whole group
- Author:
- SHZ Nov 5, 2007
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ColumnExpressionByGroup
public ColumnExpressionByGroup(ColumnKey key,
Groups groups)
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
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object