T - type of elements being windowedW - BoundedWindow subclass used to represent the windows used by this
WindowingFnpublic abstract class NonMergingWindowingFn<T,W extends BoundedWindow> extends WindowingFn<T,W>
WindowingFns that do not merge windows.WindowingFn.AssignContext, WindowingFn.MergeContext| Constructor and Description |
|---|
NonMergingWindowingFn() |
| Modifier and Type | Method and Description |
|---|---|
void |
mergeWindows(WindowingFn.MergeContext c)
Does whatever merging of windows is necessary.
|
assignWindows, isCompatible, windowCoderpublic final void mergeWindows(WindowingFn.MergeContext c)
WindowingFn See MergeOverlappingIntervalWindows.mergeWindows(com.google.cloud.dataflow.sdk.transforms.windowing.WindowingFn<?, com.google.cloud.dataflow.sdk.transforms.windowing.IntervalWindow>.MergeContext) for an
example of how to override this method.
mergeWindows in class WindowingFn<T,W extends BoundedWindow>