@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class FileInfo extends Object implements org.apache.thrift.TBase<FileInfo,FileInfo._Fields>, Serializable, Cloneable, Comparable<FileInfo>
Modifier and Type | Class and Description |
---|---|
static class |
FileInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<FileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
FileInfo() |
FileInfo(FileInfo other)
Performs a deep copy on other.
|
FileInfo(long fileId,
String name,
String path,
String ufsPath,
long length,
long blockSizeBytes,
long creationTimeMs,
boolean completed,
boolean folder,
boolean pinned,
boolean cacheable,
boolean persisted,
List<Long> blockIds,
int inMemoryPercentage,
long lastModificationTimeMs,
long ttl,
String owner,
String group,
int mode,
String persistenceState,
boolean mountPoint,
List<FileBlockInfo> fileBlockInfos,
TTtlAction ttlAction,
long mountId,
int inAlluxioPercentage,
String ufsFingerprint) |
Modifier and Type | Method and Description |
---|---|
void |
addToBlockIds(long elem) |
void |
addToFileBlockInfos(FileBlockInfo elem) |
void |
clear() |
int |
compareTo(FileInfo other) |
FileInfo |
deepCopy() |
boolean |
equals(FileInfo that) |
boolean |
equals(Object that) |
FileInfo._Fields |
fieldForId(int fieldId) |
List<Long> |
getBlockIds() |
Iterator<Long> |
getBlockIdsIterator() |
int |
getBlockIdsSize() |
long |
getBlockSizeBytes() |
long |
getCreationTimeMs() |
Object |
getFieldValue(FileInfo._Fields field) |
List<FileBlockInfo> |
getFileBlockInfos() |
Iterator<FileBlockInfo> |
getFileBlockInfosIterator() |
int |
getFileBlockInfosSize() |
long |
getFileId() |
String |
getGroup() |
int |
getInAlluxioPercentage() |
int |
getInMemoryPercentage() |
long |
getLastModificationTimeMs() |
long |
getLength() |
int |
getMode() |
long |
getMountId() |
String |
getName() |
String |
getOwner() |
String |
getPath() |
String |
getPersistenceState() |
long |
getTtl() |
TTtlAction |
getTtlAction() |
String |
getUfsFingerprint() |
String |
getUfsPath() |
int |
hashCode() |
boolean |
isCacheable() |
boolean |
isCompleted() |
boolean |
isFolder() |
boolean |
isMountPoint() |
boolean |
isPersisted() |
boolean |
isPinned() |
boolean |
isSet(FileInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockIds()
Returns true if field blockIds is set (has been assigned a value) and false otherwise
|
boolean |
isSetBlockSizeBytes()
Returns true if field blockSizeBytes is set (has been assigned a value) and false otherwise
|
boolean |
isSetCacheable()
Returns true if field cacheable is set (has been assigned a value) and false otherwise
|
boolean |
isSetCompleted()
Returns true if field completed is set (has been assigned a value) and false otherwise
|
boolean |
isSetCreationTimeMs()
Returns true if field creationTimeMs is set (has been assigned a value) and false otherwise
|
boolean |
isSetFileBlockInfos()
Returns true if field fileBlockInfos is set (has been assigned a value) and false otherwise
|
boolean |
isSetFileId()
Returns true if field fileId is set (has been assigned a value) and false otherwise
|
boolean |
isSetFolder()
Returns true if field folder is set (has been assigned a value) and false otherwise
|
boolean |
isSetGroup()
Returns true if field group is set (has been assigned a value) and false otherwise
|
boolean |
isSetInAlluxioPercentage()
Returns true if field inAlluxioPercentage is set (has been assigned a value) and false otherwise
|
boolean |
isSetInMemoryPercentage()
Returns true if field inMemoryPercentage is set (has been assigned a value) and false otherwise
|
boolean |
isSetLastModificationTimeMs()
Returns true if field lastModificationTimeMs is set (has been assigned a value) and false otherwise
|
boolean |
isSetLength()
Returns true if field length is set (has been assigned a value) and false otherwise
|
boolean |
isSetMode()
Returns true if field mode is set (has been assigned a value) and false otherwise
|
boolean |
isSetMountId()
Returns true if field mountId is set (has been assigned a value) and false otherwise
|
boolean |
isSetMountPoint()
Returns true if field mountPoint is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetOwner()
Returns true if field owner is set (has been assigned a value) and false otherwise
|
boolean |
isSetPath()
Returns true if field path is set (has been assigned a value) and false otherwise
|
boolean |
isSetPersisted()
Returns true if field persisted is set (has been assigned a value) and false otherwise
|
boolean |
isSetPersistenceState()
Returns true if field persistenceState is set (has been assigned a value) and false otherwise
|
boolean |
isSetPinned()
Returns true if field pinned is set (has been assigned a value) and false otherwise
|
boolean |
isSetTtl()
Returns true if field ttl is set (has been assigned a value) and false otherwise
|
boolean |
isSetTtlAction()
Returns true if field ttlAction is set (has been assigned a value) and false otherwise
|
boolean |
isSetUfsFingerprint()
Returns true if field ufsFingerprint is set (has been assigned a value) and false otherwise
|
boolean |
isSetUfsPath()
Returns true if field ufsPath is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
FileInfo |
setBlockIds(List<Long> blockIds) |
void |
setBlockIdsIsSet(boolean value) |
FileInfo |
setBlockSizeBytes(long blockSizeBytes) |
void |
setBlockSizeBytesIsSet(boolean value) |
FileInfo |
setCacheable(boolean cacheable) |
void |
setCacheableIsSet(boolean value) |
FileInfo |
setCompleted(boolean completed) |
void |
setCompletedIsSet(boolean value) |
FileInfo |
setCreationTimeMs(long creationTimeMs) |
void |
setCreationTimeMsIsSet(boolean value) |
void |
setFieldValue(FileInfo._Fields field,
Object value) |
FileInfo |
setFileBlockInfos(List<FileBlockInfo> fileBlockInfos) |
void |
setFileBlockInfosIsSet(boolean value) |
FileInfo |
setFileId(long fileId) |
void |
setFileIdIsSet(boolean value) |
FileInfo |
setFolder(boolean folder) |
void |
setFolderIsSet(boolean value) |
FileInfo |
setGroup(String group) |
void |
setGroupIsSet(boolean value) |
FileInfo |
setInAlluxioPercentage(int inAlluxioPercentage) |
void |
setInAlluxioPercentageIsSet(boolean value) |
FileInfo |
setInMemoryPercentage(int inMemoryPercentage) |
void |
setInMemoryPercentageIsSet(boolean value) |
FileInfo |
setLastModificationTimeMs(long lastModificationTimeMs) |
void |
setLastModificationTimeMsIsSet(boolean value) |
FileInfo |
setLength(long length) |
void |
setLengthIsSet(boolean value) |
FileInfo |
setMode(int mode) |
void |
setModeIsSet(boolean value) |
FileInfo |
setMountId(long mountId) |
void |
setMountIdIsSet(boolean value) |
FileInfo |
setMountPoint(boolean mountPoint) |
void |
setMountPointIsSet(boolean value) |
FileInfo |
setName(String name) |
void |
setNameIsSet(boolean value) |
FileInfo |
setOwner(String owner) |
void |
setOwnerIsSet(boolean value) |
FileInfo |
setPath(String path) |
void |
setPathIsSet(boolean value) |
FileInfo |
setPersisted(boolean persisted) |
void |
setPersistedIsSet(boolean value) |
FileInfo |
setPersistenceState(String persistenceState) |
void |
setPersistenceStateIsSet(boolean value) |
FileInfo |
setPinned(boolean pinned) |
void |
setPinnedIsSet(boolean value) |
FileInfo |
setTtl(long ttl) |
FileInfo |
setTtlAction(TTtlAction ttlAction) |
void |
setTtlActionIsSet(boolean value) |
void |
setTtlIsSet(boolean value) |
FileInfo |
setUfsFingerprint(String ufsFingerprint) |
void |
setUfsFingerprintIsSet(boolean value) |
FileInfo |
setUfsPath(String ufsPath) |
void |
setUfsPathIsSet(boolean value) |
String |
toString() |
void |
unsetBlockIds() |
void |
unsetBlockSizeBytes() |
void |
unsetCacheable() |
void |
unsetCompleted() |
void |
unsetCreationTimeMs() |
void |
unsetFileBlockInfos() |
void |
unsetFileId() |
void |
unsetFolder() |
void |
unsetGroup() |
void |
unsetInAlluxioPercentage() |
void |
unsetInMemoryPercentage() |
void |
unsetLastModificationTimeMs() |
void |
unsetLength() |
void |
unsetMode() |
void |
unsetMountId() |
void |
unsetMountPoint() |
void |
unsetName() |
void |
unsetOwner() |
void |
unsetPath() |
void |
unsetPersisted() |
void |
unsetPersistenceState() |
void |
unsetPinned() |
void |
unsetTtl() |
void |
unsetTtlAction() |
void |
unsetUfsFingerprint() |
void |
unsetUfsPath() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<FileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public FileInfo()
public FileInfo(long fileId, String name, String path, String ufsPath, long length, long blockSizeBytes, long creationTimeMs, boolean completed, boolean folder, boolean pinned, boolean cacheable, boolean persisted, List<Long> blockIds, int inMemoryPercentage, long lastModificationTimeMs, long ttl, String owner, String group, int mode, String persistenceState, boolean mountPoint, List<FileBlockInfo> fileBlockInfos, TTtlAction ttlAction, long mountId, int inAlluxioPercentage, String ufsFingerprint)
public FileInfo(FileInfo other)
public FileInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<FileInfo,FileInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<FileInfo,FileInfo._Fields>
public long getFileId()
public FileInfo setFileId(long fileId)
public void unsetFileId()
public boolean isSetFileId()
public void setFileIdIsSet(boolean value)
public String getName()
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getPath()
public void unsetPath()
public boolean isSetPath()
public void setPathIsSet(boolean value)
public String getUfsPath()
public void unsetUfsPath()
public boolean isSetUfsPath()
public void setUfsPathIsSet(boolean value)
public long getLength()
public FileInfo setLength(long length)
public void unsetLength()
public boolean isSetLength()
public void setLengthIsSet(boolean value)
public long getBlockSizeBytes()
public FileInfo setBlockSizeBytes(long blockSizeBytes)
public void unsetBlockSizeBytes()
public boolean isSetBlockSizeBytes()
public void setBlockSizeBytesIsSet(boolean value)
public long getCreationTimeMs()
public FileInfo setCreationTimeMs(long creationTimeMs)
public void unsetCreationTimeMs()
public boolean isSetCreationTimeMs()
public void setCreationTimeMsIsSet(boolean value)
public boolean isCompleted()
public FileInfo setCompleted(boolean completed)
public void unsetCompleted()
public boolean isSetCompleted()
public void setCompletedIsSet(boolean value)
public boolean isFolder()
public FileInfo setFolder(boolean folder)
public void unsetFolder()
public boolean isSetFolder()
public void setFolderIsSet(boolean value)
public boolean isPinned()
public FileInfo setPinned(boolean pinned)
public void unsetPinned()
public boolean isSetPinned()
public void setPinnedIsSet(boolean value)
public boolean isCacheable()
public FileInfo setCacheable(boolean cacheable)
public void unsetCacheable()
public boolean isSetCacheable()
public void setCacheableIsSet(boolean value)
public boolean isPersisted()
public FileInfo setPersisted(boolean persisted)
public void unsetPersisted()
public boolean isSetPersisted()
public void setPersistedIsSet(boolean value)
public int getBlockIdsSize()
public void addToBlockIds(long elem)
public void unsetBlockIds()
public boolean isSetBlockIds()
public void setBlockIdsIsSet(boolean value)
public int getInMemoryPercentage()
public FileInfo setInMemoryPercentage(int inMemoryPercentage)
public void unsetInMemoryPercentage()
public boolean isSetInMemoryPercentage()
public void setInMemoryPercentageIsSet(boolean value)
public long getLastModificationTimeMs()
public FileInfo setLastModificationTimeMs(long lastModificationTimeMs)
public void unsetLastModificationTimeMs()
public boolean isSetLastModificationTimeMs()
public void setLastModificationTimeMsIsSet(boolean value)
public long getTtl()
public FileInfo setTtl(long ttl)
public void unsetTtl()
public boolean isSetTtl()
public void setTtlIsSet(boolean value)
public String getOwner()
public void unsetOwner()
public boolean isSetOwner()
public void setOwnerIsSet(boolean value)
public String getGroup()
public void unsetGroup()
public boolean isSetGroup()
public void setGroupIsSet(boolean value)
public int getMode()
public FileInfo setMode(int mode)
public void unsetMode()
public boolean isSetMode()
public void setModeIsSet(boolean value)
public String getPersistenceState()
public void unsetPersistenceState()
public boolean isSetPersistenceState()
public void setPersistenceStateIsSet(boolean value)
public boolean isMountPoint()
public FileInfo setMountPoint(boolean mountPoint)
public void unsetMountPoint()
public boolean isSetMountPoint()
public void setMountPointIsSet(boolean value)
public int getFileBlockInfosSize()
public Iterator<FileBlockInfo> getFileBlockInfosIterator()
public void addToFileBlockInfos(FileBlockInfo elem)
public List<FileBlockInfo> getFileBlockInfos()
public FileInfo setFileBlockInfos(List<FileBlockInfo> fileBlockInfos)
public void unsetFileBlockInfos()
public boolean isSetFileBlockInfos()
public void setFileBlockInfosIsSet(boolean value)
public TTtlAction getTtlAction()
TTtlAction
public FileInfo setTtlAction(TTtlAction ttlAction)
TTtlAction
public void unsetTtlAction()
public boolean isSetTtlAction()
public void setTtlActionIsSet(boolean value)
public long getMountId()
public FileInfo setMountId(long mountId)
public void unsetMountId()
public boolean isSetMountId()
public void setMountIdIsSet(boolean value)
public int getInAlluxioPercentage()
public FileInfo setInAlluxioPercentage(int inAlluxioPercentage)
public void unsetInAlluxioPercentage()
public boolean isSetInAlluxioPercentage()
public void setInAlluxioPercentageIsSet(boolean value)
public String getUfsFingerprint()
public void unsetUfsFingerprint()
public boolean isSetUfsFingerprint()
public void setUfsFingerprintIsSet(boolean value)
public void setFieldValue(FileInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<FileInfo,FileInfo._Fields>
public Object getFieldValue(FileInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<FileInfo,FileInfo._Fields>
public boolean isSet(FileInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<FileInfo,FileInfo._Fields>
public boolean equals(FileInfo that)
public int compareTo(FileInfo other)
compareTo
in interface Comparable<FileInfo>
public FileInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<FileInfo,FileInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<FileInfo,FileInfo._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<FileInfo,FileInfo._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.