Package io.trino.hdfs

Class TrinoFileSystemCache

java.lang.Object
io.trino.hdfs.TrinoFileSystemCache
All Implemented Interfaces:
org.apache.hadoop.fs.FileSystemCache

public class TrinoFileSystemCache extends Object implements org.apache.hadoop.fs.FileSystemCache
  • Field Details

  • Method Details

    • get

      public org.apache.hadoop.fs.FileSystem get(URI uri, org.apache.hadoop.conf.Configuration conf) throws IOException
      Specified by:
      get in interface org.apache.hadoop.fs.FileSystemCache
      Throws:
      IOException
    • getUnique

      public org.apache.hadoop.fs.FileSystem getUnique(URI uri, org.apache.hadoop.conf.Configuration conf) throws IOException
      Specified by:
      getUnique in interface org.apache.hadoop.fs.FileSystemCache
      Throws:
      IOException
    • remove

      public void remove(org.apache.hadoop.fs.FileSystem fileSystem)
      Specified by:
      remove in interface org.apache.hadoop.fs.FileSystemCache
    • closeAll

      public void closeAll() throws IOException
      Specified by:
      closeAll in interface org.apache.hadoop.fs.FileSystemCache
      Throws:
      IOException