Class OverSpec.GroupSpec

  • Enclosing class:
    OverSpec

    public static class OverSpec.GroupSpec
    extends Object
    OverSpec.GroupSpec describes group of over aggregate calls that have the same window specification.

    The specification is defined by an upper and lower bound, and also has zero or more order-by columns.

    This class corresponds to Window.Group, but different from Group, the partition spec is defined in OverSpec.

    • Constructor Detail

      • GroupSpec

        public GroupSpec​(SortSpec sort,
                         boolean isRows,
                         org.apache.calcite.rex.RexWindowBound lowerBound,
                         org.apache.calcite.rex.RexWindowBound upperBound,
                         List<org.apache.calcite.rel.core.AggregateCall> aggCalls)
    • Method Detail

      • isRows

        public boolean isRows()
      • getLowerBound

        public org.apache.calcite.rex.RexWindowBound getLowerBound()
      • getUpperBound

        public org.apache.calcite.rex.RexWindowBound getUpperBound()
      • getAggCalls

        public List<org.apache.calcite.rel.core.AggregateCall> getAggCalls()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object