public class DoFnFunction<OT,IT> extends java.lang.Object implements ComputeCollectorFunc<RawUnionValue,java.util.Iterator<<any>>>
Constructor and Description |
---|
DoFnFunction(Twister2TranslationContext context,
<any> doFn,
<any> inputCoder,
java.util.Map<<any>,<any>> outputCoders,
java.util.List<<any>> sideOutputs,
<any> windowingStrategy,
java.util.Map<<any>,<any>> sideInputs,
<any> mainOutput,
DoFnSchemaInformation doFnSchemaInformation,
java.util.Map<<any>,java.lang.Integer> outputMap) |
Modifier and Type | Method and Description |
---|---|
void |
compute(java.util.Iterator<<any>> input,
RecordCollector<RawUnionValue> output) |
java.util.Set<java.lang.String> |
getSideInputKeys()
get the tag id's of all the keys
|
void |
prepare(TSetContext context)
Prepare the function.
|
public DoFnFunction(Twister2TranslationContext context, <any> doFn, <any> inputCoder, java.util.Map<<any>,<any>> outputCoders, java.util.List<<any>> sideOutputs, <any> windowingStrategy, java.util.Map<<any>,<any>> sideInputs, <any> mainOutput, DoFnSchemaInformation doFnSchemaInformation, java.util.Map<<any>,java.lang.Integer> outputMap)
public java.util.Set<java.lang.String> getSideInputKeys()
public void prepare(TSetContext context)
TFunction
public void compute(java.util.Iterator<<any>> input, RecordCollector<RawUnionValue> output)
compute
in interface ComputeCollectorFunc<RawUnionValue,java.util.Iterator<<any>>>