| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.connectivity.oda.spec.result.ResultProjection
public class ResultProjection
Specification for the projection of an IResultSet 
 to be retrieved by an associated IQuery.
| Method Summary | |
|---|---|
|  void | addResultColumn(ExpressionVariable columnExprVariable)Appends a new result column to the query result set. | 
|  java.util.Map<ColumnIdentifier,ExpressionVariable> | getAddedResultColumns()Returns a map of result columns that are to be dynamically added to the query result set. | 
|  java.util.Map<ColumnIdentifier,AggregateExpression> | getAggregatedColumns()Returns a map of projected columns, each with corresponding aggregate expression. | 
|  AggregateExpression | getAggregateProjection(ColumnIdentifier resultColumn)Gets the aggregate expression on the specified result set column. | 
|  java.util.List<ColumnIdentifier> | getHiddenResultColumns()Returns a list of result columns that are to be dynamically hidden from the query result set. | 
|  void | hideResultColumn(ColumnIdentifier resultColumn)Hides the specified result column in the query result. | 
|  boolean | isEmpty()Indicates whether this has an empty content. | 
|  void | setProjection(ColumnIdentifier resultColumn,
              AggregateExpression aggregate)Specifies an aggregate expression whose output value is projected on the specified result set column identifier. | 
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Method Detail | 
|---|
public void setProjection(ColumnIdentifier resultColumn,
                          AggregateExpression aggregate)
                   throws OdaException
resultColumn - the column identifier in the projected result set targeted for the 
          output of the specified aggregate expressionaggregate - an AggregateExpression whose output value is projected on the 
                  specified result set column
OdaExceptionpublic AggregateExpression getAggregateProjection(ColumnIdentifier resultColumn)
resultColumnNum - the projected column number (1-based) in the result set
AggregateExpression whose output value is projected on the 
                  specified result set column, or null if none is specifiedsetProjection(ColumnIdentifier, AggregateExpression)public java.util.Map<ColumnIdentifier,AggregateExpression> getAggregatedColumns()
setProjection(ColumnIdentifier, AggregateExpression), 
#addResultColumn(AggregateExpression)
public void addResultColumn(ExpressionVariable columnExprVariable)
                     throws OdaException
columnExprVariable - a variable that resolves to the value of the new column
OdaExceptionpublic java.util.Map<ColumnIdentifier,ExpressionVariable> getAddedResultColumns()
addResultColumn(ExpressionVariable), 
#addResultColumn(AggregateExpression)
public void hideResultColumn(ColumnIdentifier resultColumn)
                      throws OdaException
resultColumn - 
OdaExceptionpublic java.util.List<ColumnIdentifier> getHiddenResultColumns()
hideResultColumn(ColumnIdentifier)public boolean isEmpty()
public java.lang.String toString()
toString in class java.lang.Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||