public class GlobalWindow extends NonMergingWindowingFn<java.lang.Object,GlobalWindow.Window>
WindowingFn where all data is in the same bucket.| Modifier and Type | Class and Description |
|---|---|
static class |
GlobalWindow.Window
The default window into which all data is placed.
|
WindowingFn.AssignContext, WindowingFn.MergeContext| Constructor and Description |
|---|
GlobalWindow() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<GlobalWindow.Window> |
assignWindows(WindowingFn.AssignContext c)
Given a timestamp and element, returns the set of windows into which it
should be placed.
|
boolean |
isCompatible(WindowingFn o)
Returns whether this performs the same merging as the given
WindowingFn. |
Coder<GlobalWindow.Window> |
windowCoder()
Returns the
Coder used for serializing the windows used
by this windowingFn. |
mergeWindowspublic java.util.Collection<GlobalWindow.Window> assignWindows(WindowingFn.AssignContext c)
WindowingFnassignWindows in class WindowingFn<java.lang.Object,GlobalWindow.Window>public boolean isCompatible(WindowingFn o)
WindowingFnWindowingFn.isCompatible in class WindowingFn<java.lang.Object,GlobalWindow.Window>public Coder<GlobalWindow.Window> windowCoder()
WindowingFnCoder used for serializing the windows used
by this windowingFn.windowCoder in class WindowingFn<java.lang.Object,GlobalWindow.Window>