Interface FileSystemFactory

All Superinterfaces:
Serializable

@Internal public interface FileSystemFactory extends Serializable
A factory to create file systems.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.flink.core.fs.FileSystem
    create(URI fsUri)
    Creates a new file system for the given file system URI.
  • Method Details

    • create

      org.apache.flink.core.fs.FileSystem create(URI fsUri) throws IOException
      Creates 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.
      Parameters:
      fsUri - The URI that describes the file system.
      Returns:
      A new instance of the specified file system.
      Throws:
      IOException - Thrown if the file system could not be instantiated.