public final class RexWindowBounds extends Object
RexWindowBound.| Modifier and Type | Field and Description |
|---|---|
static RexWindowBound |
CURRENT_ROW
CURRENT ROW.
|
static RexWindowBound |
UNBOUNDED_FOLLOWING
UNBOUNDED FOLLOWING.
|
static RexWindowBound |
UNBOUNDED_PRECEDING
UNBOUNDED PRECEDING.
|
| Modifier and Type | Method and Description |
|---|---|
static RexWindowBound |
create(SqlNode node,
@Nullable RexNode rexNode)
Creates a window bound from a
SqlNode. |
static RexWindowBound |
following(RexNode offset) |
static RexWindowBound |
preceding(RexNode offset) |
public static final RexWindowBound UNBOUNDED_PRECEDING
public static final RexWindowBound UNBOUNDED_FOLLOWING
public static final RexWindowBound CURRENT_ROW
public static RexWindowBound create(SqlNode node, @Nullable RexNode rexNode)
SqlNode.node - SqlNode of the boundrexNode - offset value when bound is not UNBOUNDED/CURRENT ROWpublic static RexWindowBound following(RexNode offset)
public static RexWindowBound preceding(RexNode offset)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.