FileStatusAcceptorpublic static class FileStatusAcceptor.AcceptFilesOnly extends java.lang.Object implements FileStatusAcceptor
FileStatusAcceptor.AcceptAllButSelf, FileStatusAcceptor.AcceptFilesOnly| Constructor | Description |
|---|---|
AcceptFilesOnly(org.apache.hadoop.fs.Path qualifiedPath) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
accept(org.apache.hadoop.fs.Path keyPath,
com.aliyun.oss.model.OSSObjectSummary summary) |
Reject a summary entry if the key path is the qualified Path.
|
boolean |
accept(org.apache.hadoop.fs.Path keyPath,
java.lang.String prefix) |
Accept no directory paths.
|
public boolean accept(org.apache.hadoop.fs.Path keyPath,
com.aliyun.oss.model.OSSObjectSummary summary)
accept in interface FileStatusAcceptorkeyPath - key path of the entrysummary - summary entrypublic boolean accept(org.apache.hadoop.fs.Path keyPath,
java.lang.String prefix)
accept in interface FileStatusAcceptorkeyPath - qualified path to the entryprefix - common prefix in listing.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.