Package org.apache.calcite.rex
Class RexWindowBounds
java.lang.Object
org.apache.calcite.rex.RexWindowBounds
Helpers for
RexWindowBound.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RexWindowBoundCURRENT ROW.static final RexWindowBoundUNBOUNDED FOLLOWING.static final RexWindowBoundUNBOUNDED PRECEDING. -
Method Summary
Modifier and TypeMethodDescriptionstatic RexWindowBoundCreates a window bound from aSqlNode.static RexWindowBoundstatic 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
-