Interface SQLAggregateIF
-
- All Known Implementing Classes:
SQLAggregate,SQLAggregateReference
public interface SQLAggregateIFINTERNAL: Represents an aggregate function in a SQL query.
-
-
Field Summary
Fields Modifier and Type Field Description static intCOUNTINTERNAL: Constant referring to the COUNT aggregate function.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAlias()INTERNAL: The column alias to use if this value is included in the projection.SQLAggregateIFgetReference()INTERNAL: Returns the referenced aggregate if one exists.intgetType()INTERNAL: Returns the aggregate function type indicated by one of the constants in theSQLAggregateIFinterface.SQLValueIFgetValue()INTERNAL: Returns the SQLValueIF that the aggregate function is to be evaluated against.booleanisReference()INTERNAL: Returns true if this aggregate is a reference to another.voidsetAlias(String alias)INTERNAL: Sets the column alias.voidsetValue(SQLValueIF value)INTERNAL: Sets the SQLValueIF that the aggregate function is to be evaluated against.
-
-
-
Field Detail
-
COUNT
static final int COUNT
INTERNAL: Constant referring to the COUNT aggregate function.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
int getType()
INTERNAL: Returns the aggregate function type indicated by one of the constants in theSQLAggregateIFinterface.
-
getValue
SQLValueIF getValue()
INTERNAL: Returns the SQLValueIF that the aggregate function is to be evaluated against.
-
setValue
void setValue(SQLValueIF value)
INTERNAL: Sets the SQLValueIF that the aggregate function is to be evaluated against.
-
getAlias
String getAlias()
INTERNAL: The column alias to use if this value is included in the projection. The SQL select syntax is typically like "select value asfrom foo".
-
setAlias
void setAlias(String alias)
INTERNAL: Sets the column alias.
-
isReference
boolean isReference()
INTERNAL: Returns true if this aggregate is a reference to another.
-
getReference
SQLAggregateIF getReference()
INTERNAL: Returns the referenced aggregate if one exists.
-
-