Interface SQLAggregateIF
- All Known Implementing Classes:
SQLAggregate,SQLAggregateReference
public interface SQLAggregateIF
INTERNAL: Represents an aggregate function in a SQL query.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intINTERNAL: Constant referring to the COUNT aggregate function. -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()INTERNAL: The column alias to use if this value is included in the projection.INTERNAL: Returns the referenced aggregate if one exists.intgetType()INTERNAL: Returns the aggregate function type indicated by one of the constants in theSQLAggregateIFinterface.getValue()INTERNAL: Returns the SQLValueIF that the aggregate function is to be evaluated against.booleanINTERNAL: Returns true if this aggregate is a reference to another.voidINTERNAL: Sets the column alias.voidsetValue(SQLValueIF value) INTERNAL: Sets the SQLValueIF that the aggregate function is to be evaluated against.
-
Field Details
-
COUNT
static final int COUNTINTERNAL: Constant referring to the COUNT aggregate function.- See Also:
-
-
Method Details
-
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
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
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.
-