Package org.apache.flink.fs.osshadoop
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 Summary
Fields Modifier and Type Field Description static org.apache.flink.configuration.ConfigOption<Integer>MAX_CONCURRENT_UPLOADSstatic org.apache.flink.configuration.ConfigOption<Long>PART_UPLOAD_MIN_SIZE
-
Constructor Summary
Constructors Constructor Description OSSFileSystemFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.apache.flink.configuration.Configuration config)org.apache.flink.core.fs.FileSystemcreate(URI fsUri)StringgetScheme()
-
-
-
Method Detail
-
getScheme
public String getScheme()
- Specified by:
getSchemein interfaceorg.apache.flink.core.fs.FileSystemFactory
-
configure
public void configure(org.apache.flink.configuration.Configuration config)
- Specified by:
configurein interfaceorg.apache.flink.core.plugin.Plugin
-
create
public org.apache.flink.core.fs.FileSystem create(URI fsUri) throws IOException
- Specified by:
createin interfaceorg.apache.flink.core.fs.FileSystemFactory- Throws:
IOException
-
-