public class ValueBoundaryDef extends BoundaryDef
Constructor and Description |
---|
ValueBoundaryDef(WindowingSpec.Direction direction,
int amt) |
Modifier and Type | Method and Description |
---|---|
void |
addOrderExpressionDef(OrderExpressionDef expressionDef) |
int |
compareTo(BoundaryDef other) |
int |
getAmt()
Returns offset from XX PRECEDING/FOLLOWING.
|
OrderDef |
getOrderDef() |
int |
getRelativeOffset()
Returns signed offset from XX PRECEDING/FOLLOWING.
|
boolean |
isFollowing()
Returns if the bound is FOLLOWING.
|
boolean |
isPreceding()
Returns if the bound is PRECEDING.
|
getDirection, isCurrentRow, isUnbounded, toString
public ValueBoundaryDef(WindowingSpec.Direction direction, int amt)
public int compareTo(BoundaryDef other)
public OrderDef getOrderDef()
public void addOrderExpressionDef(OrderExpressionDef expressionDef)
public int getAmt()
BoundaryDef
getAmt
in class BoundaryDef
public int getRelativeOffset()
BoundaryDef
getRelativeOffset
in class BoundaryDef
public boolean isPreceding()
BoundaryDef
isPreceding
in class BoundaryDef
public boolean isFollowing()
BoundaryDef
isFollowing
in class BoundaryDef
Copyright © 2016 The Apache Software Foundation. All rights reserved.