Class GroupAlsoByWindowViaOutputBufferFn<K,InputT,W extends org.apache.beam.sdk.transforms.windowing.BoundedWindow>
java.lang.Object
org.apache.beam.runners.spark.structuredstreaming.translation.batch.functions.GroupAlsoByWindowViaOutputBufferFn<K,InputT,W>
- All Implemented Interfaces:
Serializable,org.apache.spark.api.java.function.FlatMapGroupsFunction<K,org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K, InputT>>, org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K, Iterable<InputT>>>>
public class GroupAlsoByWindowViaOutputBufferFn<K,InputT,W extends org.apache.beam.sdk.transforms.windowing.BoundedWindow>
extends Object
implements org.apache.spark.api.java.function.FlatMapGroupsFunction<K,org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K,InputT>>,org.apache.beam.sdk.values.WindowedValue<org.apache.beam.sdk.values.KV<K,Iterable<InputT>>>>
A FlatMap function that groups by windows in batch mode using
ReduceFnRunner.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGroupAlsoByWindowViaOutputBufferFn(org.apache.beam.sdk.values.WindowingStrategy<?, W> windowingStrategy, org.apache.beam.runners.core.StateInternalsFactory<K> stateInternalsFactory, org.apache.beam.runners.core.SystemReduceFn<K, InputT, Iterable<InputT>, Iterable<InputT>, W> reduceFn, Supplier<org.apache.beam.sdk.options.PipelineOptions> options) -
Method Summary
-
Constructor Details
-
GroupAlsoByWindowViaOutputBufferFn
public GroupAlsoByWindowViaOutputBufferFn(org.apache.beam.sdk.values.WindowingStrategy<?, W> windowingStrategy, org.apache.beam.runners.core.StateInternalsFactory<K> stateInternalsFactory, org.apache.beam.runners.core.SystemReduceFn<K, InputT, Iterable<InputT>, Iterable<InputT>, W> reduceFn, Supplier<org.apache.beam.sdk.options.PipelineOptions> options)
-
-
Method Details
-
call
-