Package org.apache.beam.sdk.io.jms
Class WriteJmsResult<EventT>
java.lang.Object
org.apache.beam.sdk.io.jms.WriteJmsResult<EventT>
- All Implemented Interfaces:
POutput
Return type of failedMessageTag - PCollection failedMessages
JmsIO.Write transform. All messages in error are identified by: -
TupleTag-
Constructor Summary
ConstructorsConstructorDescriptionWriteJmsResult(Pipeline pipeline, TupleTag<EventT> failedMessageTag, PCollection<EventT> failedMessages) -
Method Summary
Modifier and TypeMethodDescriptionexpand()voidfinishSpecifyingOutput(String transformName, PInput input, PTransform<?, ?> transform) As part of applying the producingPTransform, finalizes this output to make it ready for being used as an input and for running.
-
Constructor Details
-
WriteJmsResult
public WriteJmsResult(Pipeline pipeline, TupleTag<EventT> failedMessageTag, PCollection<EventT> failedMessages)
-
-
Method Details
-
expand
Description copied from interface:POutputExpands thisPOutputinto a list of its component outputPValues.- A
PValueexpands to itself. - A tuple or list of
PValues(such asPCollectionTupleorPCollectionList) expands to its componentPValue PValues.
Not intended to be invoked directly by user code.
- A
-
getPipeline
Description copied from interface:POutput- Specified by:
getPipelinein interfacePOutput
-
getFailedMessages
-
finishSpecifyingOutput
Description copied from interface:POutputAs part of applying the producingPTransform, finalizes this output to make it ready for being used as an input and for running.This includes ensuring that all
PCollectionshaveCodersspecified or defaulted.Automatically invoked whenever this
POutputis output, afterPOutput.finishSpecifyingOutput(String, PInput, PTransform)has been called on each componentPValuereturned byPOutput.expand().- Specified by:
finishSpecifyingOutputin interfacePOutput
-