public final class DfsPathCapabilities extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<Boolean> |
hasPathCapability(org.apache.hadoop.fs.Path path,
String capability)
Common implementation of
hasPathCapability for DFS and webhdfs. |
public static Optional<Boolean> hasPathCapability(org.apache.hadoop.fs.Path path, String capability)
hasPathCapability
for DFS and webhdfs.path
- path to checkcapability
- capabilityCopyright © 2008–2024 Apache Software Foundation. All rights reserved.