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(java.lang.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.
|
java.lang.String |
toString() |
create, getOrderKey, isCurrentRow, isUnbounded
RexWindowBoundBounded(RexNode node)
public boolean isPreceding()
RexWindowBound
isPreceding
in class RexWindowBound
public boolean isFollowing()
RexWindowBound
isFollowing
in class RexWindowBound
public RexNode getOffset()
RexWindowBound
getOffset
in class RexWindowBound
public <R> RexWindowBound accept(RexVisitor<R> visitor)
RexWindowBound
RexVisitor
.accept
in class RexWindowBound
R
- return type of the visitorvisitor
- visitor to acceptpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.