Package io.trino.plugin.hive.fs
Interface DirectoryLister
-
- All Superinterfaces:
TableInvalidationCallback
- All Known Implementing Classes:
CachingDirectoryLister,TransactionScopeCachingDirectoryLister
public interface DirectoryLister extends TableInvalidationCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus>list(org.apache.hadoop.fs.FileSystem fs, Table table, org.apache.hadoop.fs.Path path)org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus>listFilesRecursively(org.apache.hadoop.fs.FileSystem fs, Table table, org.apache.hadoop.fs.Path path)-
Methods inherited from interface io.trino.plugin.hive.TableInvalidationCallback
invalidate, invalidate
-
-
-
-
Method Detail
-
list
org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus> list(org.apache.hadoop.fs.FileSystem fs, Table table, org.apache.hadoop.fs.Path path) throws IOException- Throws:
IOException
-
listFilesRecursively
org.apache.hadoop.fs.RemoteIterator<org.apache.hadoop.fs.LocatedFileStatus> listFilesRecursively(org.apache.hadoop.fs.FileSystem fs, Table table, org.apache.hadoop.fs.Path path) throws IOException- Throws:
IOException
-
-