Package org.apache.beam.sdk.testing
Class PAssert.PCollectionListContentsAssert<T>
java.lang.Object
org.apache.beam.sdk.testing.PAssert.PCollectionListContentsAssert<T>
- Enclosing class:
PAssert
An assert about the contents of each
PCollection in the given PCollectionList.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTakes list ofSerializableFunctions of the same size aspCollectionList, and applies each matcher to thePCollectionwith the identical index in thepCollectionList.satisfies(SerializableFunction<Iterable<T>, Void> checkerFn)
-
Constructor Details
-
PCollectionListContentsAssert
-
-
Method Details
-
satisfies
public PAssert.PCollectionListContentsAssert<T> satisfies(SerializableFunction<Iterable<T>, Void> checkerFn) Applies oneSerializableFunctionto check the elements of eachPCollectionin thePCollectionList.Returns this
PCollectionListContentsAssert. -
satisfies
public PAssert.PCollectionListContentsAssert<T> satisfies(List<SerializableFunction<Iterable<T>, Void>> checkerFnList) Takes list ofSerializableFunctions of the same size aspCollectionList, and applies each matcher to thePCollectionwith the identical index in thepCollectionList.Returns this
PCollectionListContentsAssert.
-