public class ClientFileInfo extends Object implements org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>, Serializable, Cloneable, Comparable<ClientFileInfo>
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 |
String |
checkpointPath |
boolean |
complete |
long |
creationTimeMs |
boolean |
folder |
int |
id |
boolean |
inMemory |
long |
length |
static Map<ClientFileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
name |
boolean |
needCache |
boolean |
needPin |
String |
path |
Constructor and Description |
---|
ClientFileInfo() |
ClientFileInfo(ClientFileInfo other)
Performs a deep copy on other.
|
ClientFileInfo(int id,
String name,
String path,
String checkpointPath,
long length,
long blockSizeByte,
long creationTimeMs,
boolean complete,
boolean folder,
boolean inMemory,
boolean needPin,
boolean needCache,
List<Long> blockIds) |
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() |
String |
getCheckpointPath() |
long |
getCreationTimeMs() |
Object |
getFieldValue(ClientFileInfo._Fields field) |
int |
getId() |
long |
getLength() |
String |
getName() |
String |
getPath() |
int |
hashCode() |
boolean |
isComplete() |
boolean |
isFolder() |
boolean |
isInMemory() |
boolean |
isNeedCache() |
boolean |
isNeedPin() |
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 |
isSetCheckpointPath()
Returns true if field checkpointPath is set (has been assigned a value) and false otherwise
|
boolean |
isSetComplete()
Returns true if field complete 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 |
isSetFolder()
Returns true if field folder 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 |
isSetInMemory()
Returns true if field inMemory 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 |
isSetNeedCache()
Returns true if field needCache is set (has been assigned a value) and false otherwise
|
boolean |
isSetNeedPin()
Returns true if field needPin 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
|
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 |
setCheckpointPath(String checkpointPath) |
void |
setCheckpointPathIsSet(boolean value) |
ClientFileInfo |
setComplete(boolean complete) |
void |
setCompleteIsSet(boolean value) |
ClientFileInfo |
setCreationTimeMs(long creationTimeMs) |
void |
setCreationTimeMsIsSet(boolean value) |
void |
setFieldValue(ClientFileInfo._Fields field,
Object value) |
ClientFileInfo |
setFolder(boolean folder) |
void |
setFolderIsSet(boolean value) |
ClientFileInfo |
setId(int id) |
void |
setIdIsSet(boolean value) |
ClientFileInfo |
setInMemory(boolean inMemory) |
void |
setInMemoryIsSet(boolean value) |
ClientFileInfo |
setLength(long length) |
void |
setLengthIsSet(boolean value) |
ClientFileInfo |
setName(String name) |
void |
setNameIsSet(boolean value) |
ClientFileInfo |
setNeedCache(boolean needCache) |
void |
setNeedCacheIsSet(boolean value) |
ClientFileInfo |
setNeedPin(boolean needPin) |
void |
setNeedPinIsSet(boolean value) |
ClientFileInfo |
setPath(String path) |
void |
setPathIsSet(boolean value) |
String |
toString() |
void |
unsetBlockIds() |
void |
unsetBlockSizeByte() |
void |
unsetCheckpointPath() |
void |
unsetComplete() |
void |
unsetCreationTimeMs() |
void |
unsetFolder() |
void |
unsetId() |
void |
unsetInMemory() |
void |
unsetLength() |
void |
unsetName() |
void |
unsetNeedCache() |
void |
unsetNeedPin() |
void |
unsetPath() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int id
public String name
public String path
public String checkpointPath
public long length
public long blockSizeByte
public long creationTimeMs
public boolean complete
public boolean folder
public boolean inMemory
public boolean needPin
public boolean needCache
public static final Map<ClientFileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ClientFileInfo()
public ClientFileInfo(int id, String name, String path, String checkpointPath, long length, long blockSizeByte, long creationTimeMs, boolean complete, boolean folder, boolean inMemory, boolean needPin, boolean needCache, List<Long> blockIds)
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 getCheckpointPath()
public ClientFileInfo setCheckpointPath(String checkpointPath)
public void unsetCheckpointPath()
public boolean isSetCheckpointPath()
public void setCheckpointPathIsSet(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 isComplete()
public ClientFileInfo setComplete(boolean complete)
public void unsetComplete()
public boolean isSetComplete()
public void setCompleteIsSet(boolean value)
public boolean isFolder()
public ClientFileInfo setFolder(boolean folder)
public void unsetFolder()
public boolean isSetFolder()
public void setFolderIsSet(boolean value)
public boolean isInMemory()
public ClientFileInfo setInMemory(boolean inMemory)
public void unsetInMemory()
public boolean isSetInMemory()
public void setInMemoryIsSet(boolean value)
public boolean isNeedPin()
public ClientFileInfo setNeedPin(boolean needPin)
public void unsetNeedPin()
public boolean isSetNeedPin()
public void setNeedPinIsSet(boolean value)
public boolean isNeedCache()
public ClientFileInfo setNeedCache(boolean needCache)
public void unsetNeedCache()
public boolean isSetNeedCache()
public void setNeedCacheIsSet(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 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 © 2013. All rights reserved.