public class BoundaryDef extends Object
Constructor and Description |
---|
BoundaryDef(WindowingSpec.Direction direction,
int amt) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BoundaryDef other) |
int |
getAmt()
Returns offset from XX PRECEDING/FOLLOWING.
|
WindowingSpec.Direction |
getDirection() |
int |
getRelativeOffset()
Returns signed offset from XX PRECEDING/FOLLOWING.
|
boolean |
isCurrentRow()
Returns if the bound is CURRENT ROW.
|
boolean |
isFollowing()
Returns if the bound is FOLLOWING.
|
boolean |
isPreceding()
Returns if the bound is PRECEDING.
|
boolean |
isUnbounded() |
String |
toString() |
public BoundaryDef(WindowingSpec.Direction direction, int amt)
public WindowingSpec.Direction getDirection()
public boolean isPreceding()
public boolean isFollowing()
public boolean isCurrentRow()
public int getAmt()
public int getRelativeOffset()
public boolean isUnbounded()
public int compareTo(BoundaryDef other)
Copyright © 2021 The Apache Software Foundation. All rights reserved.