private static class RexWindowBound.RexWindowBoundBounded extends RexWindowBound
| Modifier and Type | Field and Description |
|---|---|
private RexNode |
offset |
private SqlKind |
sqlKind |
| Modifier | Constructor and Description |
|---|---|
(package private) |
RexWindowBoundBounded(RexNode node) |
private |
RexWindowBoundBounded(SqlKind sqlKind,
RexNode offset) |
| Modifier and Type | Method and Description |
|---|---|
<R> RexWindowBound |
accept(RexVisitor<R> visitor)
Transforms the bound via
RexVisitor. |
boolean |
equals(Object o) |
RexNode |
getOffset()
Returns offset from XX PRECEDING/FOLLOWING.
|
int |
hashCode() |
boolean |
isFollowing()
Returns if the bound is FOLLOWING.
|
boolean |
isPreceding()
Returns if the bound is PRECEDING.
|
String |
toString() |
create, getOrderKey, isCurrentRow, isUnboundedRexWindowBoundBounded(RexNode node)
public boolean isPreceding()
RexWindowBoundisPreceding in class RexWindowBoundpublic boolean isFollowing()
RexWindowBoundisFollowing in class RexWindowBoundpublic RexNode getOffset()
RexWindowBoundgetOffset in class RexWindowBoundpublic <R> RexWindowBound accept(RexVisitor<R> visitor)
RexWindowBoundRexVisitor.accept in class RexWindowBoundR - return type of the visitorvisitor - visitor to acceptCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.