Package org.apache.iceberg.io
Interface SupportsBulkOperations
- All Superinterfaces:
AutoCloseable,Closeable,FileIO,Serializable
- All Known Subinterfaces:
DelegateFileIO
- All Known Implementing Classes:
ADLSFileIO,GCSFileIO,HadoopFileIO,ResolvingFileIO,S3FileIO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteFiles(Iterable<String> pathsToDelete) Delete the files at the given paths.Methods inherited from interface org.apache.iceberg.io.FileIO
close, deleteFile, deleteFile, deleteFile, initialize, newInputFile, newInputFile, newInputFile, newInputFile, newInputFile, newOutputFile, properties
-
Method Details
-
deleteFiles
Delete the files at the given paths.- Parameters:
pathsToDelete- The paths to delete- Throws:
BulkDeletionFailureException- in case of failure to delete at least 1 file
-