protected class S3AFileSystem.GetContentSummaryCallbacksImpl extends Object implements GetContentSummaryOperation.GetContentSummaryCallbacks
GetContentSummaryOperation
.Modifier | Constructor and Description |
---|---|
protected |
GetContentSummaryCallbacksImpl() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.fs.RemoteIterator<S3ALocatedFileStatus> |
listFilesIterator(org.apache.hadoop.fs.Path path,
boolean recursive)
List all entries under a path.
|
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
GetContentSummaryOperation.GetContentSummaryCallbacks
probePathStatus
in interface GetContentSummaryOperation.GetContentSummaryCallbacks
path
- path to probe.probes
- probes to execIOException
- failurepublic org.apache.hadoop.fs.RemoteIterator<S3ALocatedFileStatus> listFilesIterator(org.apache.hadoop.fs.Path path, boolean recursive) throws IOException
GetContentSummaryOperation.GetContentSummaryCallbacks
listFilesIterator
in interface GetContentSummaryOperation.GetContentSummaryCallbacks
path
- path.recursive
- if the subdirectories need to be traversed recursivelyIOException
- failureCopyright © 2008–2024 Apache Software Foundation. All rights reserved.