Class AggQuerySpec


  • class AggQuerySpec
    extends Object
    An AggStar's version of the QuerySpec.

    When/if the AggStar code is merged into RolapStar (or RolapStar is merged into AggStar}, then this, indeed, can implement the QuerySpec interface.

    Author:
    Richard M. Emberson
    • Method Detail

      • newSqlQuery

        protected SqlQuery newSqlQuery()
      • getMeasureCount

        public int getMeasureCount()
      • getMeasureAlias

        public String getMeasureAlias​(int i)
      • getColumnCount

        public int getColumnCount()
      • getColumnAlias

        public String getColumnAlias​(int i)
      • getPredicate

        public StarColumnPredicate getPredicate​(int i)
        Returns the predicate on the ith column.

        If the column is unconstrained, returns LiteralStarPredicate(true).

        Parameters:
        i - Column ordinal
        Returns:
        Constraint on column
      • addMeasure

        protected void addMeasure​(int i,
                                  SqlQuery query)
      • generateSql

        protected void generateSql​(SqlQuery sqlQuery)