| Constructor and Description |
|---|
AcceptAllButSelfAndS3nDirs(org.apache.hadoop.fs.Path qualifiedPath)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(org.apache.hadoop.fs.FileStatus status)
Predicate to decide whether or not to accept a file status.
|
boolean |
accept(org.apache.hadoop.fs.Path keyPath,
software.amazon.awssdk.services.s3.model.S3Object s3Object)
Reject a s3Object entry if the key path is the qualified Path, or
it ends with
"_$folder$". |
boolean |
accept(org.apache.hadoop.fs.Path keyPath,
String prefix)
Accept all prefixes except the one for the base path, "self".
|
public AcceptAllButSelfAndS3nDirs(org.apache.hadoop.fs.Path qualifiedPath)
qualifiedPath - an already-qualified path.public boolean accept(org.apache.hadoop.fs.Path keyPath,
software.amazon.awssdk.services.s3.model.S3Object s3Object)
"_$folder$".keyPath - key path of the entrys3Object - s3Object entrypublic boolean accept(org.apache.hadoop.fs.Path keyPath,
String prefix)
keyPath - qualified path to the entryprefix - common prefix in listing.public boolean accept(org.apache.hadoop.fs.FileStatus status)
status - file status containing file path informationCopyright © 2008–2024 Apache Software Foundation. All rights reserved.