Package org.apache.hadoop.fs.s3a.impl
Interface GetContentSummaryOperation.GetContentSummaryCallbacks
- All Known Implementing Classes:
S3AFileSystem.GetContentSummaryCallbacksImpl
- Enclosing class:
- GetContentSummaryOperation
public static interface GetContentSummaryOperation.GetContentSummaryCallbacks
Callbacks used by the operation.
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.fs.RemoteIterator<S3ALocatedFileStatus>listFilesIterator(org.apache.hadoop.fs.Path path, boolean recursive) List all entries under a path.probePathStatus(org.apache.hadoop.fs.Path path, Set<StatusProbeEnum> probes) Get the status of a path.
-
Method Details
-
probePathStatus
@RetryTranslated S3AFileStatus probePathStatus(org.apache.hadoop.fs.Path path, Set<StatusProbeEnum> probes) throws IOException Get the status of a path.- Parameters:
path- path to probe.probes- probes to exec- Returns:
- the status
- Throws:
IOException- failure
-
listFilesIterator
org.apache.hadoop.fs.RemoteIterator<S3ALocatedFileStatus> listFilesIterator(org.apache.hadoop.fs.Path path, boolean recursive) throws IOException List all entries under a path.- Parameters:
path- path.recursive- if the subdirectories need to be traversed recursively- Returns:
- an iterator over the listing.
- Throws:
IOException- failure
-