Class GlobalWindow
- java.lang.Object
-
- org.apache.beam.sdk.transforms.windowing.BoundedWindow
-
- org.apache.beam.sdk.transforms.windowing.GlobalWindow
-
public class GlobalWindow extends BoundedWindow
The default window into which all data is placed (viaGlobalWindows
).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GlobalWindow.Coder
GlobalWindow.Coder
for encoding and decodingGlobalWindow
s.
-
Field Summary
Fields Modifier and Type Field Description static GlobalWindow
INSTANCE
Singleton instance ofGlobalWindow
.-
Fields inherited from class org.apache.beam.sdk.transforms.windowing.BoundedWindow
TIMESTAMP_MAX_VALUE, TIMESTAMP_MIN_VALUE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(@Nullable java.lang.Object other)
int
hashCode()
org.joda.time.Instant
maxTimestamp()
Returns the inclusive upper bound of timestamps for values in this window.-
Methods inherited from class org.apache.beam.sdk.transforms.windowing.BoundedWindow
formatTimestamp, validateTimestampBounds
-
-
-
-
Field Detail
-
INSTANCE
public static final GlobalWindow INSTANCE
Singleton instance ofGlobalWindow
.
-
-
Method Detail
-
maxTimestamp
public org.joda.time.Instant maxTimestamp()
Description copied from class:BoundedWindow
Returns the inclusive upper bound of timestamps for values in this window.- Specified by:
maxTimestamp
in classBoundedWindow
-
equals
public boolean equals(@Nullable java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-