public class ByteToElemFunction<V>
extends java.lang.Object
implements edu.iu.dsc.tws.api.tset.fn.MapFunc<org.apache.beam.sdk.util.WindowedValue<V>,byte[]>
Constructor and Description |
---|
ByteToElemFunction() |
ByteToElemFunction(org.apache.beam.sdk.util.WindowedValue.WindowedValueCoder<V> wvCoder) |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.util.WindowedValue<V> |
map(byte[] input) |
void |
prepare(edu.iu.dsc.tws.api.tset.TSetContext context) |
protected java.lang.Object |
readResolve() |
public ByteToElemFunction()
public ByteToElemFunction(org.apache.beam.sdk.util.WindowedValue.WindowedValueCoder<V> wvCoder)
public org.apache.beam.sdk.util.WindowedValue<V> map(byte[] input)
map
in interface edu.iu.dsc.tws.api.tset.fn.MapFunc<org.apache.beam.sdk.util.WindowedValue<V>,byte[]>
public void prepare(edu.iu.dsc.tws.api.tset.TSetContext context)
prepare
in interface edu.iu.dsc.tws.api.tset.fn.TFunction<org.apache.beam.sdk.util.WindowedValue<V>,byte[]>
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException