public static class PAssert.DefaultConcludeTransform extends PTransform<PCollection<SuccessOrFailure>,PCollection<java.lang.Void>>
Counter
objects from the Metrics API to count the number of
successful and failed asserts.
Runners that do not support the Metrics API should replace this transform with
their own implementation.name
Constructor and Description |
---|
DefaultConcludeTransform() |
Modifier and Type | Method and Description |
---|---|
PCollection<java.lang.Void> |
expand(PCollection<SuccessOrFailure> input)
Applies this
PTransform on the given InputT , and returns its
Output . |
getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, populateDisplayData, toString, validate
public PCollection<java.lang.Void> expand(PCollection<SuccessOrFailure> input)
PTransform
PTransform
on the given InputT
, and returns its
Output
.
Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods).
expand
in class PTransform<PCollection<SuccessOrFailure>,PCollection<java.lang.Void>>