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 final int
    INTERNAL: Constant referring to the COUNT aggregate function.
  • Method Summary

    Modifier and Type
    Method
    Description
    INTERNAL: The column alias to use if this value is included in the projection.
    INTERNAL: Returns the referenced aggregate if one exists.
    int
    INTERNAL: Returns the aggregate function type indicated by one of the constants in the SQLAggregateIF interface.
    INTERNAL: Returns the SQLValueIF that the aggregate function is to be evaluated against.
    boolean
    INTERNAL: Returns true if this aggregate is a reference to another.
    void
    INTERNAL: Sets the column alias.
    void
    INTERNAL: Sets the SQLValueIF that the aggregate function is to be evaluated against.
  • Field Details

    • COUNT

      static final int COUNT
      INTERNAL: 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 the SQLAggregateIF 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 as from 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.