Package org.apache.beam.sdk.fn.data
Class RemoteGrpcPortWrite
- java.lang.Object
-
- org.apache.beam.sdk.fn.data.RemoteGrpcPortWrite
-
public abstract class RemoteGrpcPortWrite extends java.lang.ObjectAn execution-time onlyRunnerApi.PTransformwhich represents a write from within an SDK harness to aBeamFnApi.RemoteGrpcPort.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringURN
-
Constructor Summary
Constructors Constructor Description RemoteGrpcPortWrite()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static RemoteGrpcPortWritefromPTransform(org.apache.beam.model.pipeline.v1.RunnerApi.PTransform pTransform)abstract org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPortgetPort()org.apache.beam.model.pipeline.v1.RunnerApi.PTransformtoPTransform()static RemoteGrpcPortWritewriteToPort(java.lang.String inputPCollectionId, org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort port)Create aRemoteGrpcPortWritewhich writes theRunnerApi.PCollectionwith the provided Pipeline id to the providedBeamFnApi.RemoteGrpcPort.
-
-
-
Field Detail
-
URN
public static final java.lang.String URN
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeToPort
public static RemoteGrpcPortWrite writeToPort(java.lang.String inputPCollectionId, org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort port)
Create aRemoteGrpcPortWritewhich writes theRunnerApi.PCollectionwith the provided Pipeline id to the providedBeamFnApi.RemoteGrpcPort.
-
fromPTransform
public static RemoteGrpcPortWrite fromPTransform(org.apache.beam.model.pipeline.v1.RunnerApi.PTransform pTransform) throws org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.InvalidProtocolBufferException
- Throws:
org.apache.beam.vendor.grpc.v1p48p1.com.google.protobuf.InvalidProtocolBufferException
-
getPort
public abstract org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort getPort()
-
toPTransform
public org.apache.beam.model.pipeline.v1.RunnerApi.PTransform toPTransform()
-
-