类 FileSystemBasedArtifactFetcher

  • 所有已实现的接口:
    ArtifactFetcher

    public class FileSystemBasedArtifactFetcher
    extends java.lang.Object
    implements ArtifactFetcher
    Leverage the flink filesystem plugin to fetch the artifact.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.io.File fetch​(java.lang.String uri, org.apache.flink.configuration.Configuration flinkConfiguration, java.io.File targetDir)
      Fetch the resource from the uri to the targetDir.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • FileSystemBasedArtifactFetcher

        public FileSystemBasedArtifactFetcher()
    • 方法详细资料

      • fetch

        public java.io.File fetch​(java.lang.String uri,
                                  org.apache.flink.configuration.Configuration flinkConfiguration,
                                  java.io.File targetDir)
                           throws java.lang.Exception
        从接口复制的说明: ArtifactFetcher
        Fetch the resource from the uri to the targetDir.
        指定者:
        fetch 在接口中 ArtifactFetcher
        参数:
        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.