Class ArtifactStagingService.ArtifactDestination
java.lang.Object
org.apache.beam.runners.fnexecution.artifact.ArtifactStagingService.ArtifactDestination
- Enclosing class:
ArtifactStagingService
A pairing of a newly created artifact type and an output stream that will be readable at that
type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(String typeUrn, org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString typePayload, OutputStream out) fromFile(String path, OutputStream out) abstract OutputStreamabstract org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteStringabstract String
-
Constructor Details
-
ArtifactDestination
public ArtifactDestination()
-
-
Method Details
-
create
public static ArtifactStagingService.ArtifactDestination create(String typeUrn, org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString typePayload, OutputStream out) -
fromFile
- Throws:
IOException
-
fromFile
-
getTypeUrn
-
getTypePayload
public abstract org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString getTypePayload() -
getOutputStream
-