Package org.apache.beam.sdk.transforms
Class Requirements
java.lang.Object
org.apache.beam.sdk.transforms.Requirements
- All Implemented Interfaces:
Serializable
Describes the run-time requirements of a
Contextful, such as access to side inputs.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic Requirementsempty()Describes an empty set of requirements.The side inputs that thisContextfulneeds access to.booleanisEmpty()Whether this is an empty set of requirements.static RequirementsrequiresSideInputs(Collection<PCollectionView<?>> sideInputs) Describes the need for access to the given side inputs.static RequirementsrequiresSideInputs(PCollectionView<?>... sideInputs) static Requirementsunion(Contextful... contextfuls)
-
Method Details
-
getSideInputs
The side inputs that thisContextfulneeds access to. -
requiresSideInputs
Describes the need for access to the given side inputs. -
requiresSideInputs
-
empty
Describes an empty set of requirements. -
isEmpty
public boolean isEmpty()Whether this is an empty set of requirements. -
union
-