Class RexWindowBound.RexWindowBoundCurrentRow

  • Enclosing class:
    RexWindowBound

    private static class RexWindowBound.RexWindowBoundCurrentRow
    extends RexWindowBound
    Implements CURRENT ROW bound.
    • Constructor Detail

      • RexWindowBoundCurrentRow

        private RexWindowBoundCurrentRow()
    • Method Detail

      • isCurrentRow

        public boolean isCurrentRow()
        Description copied from class: RexWindowBound
        Returns if the bound is CURRENT ROW.
        Overrides:
        isCurrentRow in class RexWindowBound
        Returns:
        if the bound is CURRENT ROW
      • 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 obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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