接口 ArtifactFetcher

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      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.
    • 方法详细资料

      • fetch

        java.io.File fetch​(java.lang.String uri,
                           org.apache.flink.configuration.Configuration flinkConfiguration,
                           java.io.File targetDir)
                    throws java.lang.Exception
        Fetch 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.