public final class BulkDeleteUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
validateBulkDeletePaths(Collection<Path> paths,
int pageSize,
Path basePath)
Preconditions for bulk delete paths.
|
static boolean |
validatePathIsUnderParent(Path p,
Path basePath)
Check if a given path is the base path or under the base path.
|
public static void validateBulkDeletePaths(Collection<Path> paths, int pageSize, Path basePath)
paths - paths to delete.pageSize - maximum number of paths to delete in a single operation.basePath - base path for the delete operation.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.