Package org.apache.calcite.rex
Class RexWindowBounds
java.lang.Object
org.apache.calcite.rex.RexWindowBounds
Helpers for
RexWindowBound
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final RexWindowBound
CURRENT ROW.static final RexWindowBound
UNBOUNDED FOLLOWING.static final RexWindowBound
UNBOUNDED PRECEDING. -
Method Summary
Modifier and TypeMethodDescriptionstatic RexWindowBound
Creates a window bound from aSqlNode
.static RexWindowBound
static RexWindowBound
-
Field Details
-
UNBOUNDED_PRECEDING
UNBOUNDED PRECEDING. -
UNBOUNDED_FOLLOWING
UNBOUNDED FOLLOWING. -
CURRENT_ROW
CURRENT ROW.
-
-
Method Details
-
create
Creates a window bound from aSqlNode
.- Parameters:
node
- SqlNode of the boundrexNode
- offset value when bound is not UNBOUNDED/CURRENT ROW- Returns:
- window bound
-
following
-
preceding
-