Class RexWindowBound.RexWindowBoundUnbounded

  • Enclosing class:
    RexWindowBound

    private static class RexWindowBound.RexWindowBoundUnbounded
    extends RexWindowBound
    Implements UNBOUNDED PRECEDING/FOLLOWING bound.
    • Field Detail

    • Constructor Detail

      • RexWindowBoundUnbounded

        RexWindowBoundUnbounded​(SqlNode node)
    • Method Detail

      • isUnbounded

        public boolean isUnbounded()
        Description copied from class: RexWindowBound
        Returns if the bound is unbounded.
        Overrides:
        isUnbounded in class RexWindowBound
        Returns:
        if the bound is unbounded
      • isPreceding

        public boolean isPreceding()
        Description copied from class: RexWindowBound
        Returns if the bound is PRECEDING.
        Overrides:
        isPreceding in class RexWindowBound
        Returns:
        if the bound is PRECEDING
      • isFollowing

        public boolean isFollowing()
        Description copied from class: RexWindowBound
        Returns if the bound is FOLLOWING.
        Overrides:
        isFollowing in class RexWindowBound
        Returns:
        if the bound is FOLLOWING
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getOrderKey

        public int getOrderKey()
        Description copied from class: RexWindowBound
        Returns relative sort offset when known at compile time. For instance, UNBOUNDED PRECEDING is less than CURRENT ROW.
        Overrides:
        getOrderKey in class RexWindowBound
        Returns:
        relative order or -1 when order is not known
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object