Package org.apache.iceberg.io
Interface SupportsBulkOperations
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,FileIO
,java.io.Serializable
- All Known Subinterfaces:
DelegateFileIO
- All Known Implementing Classes:
ADLSFileIO
,GCSFileIO
,HadoopFileIO
,ResolvingFileIO
,S3FileIO
public interface SupportsBulkOperations extends FileIO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteFiles(java.lang.Iterable<java.lang.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 Detail
-
deleteFiles
void deleteFiles(java.lang.Iterable<java.lang.String> pathsToDelete) throws BulkDeletionFailureException
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
-
-