Package org.apache.beam.sdk.transforms
Class Contextful.Fn.Context
java.lang.Object
org.apache.beam.sdk.transforms.Contextful.Fn.Context
- Enclosing interface:
Contextful.Fn<InputT,OutputT>
An accessor for additional capabilities available in
Contextful.Fn.apply(InputT, org.apache.beam.sdk.transforms.Contextful.Fn.Context).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TsideInput(PCollectionView<T> view) Accesses the given side input.static <InputT> Contextful.Fn.ContextwrapProcessContext(DoFn<InputT, ?>.ProcessContext c) Convenience wrapper for creating aContextful.Fn.Contextfrom aDoFn.ProcessContext, to support the common case when aPTransformis invoking theclosurefrom inside aDoFn.
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
sideInput
Accesses the given side input. The window in which it is accessed is unspecified, depends on usage by the enclosingPTransform, and must be documented by that transform. -
wrapProcessContext
Convenience wrapper for creating aContextful.Fn.Contextfrom aDoFn.ProcessContext, to support the common case when aPTransformis invoking theclosurefrom inside aDoFn.
-