public class RangeBoundaryDef extends BoundaryDef
Constructor and Description |
---|
RangeBoundaryDef(WindowingSpec.Direction direction,
int amt) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BoundaryDef other) |
int |
getAmt()
Returns offset from XX PRECEDING/FOLLOWING.
|
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 RangeBoundaryDef(WindowingSpec.Direction direction, int amt)
public int compareTo(BoundaryDef other)
public int getAmt()
BoundaryDef
getAmt
in class BoundaryDef
public boolean isPreceding()
BoundaryDef
isPreceding
in class BoundaryDef
public boolean isFollowing()
BoundaryDef
isFollowing
in class BoundaryDef
public int getRelativeOffset()
BoundaryDef
getRelativeOffset
in class BoundaryDef
Copyright © 2017 The Apache Software Foundation. All rights reserved.