public class SystemReduceFnBuffering<K,T,W extends BoundedWindow>
extends org.apache.beam.runners.core.SystemReduceFn<K,T,java.lang.Iterable<T>,java.lang.Iterable<T>,W>
Constructor and Description |
---|
SystemReduceFnBuffering() |
SystemReduceFnBuffering(Coder<T> valueCoder) |
Modifier and Type | Method and Description |
---|---|
void |
clearState(org.apache.beam.runners.core.ReduceFn.Context c) |
ReadableState<java.lang.Boolean> |
isEmpty(org.apache.beam.runners.core.StateAccessor<K> state) |
void |
onMerge(org.apache.beam.runners.core.ReduceFn.OnMergeContext context) |
void |
onTrigger(org.apache.beam.runners.core.ReduceFn.OnTriggerContext c) |
void |
prefetchOnMerge(org.apache.beam.runners.core.MergingStateAccessor<K,W> state) |
void |
prefetchOnTrigger(org.apache.beam.runners.core.StateAccessor<K> state) |
void |
processValue(org.apache.beam.runners.core.ReduceFn.ProcessValueContext c) |
protected java.lang.Object |
readResolve() |
public void onMerge(org.apache.beam.runners.core.ReduceFn.OnMergeContext context) throws java.lang.Exception
onMerge
in class org.apache.beam.runners.core.ReduceFn<K,T,java.lang.Iterable<T>,W extends BoundedWindow>
java.lang.Exception
public void prefetchOnMerge(org.apache.beam.runners.core.MergingStateAccessor<K,W> state) throws java.lang.Exception
prefetchOnMerge
in class org.apache.beam.runners.core.ReduceFn<K,T,java.lang.Iterable<T>,W extends BoundedWindow>
java.lang.Exception
public void processValue(org.apache.beam.runners.core.ReduceFn.ProcessValueContext c) throws java.lang.Exception
public void prefetchOnTrigger(org.apache.beam.runners.core.StateAccessor<K> state)
public void onTrigger(org.apache.beam.runners.core.ReduceFn.OnTriggerContext c) throws java.lang.Exception
public void clearState(org.apache.beam.runners.core.ReduceFn.Context c) throws java.lang.Exception
public ReadableState<java.lang.Boolean> isEmpty(org.apache.beam.runners.core.StateAccessor<K> state)
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException