public class DDBPathMetadata extends PathMetadata
DDBPathMetadata wraps PathMetadata and adds the
isAuthoritativeDir flag to provide support for authoritative directory
listings in DynamoDBMetadataStore.| Constructor and Description |
|---|
DDBPathMetadata(PathMetadata pmd) |
DDBPathMetadata(S3AFileStatus fileStatus) |
DDBPathMetadata(S3AFileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted,
boolean isAuthoritativeDir,
long lastUpdated) |
DDBPathMetadata(S3AFileStatus fileStatus,
Tristate isEmptyDir,
boolean isDeleted,
long lastUpdated) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isAuthoritativeDir() |
void |
setAuthoritativeDir(boolean authoritativeDir) |
String |
toString() |
getFileStatus, isDeleted, isEmptyDirectory, prettyPrint, prettyPrint, tombstonegetLastUpdated, isExpired, setLastUpdatedpublic DDBPathMetadata(PathMetadata pmd)
public DDBPathMetadata(S3AFileStatus fileStatus)
public DDBPathMetadata(S3AFileStatus fileStatus, Tristate isEmptyDir, boolean isDeleted, long lastUpdated)
public DDBPathMetadata(S3AFileStatus fileStatus, Tristate isEmptyDir, boolean isDeleted, boolean isAuthoritativeDir, long lastUpdated)
public boolean isAuthoritativeDir()
public void setAuthoritativeDir(boolean authoritativeDir)
public boolean equals(Object o)
equals in class PathMetadatapublic int hashCode()
hashCode in class PathMetadatapublic String toString()
toString in class PathMetadataCopyright © 2008–2022 Apache Software Foundation. All rights reserved.