@PublicApi @ThreadSafe public class URIStatus extends Object
FileInfo
. Represents the metadata about a file or directory in Alluxio.
This is a snapshot of information about the file or directory and not all attributes are
guaranteed to be up to date. Attributes documented as immutable will always be accurate, and
attributes documented as mutable may be out of date.Constructor and Description |
---|
URIStatus(FileInfo info)
Constructs an instance of this class from a
FileInfo . |
public AccessControlList getAcl()
public DefaultAccessControlList getDefaultAcl()
@Nullable public BlockInfo getBlockInfo(long blockId)
blockId
- the block IDpublic List<Long> getBlockIds()
public long getBlockSizeBytes()
public long getCreationTimeMs()
public long getFileId()
public String getFileIdentifier()
public String getGroup()
public int getInMemoryPercentage()
public int getInAlluxioPercentage()
public long getLastModificationTimeMs()
public long getLastAccessTimeMs()
public long getLength()
public String getName()
public String getPath()
public int getMode()
public String getPersistenceState()
public long getTtl()
public TtlAction getTtlAction()
public String getUfsPath()
public String getOwner()
public int getReplicationMax()
public int getReplicationMin()
public boolean isCacheable()
public boolean isCompleted()
public boolean isFolder()
public boolean isPersisted()
public boolean isPinned()
public boolean isMountPoint()
public long getMountId()
public List<FileBlockInfo> getFileBlockInfos()
public String getUfsFingerprint()
public FileInfo getFileInfo()
FileInfo
object does not have a stable API.
Make modifications to the returned file info object at your own risk.Copyright © 2023. All Rights Reserved.