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 Requirements
empty()
Describes an empty set of requirements.The side inputs that thisContextful
needs access to.boolean
isEmpty()
Whether this is an empty set of requirements.static Requirements
requiresSideInputs
(Collection<PCollectionView<?>> sideInputs) Describes the need for access to the given side inputs.static Requirements
requiresSideInputs
(PCollectionView<?>... sideInputs) static Requirements
union
(Contextful... contextfuls)
-
Method Details
-
getSideInputs
The side inputs that thisContextful
needs 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
-