Class HL7v2IO.Read.FetchHL7v2Message.HL7v2MessageGetFn
java.lang.Object
org.apache.beam.sdk.transforms.DoFn<String,HL7v2Message>
org.apache.beam.sdk.io.gcp.healthcare.HL7v2IO.Read.FetchHL7v2Message.HL7v2MessageGetFn
- All Implemented Interfaces:
Serializable
,HasDisplayData
- Enclosing class:
HL7v2IO.Read.FetchHL7v2Message
public static class HL7v2IO.Read.FetchHL7v2Message.HL7v2MessageGetFn
extends DoFn<String,HL7v2Message>
DoFn for fetching messages from the HL7v2 store with error handling.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.beam.sdk.transforms.DoFn
DoFn.AlwaysFetched, DoFn.BoundedPerElement, DoFn.BundleFinalizer, DoFn.Element, DoFn.FieldAccess, DoFn.FinishBundle, DoFn.FinishBundleContext, DoFn.GetInitialRestriction, DoFn.GetInitialWatermarkEstimatorState, DoFn.GetRestrictionCoder, DoFn.GetSize, DoFn.GetWatermarkEstimatorStateCoder, DoFn.Key, DoFn.MultiOutputReceiver, DoFn.NewTracker, DoFn.NewWatermarkEstimator, DoFn.OnTimer, DoFn.OnTimerContext, DoFn.OnTimerFamily, DoFn.OnWindowExpiration, DoFn.OnWindowExpirationContext, DoFn.OutputReceiver<T>, DoFn.ProcessContext, DoFn.ProcessContinuation, DoFn.ProcessElement, DoFn.RequiresStableInput, DoFn.RequiresTimeSortedInput, DoFn.Restriction, DoFn.Setup, DoFn.SideInput, DoFn.SplitRestriction, DoFn.StartBundle, DoFn.StartBundleContext, DoFn.StateId, DoFn.Teardown, DoFn.TimerFamily, DoFn.TimerId, DoFn.Timestamp, DoFn.TruncateRestriction, DoFn.UnboundedPerElement, DoFn.WatermarkEstimatorState, DoFn.WindowedContext
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Instantiate healthcare client (version v1).void
processElement
(DoFn<String, HL7v2Message>.ProcessContext context) Process element.Methods inherited from class org.apache.beam.sdk.transforms.DoFn
getAllowedTimestampSkew, getInputTypeDescriptor, getOutputTypeDescriptor, populateDisplayData, prepareForProcessing
-
Method Details
-
instantiateHealthcareClient
Instantiate healthcare client (version v1).- Throws:
IOException
- the io exception
-
processElement
Process element.- Parameters:
context
- the context
-