Package org.apache.beam.sdk.values
Interface POutput
- All Known Subinterfaces:
PCollectionView<T>
,PValue
- All Known Implementing Classes:
CsvIOParseResult
,DicomIO.ReadStudyMetadata.Result
,FhirIO.ExecuteBundlesResult
,FhirIO.Read.Result
,FhirIO.Search.Result
,FhirIO.Write.AbstractResult
,FhirIO.Write.Result
,FhirIOPatientEverything.Result
,HL7v2IO.HL7v2Read.Result
,HL7v2IO.Read.Result
,HL7v2IO.Write.Result
,IcebergWriteResult
,JsonToRow.ParseResult
,KinesisIO.Write.Result
,OrderedEventProcessorResult
,PCollection
,PCollectionList
,PCollectionRowTuple
,PCollectionTuple
,PCollectionViews.SimplePCollectionView
,PDone
,PValueBase
,Result
,SolaceOutput
,SpannerWriteResult
,SqsIO.WriteBatches.Result
,WithFailures.Result
,WriteFilesResult
,WriteJmsResult
,WriteResult
public interface POutput
The interface for things that might be output from a
PTransform
.-
Method Summary
Modifier and TypeMethodDescriptionexpand()
void
finishSpecifyingOutput
(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.
-
Method Details
-
getPipeline
Pipeline getPipeline() -
expand
Expands thisPOutput
into a list of its component outputPValues
.- A
PValue
expands to itself. - A tuple or list of
PValues
(such asPCollectionTuple
orPCollectionList
) expands to its componentPValue PValues
.
Not intended to be invoked directly by user code.
- A
-
finishSpecifyingOutput
As 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
PCollections
haveCoders
specified or defaulted.Automatically invoked whenever this
POutput
is output, afterfinishSpecifyingOutput(String, PInput, PTransform)
has been called on each componentPValue
returned byexpand()
.
-