public static class WindowingSpec.BoundarySpec extends Object implements Comparable<WindowingSpec.BoundarySpec>
Modifier and Type | Field and Description |
---|---|
static int |
UNBOUNDED_AMOUNT |
Constructor and Description |
---|
BoundarySpec() |
BoundarySpec(WindowingSpec.Direction direction) |
BoundarySpec(WindowingSpec.Direction direction,
int amt) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WindowingSpec.BoundarySpec other) |
int |
getAmt() |
WindowingSpec.Direction |
getDirection() |
boolean |
isBounded() |
boolean |
isBoundedNotCurrent()
Returns true for bounded non-current frames.
|
void |
setAmt(int amt) |
void |
setDirection(WindowingSpec.Direction direction) |
String |
toString() |
public static final int UNBOUNDED_AMOUNT
public BoundarySpec()
public BoundarySpec(WindowingSpec.Direction direction)
public BoundarySpec(WindowingSpec.Direction direction, int amt)
public WindowingSpec.Direction getDirection()
public void setDirection(WindowingSpec.Direction direction)
public int getAmt()
public void setAmt(int amt)
public boolean isBounded()
public boolean isBoundedNotCurrent()
public int compareTo(WindowingSpec.BoundarySpec other)
compareTo
in interface Comparable<WindowingSpec.BoundarySpec>
Copyright © 2022 The Apache Software Foundation. All rights reserved.