| 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,
String eTag,
String versionId)
Convenience constructor for creating from a vanilla FileStatus plus
an isEmptyDirectory flag.
|
void |
S3AFileStatus.setIsEmptyDirectory(Tristate isEmptyDirectory)
Update isEmptyDirectory attribute.
|
| 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(S3AFileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted,
boolean isAuthoritativeDir,
long lastUpdated) |
DDBPathMetadata(S3AFileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted,
long lastUpdated) |
PathMetadata(S3AFileStatus fileStatus,
Tristate isEmptyDir)
Creates a new
PathMetadata. |
PathMetadata(S3AFileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted)
Creates a new
PathMetadata. |
PathMetadata(S3AFileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted,
long lastUpdated)
Creates a new
PathMetadata. |
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.