Package org.apache.iceberg.io
Class FileIOTracker
- java.lang.Object
-
- org.apache.iceberg.io.FileIOTracker
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class FileIOTracker extends java.lang.Object implements java.io.Closeable
Keeps track of theFileIO
instance of the givenTableOperations
instance and closes theFileIO
whenclose()
gets called
-
-
Constructor Summary
Constructors Constructor Description FileIOTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
track(TableOperations ops)
-
-
-
Method Detail
-
track
public void track(TableOperations ops)
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
-
-