Package org.apache.hadoop.fs.s3a.impl
Class BulkDeleteOperationCallbacksImpl
java.lang.Object
org.apache.hadoop.fs.s3a.impl.BulkDeleteOperationCallbacksImpl
- All Implemented Interfaces:
BulkDeleteOperation.BulkDeleteOperationCallbacks
public class BulkDeleteOperationCallbacksImpl
extends Object
implements BulkDeleteOperation.BulkDeleteOperationCallbacks
Callbacks for the bulk delete operation.
-
Constructor Summary
ConstructorsConstructorDescriptionBulkDeleteOperationCallbacksImpl(S3AStore store, String path, int pageSize, org.apache.hadoop.fs.store.audit.AuditSpan span) -
Method Summary
-
Constructor Details
-
BulkDeleteOperationCallbacksImpl
-
-
Method Details
-
bulkDelete
@RetryTranslated public List<Map.Entry<String,String>> bulkDelete(List<software.amazon.awssdk.services.s3.model.ObjectIdentifier> keysToDelete) throws IOException, IllegalArgumentException Description copied from interface:BulkDeleteOperation.BulkDeleteOperationCallbacksPerform a bulk delete operation.- Specified by:
bulkDeletein interfaceBulkDeleteOperation.BulkDeleteOperationCallbacks- Parameters:
keysToDelete- key list- Returns:
- paths which failed to delete (if any).
- Throws:
IOException- IO Exception.IllegalArgumentException- illegal arguments
-