public abstract class BoundaryDef extends Object
Constructor and Description |
---|
BoundaryDef() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getAmt()
Returns offset from XX PRECEDING/FOLLOWING.
|
WindowingSpec.Direction |
getDirection() |
abstract 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 WindowingSpec.Direction getDirection()
public boolean isPreceding()
public boolean isFollowing()
public boolean isCurrentRow()
public abstract int getAmt()
public abstract int getRelativeOffset()
public boolean isUnbounded()
Copyright © 2016 The Apache Software Foundation. All rights reserved.