public final class BulkDeleteUtils
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static void |
validateBulkDeletePaths(java.util.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(java.util.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.