Package org.apache.beam.sdk.transforms
Interface Contextful.Fn<InputT,OutputT> 
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 Watch.Growth.PollFn
- Enclosing class:
 Contextful<ClosureT>
A function from an input to an output that may additionally access 
Contextful.Fn.Context when
 computing the result.- 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn accessor for additional capabilities available inapply(InputT, org.apache.beam.sdk.transforms.Contextful.Fn.Context). - 
Method Summary
Modifier and TypeMethodDescriptionapply(InputT element, Contextful.Fn.Context c) Invokes the function on the given input with the given context. 
- 
Method Details
- 
apply
Invokes the function on the given input with the given context. The function may use the context only for the capabilities declared in theContextful.getRequirements()of the enclosingContextful.- Throws:
 Exception
 
 -