Package io.trino.hdfs
Class TrinoFileSystemCache
java.lang.Object
io.trino.hdfs.TrinoFileSystemCache
- All Implemented Interfaces:
org.apache.hadoop.fs.FileSystemCache
-
Field Summary
Fields -
Method Summary
-
Field Details
-
CACHE_KEY
- See Also:
-
-
Method Details
-
get
public org.apache.hadoop.fs.FileSystem get(URI uri, org.apache.hadoop.conf.Configuration conf) throws IOException - Specified by:
getin interfaceorg.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:
getUniquein interfaceorg.apache.hadoop.fs.FileSystemCache- Throws:
IOException
-
remove
public void remove(org.apache.hadoop.fs.FileSystem fileSystem) - Specified by:
removein interfaceorg.apache.hadoop.fs.FileSystemCache
-
closeAll
- Specified by:
closeAllin interfaceorg.apache.hadoop.fs.FileSystemCache- Throws:
IOException
-