Package org.apache.beam.sdk.testing
Class PAssert.PCollectionListContentsAssert<T>
- java.lang.Object
-
- org.apache.beam.sdk.testing.PAssert.PCollectionListContentsAssert<T>
-
- Enclosing class:
- PAssert
protected static class PAssert.PCollectionListContentsAssert<T> extends java.lang.Object
An assert about the contents of eachPCollection
in the givenPCollectionList
.
-
-
Constructor Summary
Constructors Constructor Description PCollectionListContentsAssert(PCollectionList<T> actual)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PAssert.PCollectionListContentsAssert<T>
satisfies(java.util.List<SerializableFunction<java.lang.Iterable<T>,java.lang.Void>> checkerFnList)
Takes list ofSerializableFunction
s of the same size aspCollectionList
, and applies each matcher to thePCollection
with the identical index in thepCollectionList
.PAssert.PCollectionListContentsAssert<T>
satisfies(SerializableFunction<java.lang.Iterable<T>,java.lang.Void> checkerFn)
-
-
-
Constructor Detail
-
PCollectionListContentsAssert
public PCollectionListContentsAssert(PCollectionList<T> actual)
-
-
Method Detail
-
satisfies
public PAssert.PCollectionListContentsAssert<T> satisfies(SerializableFunction<java.lang.Iterable<T>,java.lang.Void> checkerFn)
Applies oneSerializableFunction
to check the elements of eachPCollection
in thePCollectionList
.Returns this
PCollectionListContentsAssert
.
-
satisfies
public PAssert.PCollectionListContentsAssert<T> satisfies(java.util.List<SerializableFunction<java.lang.Iterable<T>,java.lang.Void>> checkerFnList)
Takes list ofSerializableFunction
s of the same size aspCollectionList
, and applies each matcher to thePCollection
with the identical index in thepCollectionList
.Returns this
PCollectionListContentsAssert
.
-
-