protected class S3AFileSystem.MkdirOperationCallbacksImpl extends Object implements MkdirOperation.MkdirCallbacks
MkdirOperation
.Modifier | Constructor and Description |
---|---|
protected |
MkdirOperationCallbacksImpl() |
Modifier and Type | Method and Description |
---|---|
void |
createFakeDirectory(org.apache.hadoop.fs.Path dir,
boolean keepMarkers)
Create a fake directory, always ending in "/".
|
S3AFileStatus |
probePathStatus(org.apache.hadoop.fs.Path path,
Set<StatusProbeEnum> probes)
Get the status of a path.
|
public S3AFileStatus probePathStatus(org.apache.hadoop.fs.Path path, Set<StatusProbeEnum> probes) throws IOException
MkdirOperation.MkdirCallbacks
probePathStatus
in interface MkdirOperation.MkdirCallbacks
path
- path to probe.probes
- probes to execIOException
- failurepublic void createFakeDirectory(org.apache.hadoop.fs.Path dir, boolean keepMarkers) throws IOException
MkdirOperation.MkdirCallbacks
createFakeDirectory
in interface MkdirOperation.MkdirCallbacks
dir
- dir to createkeepMarkers
- always keep markersIOException
- IO failureCopyright © 2008–2024 Apache Software Foundation. All rights reserved.