Class OSSFileSystemFactory

java.lang.Object
org.apache.flink.fs.osshadoop.OSSFileSystemFactory
All Implemented Interfaces:
org.apache.flink.core.fs.FileSystemFactory, org.apache.flink.core.plugin.Plugin

public class OSSFileSystemFactory extends Object implements org.apache.flink.core.fs.FileSystemFactory
Simple factory for the OSS file system.
  • Field Details

    • PART_UPLOAD_MIN_SIZE

      public static final org.apache.flink.configuration.ConfigOption<Long> PART_UPLOAD_MIN_SIZE
    • MAX_CONCURRENT_UPLOADS

      public static final org.apache.flink.configuration.ConfigOption<Integer> MAX_CONCURRENT_UPLOADS
  • Constructor Details

    • OSSFileSystemFactory

      public OSSFileSystemFactory()
  • Method Details

    • getScheme

      public String getScheme()
      Specified by:
      getScheme in interface org.apache.flink.core.fs.FileSystemFactory
    • configure

      public void configure(org.apache.flink.configuration.Configuration config)
      Specified by:
      configure in interface org.apache.flink.core.plugin.Plugin
    • create

      public org.apache.flink.core.fs.FileSystem create(URI fsUri) throws IOException
      Specified by:
      create in interface org.apache.flink.core.fs.FileSystemFactory
      Throws:
      IOException