|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAggregate
Represents an expression in the SELECT clause. Anything other than an aggregate symbol in the SELECT clause will be referenced by an IExpressionSymbol.
| Field Summary | |
|---|---|
static java.lang.String |
AVG
|
static java.lang.String |
COUNT
|
static java.lang.String |
MAX
|
static java.lang.String |
MIN
|
static java.lang.String |
SUM
|
| Method Summary | |
|---|---|
IExpression |
getExpression()
Get the expression within the aggregate function. |
java.lang.String |
getName()
Get the name of the aggregate function. |
boolean |
isDistinct()
Determine whether this function was executed with DISTINCT. |
void |
setDistinct(boolean isDistinct)
Set whether this function was executed with DISTINCT. |
void |
setExpression(IExpression expression)
Set the expression within the aggregate function. |
void |
setName(java.lang.String name)
Set the name of the aggregate function. |
| Methods inherited from interface org.teiid.connector.language.IExpression |
|---|
getType, setType |
| Methods inherited from interface org.teiid.connector.language.ILanguageObject |
|---|
acceptVisitor |
| Field Detail |
|---|
static final java.lang.String COUNT
static final java.lang.String AVG
static final java.lang.String SUM
static final java.lang.String MIN
static final java.lang.String MAX
| Method Detail |
|---|
java.lang.String getName()
COUNT,
AVG,
SUM,
MIN,
MAXvoid setName(java.lang.String name)
name - New aggregate function nameCOUNT,
AVG,
SUM,
MIN,
MAXboolean isDistinct()
void setDistinct(boolean isDistinct)
isDistinct - True if DISTINCT mode should be usedIExpression getExpression()
void setExpression(IExpression expression)
expression - The new expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||