Package org.apache.beam.sdk.fn.data
Class RemoteGrpcPortRead
java.lang.Object
org.apache.beam.sdk.fn.data.RemoteGrpcPortRead
An execution-time only
RunnerApi.PTransform
which represents an SDK harness reading from a BeamFnApi.RemoteGrpcPort
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteGrpcPortRead
fromPTransform
(org.apache.beam.model.pipeline.v1.RunnerApi.PTransform pTransform) abstract org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort
getPort()
static RemoteGrpcPortRead
readFromPort
(org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort port, String outputPCollectionId) org.apache.beam.model.pipeline.v1.RunnerApi.PTransform
-
Field Details
-
URN
- See Also:
-
-
Constructor Details
-
RemoteGrpcPortRead
public RemoteGrpcPortRead()
-
-
Method Details
-
readFromPort
public static RemoteGrpcPortRead readFromPort(org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort port, String outputPCollectionId) -
fromPTransform
public static RemoteGrpcPortRead 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
-
toPTransform
public org.apache.beam.model.pipeline.v1.RunnerApi.PTransform toPTransform() -
getPort
public abstract org.apache.beam.model.fnexecution.v1.BeamFnApi.RemoteGrpcPort getPort()
-