public static class FileStatusAcceptor.AcceptAllButSelf extends Object implements FileStatusAcceptor
FileStatusAcceptor.AcceptAllButSelf, FileStatusAcceptor.AcceptFilesOnly| 构造器和说明 |
|---|
AcceptAllButSelf(org.apache.hadoop.fs.Path qualifiedPath)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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,
String prefix)
Accept all prefixes except the one for the base path, "self".
|
public AcceptAllButSelf(org.apache.hadoop.fs.Path qualifiedPath)
qualifiedPath - an already-qualified path.public boolean accept(org.apache.hadoop.fs.Path keyPath,
com.aliyun.oss.model.OSSObjectSummary summary)
accept 在接口中 FileStatusAcceptorkeyPath - key path of the entrysummary - summary entrypublic boolean accept(org.apache.hadoop.fs.Path keyPath,
String prefix)
accept 在接口中 FileStatusAcceptorkeyPath - qualified path to the entryprefix - common prefix in listing.Copyright © 2021 Apache Software Foundation. All Rights Reserved.