Interface SQLAggregateIF
-
- All Known Implementing Classes:
SQLAggregate
,SQLAggregateReference
public interface SQLAggregateIF
INTERNAL: Represents an aggregate function in a SQL query.
-
-
Field Summary
Fields Modifier and Type Field Description static int
COUNT
INTERNAL: Constant referring to the COUNT aggregate function.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAlias()
INTERNAL: The column alias to use if this value is included in the projection.SQLAggregateIF
getReference()
INTERNAL: Returns the referenced aggregate if one exists.int
getType()
INTERNAL: Returns the aggregate function type indicated by one of the constants in theSQLAggregateIF
interface.SQLValueIF
getValue()
INTERNAL: Returns the SQLValueIF that the aggregate function is to be evaluated against.boolean
isReference()
INTERNAL: Returns true if this aggregate is a reference to another.void
setAlias(String alias)
INTERNAL: Sets the column alias.void
setValue(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 theSQLAggregateIF
interface.
-
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.
-
-