Class HL7v2IO.Read.FetchHL7v2Message

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

    public static class HL7v2IO.Read.FetchHL7v2Message
    extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,​HL7v2IO.Read.Result>
    PTransform to fetch a message from an Google Cloud Healthcare HL7v2 store based on msgID.

    This DoFn consumes a PCollection of notifications Strings from the HL7v2 store, and fetches the actual HL7v2Message object based on the id in the notification and will output a PCollectionTuple which contains the output and dead-letter PCollection.

    The PCollectionTuple output will contain the following PCollection:

    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.beam.sdk.transforms.PTransform

        name, resourceHints
    • Constructor Summary

      Constructors 
      Constructor Description
      FetchHL7v2Message()
      Instantiates a new Fetch HL7v2 message DoFn.
    • 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> msgIds)  
      • 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
    • Constructor Detail

      • FetchHL7v2Message

        public FetchHL7v2Message()
        Instantiates a new Fetch HL7v2 message DoFn.
    • Method Detail

      • expand

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