Package org.apache.beam.sdk.testing
Interface SerializableMatcher<T>
- Type Parameters:
T
- The type of value matched.
- All Superinterfaces:
Matcher<T>
,SelfDescribing
,Serializable
- All Known Implementing Classes:
BigqueryMatcher
,FileChecksumMatcher
,TestPipelineOptions.AlwaysPassMatcher
A
Matcher
that is also Serializable
.
Such matchers can be used with PAssert
, which builds pipelines such that these
matchers may be serialized and executed remotely.
To create a SerializableMatcher
, extend BaseMatcher
and also
implement this interface.
-
Method Summary
Methods inherited from interface org.hamcrest.Matcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, matches
Methods inherited from interface org.hamcrest.SelfDescribing
describeTo