接口 ArtifactFetcher
-
public interface ArtifactFetcherThe artifact fetcher.
-
-
方法详细资料
-
fetch
java.io.File fetch(java.lang.String uri, org.apache.flink.configuration.Configuration flinkConfiguration, java.io.File targetDir) throws java.lang.ExceptionFetch the resource from the uri to the targetDir.- 参数:
uri- The artifact to be fetched.flinkConfiguration- Flink configuration.targetDir- The target dir to put the artifact.- 返回:
- The path of the fetched artifact.
- 抛出:
java.lang.Exception- Error during fetching the artifact.
-
-