Package org.apache.beam.sdk.fn.data
Class RemoteGrpcPortWrite
java.lang.Object
org.apache.beam.sdk.fn.data.RemoteGrpcPortWrite
An execution-time only
RunnerApi.PTransform which represents a write from within an SDK harness to
a BeamFnApi.RemoteGrpcPort.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.PTransformstatic RemoteGrpcPortWritewriteToPort(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 Details
-
URN
- See Also:
-
-
Constructor Details
-
RemoteGrpcPortWrite
public RemoteGrpcPortWrite()
-
-
Method Details
-
writeToPort
public static RemoteGrpcPortWrite writeToPort(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.v1p69p0.com.google.protobuf.InvalidProtocolBufferException - Throws:
org.apache.beam.vendor.grpc.v1p69p0.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()
-