@Experimental(value=CONTEXTFUL) public final class Requirements extends java.lang.Object implements java.io.Serializable
Contextful
, such as access to side inputs.Modifier and Type | Method and Description |
---|---|
static Requirements |
empty()
Describes an empty set of requirements.
|
java.util.Collection<PCollectionView<?>> |
getSideInputs()
The side inputs that this
Contextful needs access to. |
boolean |
isEmpty()
Whether this is an empty set of requirements.
|
static Requirements |
requiresSideInputs(java.util.Collection<PCollectionView<?>> sideInputs)
Describes the need for access to the given side inputs.
|
static Requirements |
requiresSideInputs(PCollectionView<?>... sideInputs)
|
static Requirements |
union(Contextful... contextfuls) |
public java.util.Collection<PCollectionView<?>> getSideInputs()
Contextful
needs access to.public static Requirements requiresSideInputs(java.util.Collection<PCollectionView<?>> sideInputs)
public static Requirements requiresSideInputs(PCollectionView<?>... sideInputs)
public static Requirements empty()
public boolean isEmpty()
public static Requirements union(Contextful... contextfuls)