public interface FileStatusAcceptor
| Modifier and Type | Interface and Description |
|---|---|
static class |
FileStatusAcceptor.AcceptAllButSelf
Accept all entries except the base path.
|
static class |
FileStatusAcceptor.AcceptFilesOnly
Accept all entries except the base path.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.apache.hadoop.fs.Path keyPath,
com.aliyun.oss.model.OSSObjectSummary summary)
Predicate to decide whether or not to accept a summary entry.
|
boolean |
accept(org.apache.hadoop.fs.Path keyPath,
String commonPrefix)
Predicate to decide whether or not to accept a prefix.
|
boolean accept(org.apache.hadoop.fs.Path keyPath,
com.aliyun.oss.model.OSSObjectSummary summary)
keyPath - qualified path to the entrysummary - summary entryboolean accept(org.apache.hadoop.fs.Path keyPath,
String commonPrefix)
keyPath - qualified path to the entrycommonPrefix - the prefixCopyright © 2008–2020 Apache Software Foundation. All rights reserved.