public final class PaneInfo extends Object
Note: This does not uniquely identify a pane, and should not be used for comparisons.
| Modifier and Type | Class and Description |
|---|---|
static class |
PaneInfo.PaneInfoCoder
A Coder for encoding PaneInfo instances.
|
static class |
PaneInfo.Timing
Enumerates the possibilities for how the timing of this pane firing related to the watermark.
|
| Modifier and Type | Field and Description |
|---|---|
static PaneInfo |
DEFAULT
Until an element has been assigned to a window and had triggers processed, it doesn't belong
to any pane.
|
static PaneInfo |
ON_TIME_AND_ONLY_FIRING
PaneInfo to use when there will be exactly one firing and it is on time.
|
| Modifier and Type | Method and Description |
|---|---|
static PaneInfo |
createPane(boolean isFirst,
boolean isLast,
PaneInfo.Timing timing)
Factory method to create a
PaneInfo with the specified parameters. |
static PaneInfo |
decodePane(byte encodedPane) |
boolean |
equals(Object obj) |
PaneInfo.Timing |
getTiming()
Return true if this is the last pane that will be produced in the associated window.
|
int |
hashCode() |
boolean |
isDefault()
Returns true if this pane corresponds to the
DEFAULT pane. |
boolean |
isFirst()
Return true if this is the first pane produced for the associated window.
|
boolean |
isLast()
Return true if this is the last pane that will be produced in the associated window.
|
boolean |
isUnknown()
Return true if there is no timing information for the current
PaneInfo. |
String |
toString() |
public static final PaneInfo DEFAULT
public static final PaneInfo ON_TIME_AND_ONLY_FIRING
public boolean isDefault()
DEFAULT pane.public static PaneInfo createPane(boolean isFirst, boolean isLast, PaneInfo.Timing timing)
PaneInfo with the specified parameters.public static PaneInfo decodePane(byte encodedPane)
public boolean isUnknown()
PaneInfo.
This typically indicates that the current element has not been assigned to
windows or passed through an operation that executes triggers yet.public boolean isFirst()
public boolean isLast()
public PaneInfo.Timing getTiming()