Class ArtifactStagingService.ArtifactDestination
- java.lang.Object
-
- org.apache.beam.runners.fnexecution.artifact.ArtifactStagingService.ArtifactDestination
-
- Enclosing class:
- ArtifactStagingService
public abstract static class ArtifactStagingService.ArtifactDestination extends java.lang.ObjectA pairing of a newly created artifact type and an output stream that will be readable at that type.
-
-
Constructor Summary
Constructors Constructor Description ArtifactDestination()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ArtifactStagingService.ArtifactDestinationcreate(java.lang.String typeUrn, org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString typePayload, java.io.OutputStream out)static ArtifactStagingService.ArtifactDestinationfromFile(java.lang.String path)static ArtifactStagingService.ArtifactDestinationfromFile(java.lang.String path, java.io.OutputStream out)abstract java.io.OutputStreamgetOutputStream()abstract org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteStringgetTypePayload()abstract java.lang.StringgetTypeUrn()
-
-
-
Method Detail
-
create
public static ArtifactStagingService.ArtifactDestination create(java.lang.String typeUrn, org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString typePayload, java.io.OutputStream out)
-
fromFile
public static ArtifactStagingService.ArtifactDestination fromFile(java.lang.String path) throws java.io.IOException
- Throws:
java.io.IOException
-
fromFile
public static ArtifactStagingService.ArtifactDestination fromFile(java.lang.String path, java.io.OutputStream out)
-
getTypeUrn
public abstract java.lang.String getTypeUrn()
-
getTypePayload
public abstract org.apache.beam.vendor.grpc.v1p69p0.com.google.protobuf.ByteString getTypePayload()
-
getOutputStream
public abstract java.io.OutputStream getOutputStream()
-
-