public class BulkDeleteOperation extends AbstractStoreOperation implements org.apache.hadoop.fs.BulkDelete
BulkDelete interface.| Modifier and Type | Class and Description |
|---|---|
static interface |
BulkDeleteOperation.BulkDeleteOperationCallbacks
Callbacks for the bulk delete operation.
|
| Constructor and Description |
|---|
BulkDeleteOperation(StoreContext storeContext,
BulkDeleteOperation.BulkDeleteOperationCallbacks callbacks,
org.apache.hadoop.fs.Path basePath,
int pageSize,
org.apache.hadoop.fs.store.audit.AuditSpan span) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.fs.Path |
basePath() |
List<Map.Entry<org.apache.hadoop.fs.Path,String>> |
bulkDelete(Collection<org.apache.hadoop.fs.Path> paths) |
void |
close() |
int |
pageSize() |
activateAuditSpan, getAuditSpan, getStoreContextpublic BulkDeleteOperation(StoreContext storeContext, BulkDeleteOperation.BulkDeleteOperationCallbacks callbacks, org.apache.hadoop.fs.Path basePath, int pageSize, org.apache.hadoop.fs.store.audit.AuditSpan span)
public int pageSize()
pageSize in interface org.apache.hadoop.fs.BulkDeletepublic org.apache.hadoop.fs.Path basePath()
basePath in interface org.apache.hadoop.fs.BulkDeletepublic List<Map.Entry<org.apache.hadoop.fs.Path,String>> bulkDelete(Collection<org.apache.hadoop.fs.Path> paths) throws IOException, IllegalArgumentException
bulkDelete in interface org.apache.hadoop.fs.BulkDeleteIOExceptionIllegalArgumentExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.