@SystemDoFnInternal public class GroupAlsoByWindowViaWindowSetDoFn<K,InputT,OutputT,W extends BoundedWindow,RinT extends org.apache.beam.sdk.util.KeyedWorkItem<K,InputT>> extends DoFn<RinT,KV<K,OutputT>> implements org.apache.beam.sdk.util.DoFnRunner.ReduceFnExecutor<K,InputT,OutputT,W>
GroupAlsoByWindowsDoFn. This delegates all of the logic to the
ReduceFnRunner.DoFn.Context, DoFn.ProcessContext, DoFn.RequiresWindowAccess| Modifier and Type | Field and Description |
|---|---|
protected Aggregator<Long,Long> |
droppedDueToClosedWindow |
protected Aggregator<Long,Long> |
droppedDueToLateness |
| Modifier and Type | Method and Description |
|---|---|
DoFn<org.apache.beam.sdk.util.KeyedWorkItem<K,InputT>,KV<K,OutputT>> |
asDoFn() |
static <K,InputT,OutputT,W extends BoundedWindow> |
create(org.apache.beam.sdk.util.WindowingStrategy<?,W> strategy,
org.apache.beam.sdk.util.SystemReduceFn<K,InputT,?,OutputT,W> reduceFn) |
Aggregator<Long,Long> |
getDroppedDueToLatenessAggregator() |
void |
processElement(DoFn.ProcessContext c) |
createAggregator, createAggregator, finishBundle, getAllowedTimestampSkew, getInputTypeDescriptor, getOutputTypeDescriptor, populateDisplayData, startBundleprotected final Aggregator<Long,Long> droppedDueToClosedWindow
protected final Aggregator<Long,Long> droppedDueToLateness
public static <K,InputT,OutputT,W extends BoundedWindow> DoFn<org.apache.beam.sdk.util.KeyedWorkItem<K,InputT>,KV<K,OutputT>> create(org.apache.beam.sdk.util.WindowingStrategy<?,W> strategy, org.apache.beam.sdk.util.SystemReduceFn<K,InputT,?,OutputT,W> reduceFn)
public void processElement(DoFn.ProcessContext c) throws Exception
processElement in class DoFn<RinT extends org.apache.beam.sdk.util.KeyedWorkItem<K,InputT>,KV<K,OutputT>>Exceptionpublic DoFn<org.apache.beam.sdk.util.KeyedWorkItem<K,InputT>,KV<K,OutputT>> asDoFn()
asDoFn in interface org.apache.beam.sdk.util.DoFnRunner.ReduceFnExecutor<K,InputT,OutputT,W extends BoundedWindow>public Aggregator<Long,Long> getDroppedDueToLatenessAggregator()
getDroppedDueToLatenessAggregator in interface org.apache.beam.sdk.util.DoFnRunner.ReduceFnExecutor<K,InputT,OutputT,W extends BoundedWindow>