SAP J2EE Engine

Version 6.40


com.sapportals.connector.execution.objects.language
Interface IAggregateSymbol

All Superinterfaces:
IExpressionSymbol, ILanguageObject, ISelectSymbol, ISymbol

public interface IAggregateSymbol
extends IExpressionSymbol

This interface marks SQL operation symbols that are a part of the SELECT clause of a query. The symbol is an aggregate function. In case the symbol is COUNT(*), the expression will be null.

Version:
1.0

Field Summary
static java.lang.String AGGREGATION_FUNCTION_AVG
          This represents the average aggregation function
static java.lang.String AGGREGATION_FUNCTION_COUNT
          This represents the count aggregation function
static java.lang.String AGGREGATION_FUNCTION_MAX
          This represents the maximum aggregation function
static java.lang.String AGGREGATION_FUNCTION_MIN
          This represents the minimum aggregation function
static java.lang.String AGGREGATION_FUNCTION_SUM
          This represents the summary aggregation function
 
Method Summary
 java.lang.String getAggregateFunction()
          Returns the aggregate function type;.
 IExpression getExpression()
          Returns the expression for this symbol.
 boolean isDistinct()
          Returns whether the aggregation is distinct
 
Methods inherited from interface com.sapportals.connector.execution.objects.language.ISelectSymbol
getType
 
Methods inherited from interface com.sapportals.connector.execution.objects.language.ISymbol
getName
 

Field Detail

AGGREGATION_FUNCTION_COUNT

public static final java.lang.String AGGREGATION_FUNCTION_COUNT
This represents the count aggregation function

AGGREGATION_FUNCTION_AVG

public static final java.lang.String AGGREGATION_FUNCTION_AVG
This represents the average aggregation function

AGGREGATION_FUNCTION_SUM

public static final java.lang.String AGGREGATION_FUNCTION_SUM
This represents the summary aggregation function

AGGREGATION_FUNCTION_MIN

public static final java.lang.String AGGREGATION_FUNCTION_MIN
This represents the minimum aggregation function

AGGREGATION_FUNCTION_MAX

public static final java.lang.String AGGREGATION_FUNCTION_MAX
This represents the maximum aggregation function
Method Detail

getExpression

public IExpression getExpression()
Returns the expression for this symbol.
Specified by:
getExpression in interface IExpressionSymbol
Returns:
IExpression

getAggregateFunction

public java.lang.String getAggregateFunction()
Returns the aggregate function type;.
Returns:
IExpression

isDistinct

public boolean isDistinct()
Returns whether the aggregation is distinct
Returns:
boolean

SAP J2EE Engine

Version 6.40


Copyright © 2001-2005 SAP AG. All Rights Reserved.