public static interface Contextful.Fn<InputT,OutputT>
extends java.io.Serializable
Contextful.Fn.Context
when
computing the result.Modifier and Type | Interface and Description |
---|---|
static class |
Contextful.Fn.Context
An accessor for additional capabilities available in
apply(InputT, org.apache.beam.sdk.transforms.Contextful.Fn.Context) . |
Modifier and Type | Method and Description |
---|---|
OutputT |
apply(InputT element,
Contextful.Fn.Context c)
Invokes the function on the given input with the given context.
|
OutputT apply(InputT element, Contextful.Fn.Context c) throws java.lang.Exception
Contextful.getRequirements()
of the
enclosing Contextful
.java.lang.Exception