public static class FileStatusAcceptor.AcceptFilesOnly extends Object implements FileStatusAcceptor
FileStatusAcceptor.AcceptAllButSelf, FileStatusAcceptor.AcceptFilesOnly| Constructor and Description |
|---|
AcceptFilesOnly(org.apache.hadoop.fs.Path qualifiedPath) |
| Modifier and Type | Method and 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,
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,
String prefix)
accept in interface FileStatusAcceptorkeyPath - qualified path to the entryprefix - common prefix in listing.Copyright © 2008–2020 Apache Software Foundation. All rights reserved.