Package org.apache.drill.exec.store.dfs
Interface OpenFileTracker
- All Known Implementing Classes:
DrillFileSystem
public interface OpenFileTracker
Interface to track opening and closing of files.
-
Method Summary
Modifier and TypeMethodDescriptionvoidfileClosed(DrillFSDataInputStream fsDataInputStream) Remove the givenDrillFSDataInputStreamfrom opened file list.voidfileOpened(org.apache.hadoop.fs.Path path, DrillFSDataInputStream fsDataInputStream) Add new file location andDrillFSDataInputStreamto list.
-
Method Details
-
fileOpened
Add new file location andDrillFSDataInputStreamto list. -
fileClosed
Remove the givenDrillFSDataInputStreamfrom opened file list.- Parameters:
fsDataInputStream-
-