Class HL7v2IO.Write
java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<HL7v2Message>,HL7v2IO.Write.Result>
org.apache.beam.sdk.io.gcp.healthcare.HL7v2IO.Write
- All Implemented Interfaces:
Serializable
,HasDisplayData
- Enclosing class:
HL7v2IO
public abstract static class HL7v2IO.Write
extends PTransform<PCollection<HL7v2Message>,HL7v2IO.Write.Result>
The type Write that writes the given PCollection of HL7v2 messages.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
The enum Write method. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TupleTag
<HealthcareIOError<HL7v2Message>> The tag for the failed writes to HL7v2 store`.static final TupleTag
<HealthcareIOError<HL7v2Message>> The tag for the successful writes to HL7v2 store`.Fields inherited from class org.apache.beam.sdk.transforms.PTransform
annotations, displayData, name, resourceHints
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpand
(PCollection<HL7v2Message> messages) Override this method to specify how thisPTransform
should be expanded on the givenInputT
.Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setDisplayData, setResourceHints, toString, validate, validate
-
Field Details
-
SUCCESS
The tag for the successful writes to HL7v2 store`. -
FAILED
The tag for the failed writes to HL7v2 store`.
-
-
Constructor Details
-
Write
public Write()
-
-
Method Details
-
expand
Description copied from class:PTransform
Override this method to specify how thisPTransform
should be expanded on the givenInputT
.NOTE: This method should not be called directly. Instead apply the
PTransform
should be applied to theInputT
using theapply
method.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).
- Specified by:
expand
in classPTransform<PCollection<HL7v2Message>,
HL7v2IO.Write.Result>
-