Package org.apache.calcite.rex
Class RexWindowBound.RexWindowBoundCurrentRow
- java.lang.Object
-
- org.apache.calcite.rex.RexWindowBound
-
- org.apache.calcite.rex.RexWindowBound.RexWindowBoundCurrentRow
-
- Enclosing class:
- RexWindowBound
private static class RexWindowBound.RexWindowBoundCurrentRow extends RexWindowBound
Implements CURRENT ROW bound.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RexWindowBoundCurrentRow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getOrderKey()
Returns relative sort offset when known at compile time.int
hashCode()
boolean
isCurrentRow()
Returns if the bound is CURRENT ROW.java.lang.String
toString()
-
Methods inherited from class org.apache.calcite.rex.RexWindowBound
accept, create, getOffset, isFollowing, isPreceding, isUnbounded
-
-
-
-
Method Detail
-
isCurrentRow
public boolean isCurrentRow()
Description copied from class:RexWindowBound
Returns if the bound is CURRENT ROW.- Overrides:
isCurrentRow
in classRexWindowBound
- Returns:
- if the bound is CURRENT ROW
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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 classRexWindowBound
- Returns:
- relative order or -1 when order is not known
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-