public class HadoopFsFactory extends Object implements org.apache.flink.core.fs.FileSystemFactory
This factory calls Hadoop's mechanism to find a file system implementation for a given file
system scheme (a FileSystem) and wraps it as a Flink file system (a
FileSystem).
| Constructor and Description |
|---|
HadoopFsFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.flink.configuration.Configuration config) |
org.apache.flink.core.fs.FileSystem |
create(URI fsUri) |
String |
getScheme() |
public String getScheme()
getScheme in interface org.apache.flink.core.fs.FileSystemFactorypublic void configure(org.apache.flink.configuration.Configuration config)
configure in interface org.apache.flink.core.plugin.Pluginpublic org.apache.flink.core.fs.FileSystem create(URI fsUri) throws IOException
create in interface org.apache.flink.core.fs.FileSystemFactoryIOExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.