public interface ArtifactResolver
RunnerApi.ArtifactInformation
from one type to another typically from remote or deferred
artifacts to locally accessible file artifacts.Modifier and Type | Interface and Description |
---|---|
static interface |
ArtifactResolver.ResolutionFn
A lazy transformer for resolving
RunnerApi.ArtifactInformation . |
Modifier and Type | Method and Description |
---|---|
void |
register(ArtifactResolver.ResolutionFn fn)
Register
ArtifactResolver.ResolutionFn . |
java.util.List<org.apache.beam.model.pipeline.v1.RunnerApi.ArtifactInformation> |
resolveArtifacts(java.util.List<org.apache.beam.model.pipeline.v1.RunnerApi.ArtifactInformation> artifacts)
Resolves a list of artifacts by applying registered
ArtifactResolver.ResolutionFn s. |
org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline |
resolveArtifacts(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline)
Updating pipeline proto by applying registered
ArtifactResolver.ResolutionFn s. |
void register(ArtifactResolver.ResolutionFn fn)
ArtifactResolver.ResolutionFn
. When multiple ArtifactResolver.ResolutionFn
s are capable of resolving the
same RunnerApi.ArtifactInformation
, the application order is up to the implementing
class of this interface.fn
- a resolution function to be registeredorg.apache.beam.model.pipeline.v1.RunnerApi.Pipeline resolveArtifacts(org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline pipeline)
ArtifactResolver.ResolutionFn
s.java.util.List<org.apache.beam.model.pipeline.v1.RunnerApi.ArtifactInformation> resolveArtifacts(java.util.List<org.apache.beam.model.pipeline.v1.RunnerApi.ArtifactInformation> artifacts)
ArtifactResolver.ResolutionFn
s.