Class HL7v2IO.HL7v2Read
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<HL7v2ReadParameter>,HL7v2IO.HL7v2Read.Result>
-
- org.apache.beam.sdk.io.gcp.healthcare.HL7v2IO.HL7v2Read
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- HL7v2IO
public static class HL7v2IO.HL7v2Read extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<HL7v2ReadParameter>,HL7v2IO.HL7v2Read.Result>
The type Read that reads HL7v2 message contents given a PCollection ofHL7v2ReadParameter.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHL7v2IO.HL7v2Read.FetchHL7v2MessagePTransformto fetch a message from an Google Cloud Healthcare HL7v2 store based on msgID.static classHL7v2IO.HL7v2Read.ResultThe type Result includesPCollectionofHL7v2ReadResponseobjects for successfully read results andPCollectionofHealthcareIOErrorobjects for failed reads.
-
Field Summary
Fields Modifier and Type Field Description static org.apache.beam.sdk.values.TupleTag<HealthcareIOError<HL7v2ReadParameter>>DEAD_LETTERThe tag for the deadletter output of HL7v2 read responses.static org.apache.beam.sdk.values.TupleTag<HL7v2ReadResponse>OUTThe tag for the main output of HL7v2 read responses.
-
Constructor Summary
Constructors Constructor Description HL7v2Read()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HL7v2IO.HL7v2Read.Resultexpand(org.apache.beam.sdk.values.PCollection<HL7v2ReadParameter> input)-
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 Detail
-
OUT
public static final org.apache.beam.sdk.values.TupleTag<HL7v2ReadResponse> OUT
The tag for the main output of HL7v2 read responses.
-
DEAD_LETTER
public static final org.apache.beam.sdk.values.TupleTag<HealthcareIOError<HL7v2ReadParameter>> DEAD_LETTER
The tag for the deadletter output of HL7v2 read responses.
-
-
Method Detail
-
expand
public HL7v2IO.HL7v2Read.Result expand(org.apache.beam.sdk.values.PCollection<HL7v2ReadParameter> input)
- Specified by:
expandin classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<HL7v2ReadParameter>,HL7v2IO.HL7v2Read.Result>
-
-