public class ClientFileInfo extends Object implements org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ClientFileInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<Long> |
blockIds |
long |
blockSizeByte |
long |
creationTimeMs |
int |
dependencyId |
int |
id |
int |
inMemoryPercentage |
boolean |
isCache |
boolean |
isComplete |
boolean |
isFolder |
boolean |
isPinned |
long |
length |
static Map<ClientFileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
name |
String |
path |
String |
ufsPath |
Constructor and Description |
---|
ClientFileInfo() |
ClientFileInfo(ClientFileInfo other)
Performs a deep copy on other.
|
ClientFileInfo(int id,
String name,
String path,
String ufsPath,
long length,
long blockSizeByte,
long creationTimeMs,
boolean isComplete,
boolean isFolder,
boolean isPinned,
boolean isCache,
List<Long> blockIds,
int dependencyId,
int inMemoryPercentage) |
Modifier and Type | Method and Description |
---|---|
void |
addToBlockIds(long elem) |
void |
clear() |
int |
compareTo(ClientFileInfo other) |
ClientFileInfo |
deepCopy() |
boolean |
equals(ClientFileInfo that) |
boolean |
equals(Object that) |
ClientFileInfo._Fields |
fieldForId(int fieldId) |
List<Long> |
getBlockIds() |
Iterator<Long> |
getBlockIdsIterator() |
int |
getBlockIdsSize() |
long |
getBlockSizeByte() |
long |
getCreationTimeMs() |
int |
getDependencyId() |
Object |
getFieldValue(ClientFileInfo._Fields field) |
int |
getId() |
int |
getInMemoryPercentage() |
long |
getLength() |
String |
getName() |
String |
getPath() |
String |
getUfsPath() |
int |
hashCode() |
boolean |
isIsCache() |
boolean |
isIsComplete() |
boolean |
isIsFolder() |
boolean |
isIsPinned() |
boolean |
isSet(ClientFileInfo._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 |
isSetBlockSizeByte()
Returns true if field blockSizeByte 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 |
isSetDependencyId()
Returns true if field dependencyId is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id 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 |
isSetIsCache()
Returns true if field isCache is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsComplete()
Returns true if field isComplete is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsFolder()
Returns true if field isFolder is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsPinned()
Returns true if field isPinned 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 |
isSetName()
Returns true if field name 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 |
isSetUfsPath()
Returns true if field ufsPath is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
ClientFileInfo |
setBlockIds(List<Long> blockIds) |
void |
setBlockIdsIsSet(boolean value) |
ClientFileInfo |
setBlockSizeByte(long blockSizeByte) |
void |
setBlockSizeByteIsSet(boolean value) |
ClientFileInfo |
setCreationTimeMs(long creationTimeMs) |
void |
setCreationTimeMsIsSet(boolean value) |
ClientFileInfo |
setDependencyId(int dependencyId) |
void |
setDependencyIdIsSet(boolean value) |
void |
setFieldValue(ClientFileInfo._Fields field,
Object value) |
ClientFileInfo |
setId(int id) |
void |
setIdIsSet(boolean value) |
ClientFileInfo |
setInMemoryPercentage(int inMemoryPercentage) |
void |
setInMemoryPercentageIsSet(boolean value) |
ClientFileInfo |
setIsCache(boolean isCache) |
void |
setIsCacheIsSet(boolean value) |
ClientFileInfo |
setIsComplete(boolean isComplete) |
void |
setIsCompleteIsSet(boolean value) |
ClientFileInfo |
setIsFolder(boolean isFolder) |
void |
setIsFolderIsSet(boolean value) |
ClientFileInfo |
setIsPinned(boolean isPinned) |
void |
setIsPinnedIsSet(boolean value) |
ClientFileInfo |
setLength(long length) |
void |
setLengthIsSet(boolean value) |
ClientFileInfo |
setName(String name) |
void |
setNameIsSet(boolean value) |
ClientFileInfo |
setPath(String path) |
void |
setPathIsSet(boolean value) |
ClientFileInfo |
setUfsPath(String ufsPath) |
void |
setUfsPathIsSet(boolean value) |
String |
toString() |
void |
unsetBlockIds() |
void |
unsetBlockSizeByte() |
void |
unsetCreationTimeMs() |
void |
unsetDependencyId() |
void |
unsetId() |
void |
unsetInMemoryPercentage() |
void |
unsetIsCache() |
void |
unsetIsComplete() |
void |
unsetIsFolder() |
void |
unsetIsPinned() |
void |
unsetLength() |
void |
unsetName() |
void |
unsetPath() |
void |
unsetUfsPath() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int id
public String name
public String path
public String ufsPath
public long length
public long blockSizeByte
public long creationTimeMs
public boolean isComplete
public boolean isFolder
public boolean isPinned
public boolean isCache
public int dependencyId
public int inMemoryPercentage
public static final Map<ClientFileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ClientFileInfo()
public ClientFileInfo(int id, String name, String path, String ufsPath, long length, long blockSizeByte, long creationTimeMs, boolean isComplete, boolean isFolder, boolean isPinned, boolean isCache, List<Long> blockIds, int dependencyId, int inMemoryPercentage)
public ClientFileInfo(ClientFileInfo other)
public ClientFileInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>
public int getId()
public ClientFileInfo setId(int id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public String getName()
public ClientFileInfo setName(String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public String getPath()
public ClientFileInfo setPath(String path)
public void unsetPath()
public boolean isSetPath()
public void setPathIsSet(boolean value)
public String getUfsPath()
public ClientFileInfo setUfsPath(String ufsPath)
public void unsetUfsPath()
public boolean isSetUfsPath()
public void setUfsPathIsSet(boolean value)
public long getLength()
public ClientFileInfo setLength(long length)
public void unsetLength()
public boolean isSetLength()
public void setLengthIsSet(boolean value)
public long getBlockSizeByte()
public ClientFileInfo setBlockSizeByte(long blockSizeByte)
public void unsetBlockSizeByte()
public boolean isSetBlockSizeByte()
public void setBlockSizeByteIsSet(boolean value)
public long getCreationTimeMs()
public ClientFileInfo setCreationTimeMs(long creationTimeMs)
public void unsetCreationTimeMs()
public boolean isSetCreationTimeMs()
public void setCreationTimeMsIsSet(boolean value)
public boolean isIsComplete()
public ClientFileInfo setIsComplete(boolean isComplete)
public void unsetIsComplete()
public boolean isSetIsComplete()
public void setIsCompleteIsSet(boolean value)
public boolean isIsFolder()
public ClientFileInfo setIsFolder(boolean isFolder)
public void unsetIsFolder()
public boolean isSetIsFolder()
public void setIsFolderIsSet(boolean value)
public boolean isIsPinned()
public ClientFileInfo setIsPinned(boolean isPinned)
public void unsetIsPinned()
public boolean isSetIsPinned()
public void setIsPinnedIsSet(boolean value)
public boolean isIsCache()
public ClientFileInfo setIsCache(boolean isCache)
public void unsetIsCache()
public boolean isSetIsCache()
public void setIsCacheIsSet(boolean value)
public int getBlockIdsSize()
public void addToBlockIds(long elem)
public ClientFileInfo setBlockIds(List<Long> blockIds)
public void unsetBlockIds()
public boolean isSetBlockIds()
public void setBlockIdsIsSet(boolean value)
public int getDependencyId()
public ClientFileInfo setDependencyId(int dependencyId)
public void unsetDependencyId()
public boolean isSetDependencyId()
public void setDependencyIdIsSet(boolean value)
public int getInMemoryPercentage()
public ClientFileInfo setInMemoryPercentage(int inMemoryPercentage)
public void unsetInMemoryPercentage()
public boolean isSetInMemoryPercentage()
public void setInMemoryPercentageIsSet(boolean value)
public void setFieldValue(ClientFileInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>
public Object getFieldValue(ClientFileInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>
public boolean isSet(ClientFileInfo._Fields field)
isSet
in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>
public boolean equals(ClientFileInfo that)
public int compareTo(ClientFileInfo other)
compareTo
in interface Comparable<ClientFileInfo>
public ClientFileInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._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<ClientFileInfo,ClientFileInfo._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2014. All rights reserved.