Package org.apache.flink.core.fs.local
Class LocalFileSystemFactory
- java.lang.Object
-
- org.apache.flink.core.fs.local.LocalFileSystemFactory
-
- All Implemented Interfaces:
FileSystemFactory,Plugin
@PublicEvolving public class LocalFileSystemFactory extends Object implements FileSystemFactory
A factory for theLocalFileSystem.
-
-
Constructor Summary
Constructors Constructor Description LocalFileSystemFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemcreate(URI fsUri)Creates a new file system for the given file system URI.StringgetScheme()Gets the scheme of the file system created by this factory.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.core.plugin.Plugin
configure, getClassLoader
-
-
-
-
Method Detail
-
getScheme
public String getScheme()
Description copied from interface:FileSystemFactoryGets the scheme of the file system created by this factory.- Specified by:
getSchemein interfaceFileSystemFactory
-
create
public FileSystem create(URI fsUri)
Description copied from interface:FileSystemFactoryCreates a new file system for the given file system URI. The URI describes the type of file system (via its scheme) and optionally the authority (for example the host) of the file system.- Specified by:
createin interfaceFileSystemFactory- Parameters:
fsUri- The URI that describes the file system.- Returns:
- A new instance of the specified file system.
-
-