@PublicAPIClass(maturity=EVOLVING) public class StoragePathInfo extends Object implements Serializable, Comparable<StoragePathInfo>
org.apache.hadoop.fs.FileStatus class
with simplification based on what Hudi needs.| Constructor and Description |
|---|
StoragePathInfo(StoragePath path,
long length,
boolean isDirectory,
short blockReplication,
long blockSize,
long modificationTime) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(StoragePathInfo o) |
boolean |
equals(Object o) |
short |
getBlockReplication() |
long |
getBlockSize() |
long |
getLength() |
long |
getModificationTime() |
StoragePath |
getPath() |
int |
hashCode() |
boolean |
isDirectory() |
boolean |
isFile() |
String |
toString() |
public StoragePathInfo(StoragePath path, long length, boolean isDirectory, short blockReplication, long blockSize, long modificationTime)
@PublicAPIMethod(maturity=EVOLVING) public StoragePath getPath()
@PublicAPIMethod(maturity=EVOLVING) public long getLength()
@PublicAPIMethod(maturity=EVOLVING) public boolean isFile()
@PublicAPIMethod(maturity=EVOLVING) public boolean isDirectory()
@PublicAPIMethod(maturity=EVOLVING) public short getBlockReplication()
@PublicAPIMethod(maturity=EVOLVING) public long getBlockSize()
@PublicAPIMethod(maturity=EVOLVING) public long getModificationTime()
public int compareTo(StoragePathInfo o)
compareTo in interface Comparable<StoragePathInfo>Copyright © 2024 The Apache Software Foundation. All rights reserved.