Class DicomIO.ReadStudyMetadata

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

    public static class DicomIO.ReadStudyMetadata
    extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<java.lang.String>,​DicomIO.ReadStudyMetadata.Result>
    This class makes a call to the retrieve metadata endpoint (https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieving_metadata). It defines a function that can be used to process a Pubsub message from a DICOM store, read the DICOM study path and get the metadata of the specified study. You can learn how to configure PubSub messages to be published when an instance is stored by following: https://cloud.google.com/healthcare/docs/how-tos/pubsub. The connector will output a DicomIO.ReadStudyMetadata.Result which will contain metadata of the study encoded as a json array.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.beam.sdk.values.TupleTag<java.lang.String> ERROR_MESSAGE
      TupleTag for any error response.
      static org.apache.beam.sdk.values.TupleTag<java.lang.String> METADATA
      TupleTag for the main output.
      • Fields inherited from class org.apache.beam.sdk.transforms.PTransform

        name, resourceHints
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DicomIO.ReadStudyMetadata.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

      • METADATA

        public static final org.apache.beam.sdk.values.TupleTag<java.lang.String> METADATA
        TupleTag for the main output.
      • ERROR_MESSAGE

        public static final org.apache.beam.sdk.values.TupleTag<java.lang.String> ERROR_MESSAGE
        TupleTag for any error response.