public class AssignWindowsFunction<T>
extends java.lang.Object
implements edu.iu.dsc.tws.api.tset.fn.ComputeCollectorFunc<org.apache.beam.sdk.util.WindowedValue<T>,java.util.Iterator<org.apache.beam.sdk.util.WindowedValue<T>>>
| Constructor and Description |
|---|
AssignWindowsFunction(org.apache.beam.sdk.transforms.windowing.WindowFn<T,org.apache.beam.sdk.transforms.windowing.BoundedWindow> windowFn,
org.apache.beam.sdk.options.PipelineOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
compute(java.util.Iterator<org.apache.beam.sdk.util.WindowedValue<T>> input,
edu.iu.dsc.tws.api.tset.fn.RecordCollector<org.apache.beam.sdk.util.WindowedValue<T>> output) |
void |
prepare(edu.iu.dsc.tws.api.tset.TSetContext context) |
protected java.lang.Object |
readResolve() |
public AssignWindowsFunction(org.apache.beam.sdk.transforms.windowing.WindowFn<T,org.apache.beam.sdk.transforms.windowing.BoundedWindow> windowFn, org.apache.beam.sdk.options.PipelineOptions options)
public void compute(java.util.Iterator<org.apache.beam.sdk.util.WindowedValue<T>> input, edu.iu.dsc.tws.api.tset.fn.RecordCollector<org.apache.beam.sdk.util.WindowedValue<T>> output)
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context)
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException