public static class CombineFns.ComposeCombineFnBuilder
extends java.lang.Object
CombineFnBase.GlobalCombineFn
.Constructor and Description |
---|
ComposeCombineFnBuilder() |
Modifier and Type | Method and Description |
---|---|
<DataT,InputT,OutputT> |
with(SimpleFunction<DataT,InputT> extractInputFn,
Coder combineInputCoder,
Combine.CombineFn<InputT,?,OutputT> combineFn,
TupleTag<OutputT> outputTag)
Like
#with(SimpleFunction, CombineFn, TupleTag) but with an explicit input coder. |
<DataT,InputT,OutputT> |
with(SimpleFunction<DataT,InputT> extractInputFn,
Coder combineInputCoder,
CombineWithContext.CombineFnWithContext<InputT,?,OutputT> combineFnWithContext,
TupleTag<OutputT> outputTag)
Like
#with(SimpleFunction, CombineFnWithContext, TupleTag) but with input coder. |
<DataT,InputT,OutputT> |
with(SimpleFunction<DataT,InputT> extractInputFn,
Combine.CombineFn<InputT,?,OutputT> combineFn,
TupleTag<OutputT> outputTag)
Returns a
CombineFns.ComposedCombineFn that can take additional GlobalCombineFns and apply them as a single combine function. |
<DataT,InputT,OutputT> |
with(SimpleFunction<DataT,InputT> extractInputFn,
CombineWithContext.CombineFnWithContext<InputT,?,OutputT> combineFnWithContext,
TupleTag<OutputT> outputTag)
Returns a
CombineFns.ComposedCombineFnWithContext that can take additional GlobalCombineFns and apply them as a single combine function. |
public <DataT,InputT,OutputT> CombineFns.ComposedCombineFn<DataT> with(SimpleFunction<DataT,InputT> extractInputFn, Combine.CombineFn<InputT,?,OutputT> combineFn, TupleTag<OutputT> outputTag)
CombineFns.ComposedCombineFn
that can take additional GlobalCombineFns
and apply them as a single combine function.
The CombineFns.ComposedCombineFn
extracts inputs from DataT
with the extractInputFn
and combines them with the combineFn
, and then it outputs each
combined value with a TupleTag
to a CombineFns.CoCombineResult
.
public <DataT,InputT,OutputT> CombineFns.ComposedCombineFn<DataT> with(SimpleFunction<DataT,InputT> extractInputFn, Coder combineInputCoder, Combine.CombineFn<InputT,?,OutputT> combineFn, TupleTag<OutputT> outputTag)
#with(SimpleFunction, CombineFn, TupleTag)
but with an explicit input coder.public <DataT,InputT,OutputT> CombineFns.ComposedCombineFnWithContext<DataT> with(SimpleFunction<DataT,InputT> extractInputFn, CombineWithContext.CombineFnWithContext<InputT,?,OutputT> combineFnWithContext, TupleTag<OutputT> outputTag)
CombineFns.ComposedCombineFnWithContext
that can take additional GlobalCombineFns
and apply them as a single combine function.
The CombineFns.ComposedCombineFnWithContext
extracts inputs from DataT
with the
extractInputFn
and combines them with the combineFnWithContext
, and then it
outputs each combined value with a TupleTag
to a CombineFns.CoCombineResult
.
public <DataT,InputT,OutputT> CombineFns.ComposedCombineFnWithContext<DataT> with(SimpleFunction<DataT,InputT> extractInputFn, Coder combineInputCoder, CombineWithContext.CombineFnWithContext<InputT,?,OutputT> combineFnWithContext, TupleTag<OutputT> outputTag)
#with(SimpleFunction, CombineFnWithContext, TupleTag)
but with input coder.