| Package | Description |
|---|---|
| org.apache.hadoop.fs.s3a |
S3A Filesystem.
|
| org.apache.hadoop.fs.s3a.s3guard |
This package contains classes related to S3Guard: a feature of S3A to mask
the eventual consistency behavior of S3 and optimize access patterns by
coordinating with a strongly consistent external store for file system
metadata.
|
| Modifier and Type | Method and Description |
|---|---|
static Tristate |
Tristate.fromBool(boolean v) |
Tristate |
S3AFileStatus.isEmptyDirectory() |
static Tristate |
Tristate.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tristate[] |
Tristate.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static S3AFileStatus |
S3AFileStatus.fromFileStatus(org.apache.hadoop.fs.FileStatus source,
Tristate isEmptyDirectory)
Convenience constructor for creating from a vanilla FileStatus plus
an isEmptyDirectory flag.
|
| Constructor and Description |
|---|
S3AFileStatus(Tristate isemptydir,
org.apache.hadoop.fs.Path path,
String owner)
Create a directory status.
|
| Modifier and Type | Method and Description |
|---|---|
Tristate |
DirListingMetadata.isEmpty()
Is the underlying directory known to be empty?
|
Tristate |
PathMetadata.isEmptyDirectory()
Query if a directory is empty.
|
| Constructor and Description |
|---|
DDBPathMetadata(org.apache.hadoop.fs.FileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted) |
DDBPathMetadata(org.apache.hadoop.fs.FileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted,
boolean isAuthoritativeDir) |
PathMetadata(org.apache.hadoop.fs.FileStatus fileStatus,
Tristate isEmptyDir) |
PathMetadata(org.apache.hadoop.fs.FileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted) |
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.