Class HL7v2IO.HL7v2Read.Result
java.lang.Object
org.apache.beam.sdk.io.gcp.healthcare.HL7v2IO.HL7v2Read.Result
- Enclosing class:
HL7v2IO.HL7v2Read
The type Result includes
PCollection
of HL7v2ReadResponse
objects for
successfully read results and PCollection
of HealthcareIOError
objects for
failed reads.-
Method Summary
Modifier and TypeMethodDescriptionexpand()
void
finishSpecifyingOutput
(String transformName, PInput input, PTransform<?, ?> transform) As part of applying the producingPTransform
, finalizes this output to make it ready for being used as an input and for running.static HL7v2IO.HL7v2Read.Result
of
(PCollectionTuple pct)
-
Method Details
-
of
- Throws:
IllegalArgumentException
-
getFailedReads
-
getMessages
-
getPipeline
Description copied from interface:POutput
- Specified by:
getPipeline
in interfacePInput
- Specified by:
getPipeline
in interfacePOutput
-
expand
Description copied from interface:POutput
Expands thisPOutput
into a list of its component outputPValues
.- A
PValue
expands to itself. - A tuple or list of
PValues
(such asPCollectionTuple
orPCollectionList
) expands to its componentPValue PValues
.
Not intended to be invoked directly by user code.
- A
-
finishSpecifyingOutput
Description copied from interface:POutput
As part of applying the producingPTransform
, finalizes this output to make it ready for being used as an input and for running.This includes ensuring that all
PCollections
haveCoders
specified or defaulted.Automatically invoked whenever this
POutput
is output, afterPOutput.finishSpecifyingOutput(String, PInput, PTransform)
has been called on each componentPValue
returned byPOutput.expand()
.- Specified by:
finishSpecifyingOutput
in interfacePOutput
-