Class HL7v2IO.Read

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.beam.sdk.transforms.display.HasDisplayData
    Enclosing class:
    HL7v2IO

    public static class HL7v2IO.Read
    extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,​HL7v2IO.Read.Result>
    The type Read that reads HL7v2 message contents given a PCollection of message IDs strings.

    These could be sourced from any PCollection of Strings but the most popular patterns would be PubsubIO.readStrings() reading a subscription on an HL7v2 Store's notification channel topic or using HL7v2IO.ListHL7v2Messages to list HL7v2 message IDs with an optional filter using Ingest write method. @see .

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.beam.sdk.values.TupleTag<HealthcareIOError<java.lang.String>> DEAD_LETTER
      The tag for the deadletter output of HL7v2 Messages.
      static org.apache.beam.sdk.values.TupleTag<HL7v2Message> OUT
      The tag for the main output of HL7v2 Messages.
      • Fields inherited from class org.apache.beam.sdk.transforms.PTransform

        name, resourceHints
    • Constructor Summary

      Constructors 
      Constructor Description
      Read()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HL7v2IO.Read.Result expand​(org.apache.beam.sdk.values.PCollection<java.lang.String> input)  
      • Methods inherited from class org.apache.beam.sdk.transforms.PTransform

        compose, compose, getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, populateDisplayData, setResourceHints, toString, validate, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • OUT

        public static final org.apache.beam.sdk.values.TupleTag<HL7v2Message> OUT
        The tag for the main output of HL7v2 Messages.
      • DEAD_LETTER

        public static final org.apache.beam.sdk.values.TupleTag<HealthcareIOError<java.lang.String>> DEAD_LETTER
        The tag for the deadletter output of HL7v2 Messages.
    • Constructor Detail

      • Read

        public Read()
    • Method Detail

      • expand

        public HL7v2IO.Read.Result expand​(org.apache.beam.sdk.values.PCollection<java.lang.String> input)
        Specified by:
        expand in class org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,​HL7v2IO.Read.Result>