|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttachyon.thrift.ClientFileInfo
public class ClientFileInfo
Nested Class Summary | |
---|---|
static class |
ClientFileInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
String |
checkpointPath
|
long |
creationTimeMs
|
boolean |
folder
|
int |
id
|
boolean |
inMemory
|
static Map<ClientFileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
String |
name
|
boolean |
needCache
|
boolean |
needPin
|
String |
path
|
boolean |
ready
|
long |
sizeBytes
|
Constructor Summary | |
---|---|
ClientFileInfo()
|
|
ClientFileInfo(ClientFileInfo other)
Performs a deep copy on other. |
|
ClientFileInfo(int id,
String name,
String path,
String checkpointPath,
long sizeBytes,
long creationTimeMs,
boolean ready,
boolean folder,
boolean inMemory,
boolean needPin,
boolean needCache)
|
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(ClientFileInfo other)
|
ClientFileInfo |
deepCopy()
|
boolean |
equals(ClientFileInfo that)
|
boolean |
equals(Object that)
|
ClientFileInfo._Fields |
fieldForId(int fieldId)
|
String |
getCheckpointPath()
|
long |
getCreationTimeMs()
|
Object |
getFieldValue(ClientFileInfo._Fields field)
|
int |
getId()
|
String |
getName()
|
String |
getPath()
|
long |
getSizeBytes()
|
int |
hashCode()
|
boolean |
isFolder()
|
boolean |
isInMemory()
|
boolean |
isNeedCache()
|
boolean |
isNeedPin()
|
boolean |
isReady()
|
boolean |
isSet(ClientFileInfo._Fields field)
Returns true if field corresponding to fieldID 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 |
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 |
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 |
boolean |
isSetReady()
Returns true if field ready is set (has been assigned a value) and false otherwise |
boolean |
isSetSizeBytes()
Returns true if field sizeBytes is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
ClientFileInfo |
setCheckpointPath(String checkpointPath)
|
void |
setCheckpointPathIsSet(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 |
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)
|
ClientFileInfo |
setReady(boolean ready)
|
void |
setReadyIsSet(boolean value)
|
ClientFileInfo |
setSizeBytes(long sizeBytes)
|
void |
setSizeBytesIsSet(boolean value)
|
String |
toString()
|
void |
unsetCheckpointPath()
|
void |
unsetCreationTimeMs()
|
void |
unsetFolder()
|
void |
unsetId()
|
void |
unsetInMemory()
|
void |
unsetName()
|
void |
unsetNeedCache()
|
void |
unsetNeedPin()
|
void |
unsetPath()
|
void |
unsetReady()
|
void |
unsetSizeBytes()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int id
public String name
public String path
public String checkpointPath
public long sizeBytes
public long creationTimeMs
public boolean ready
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
Constructor Detail |
---|
public ClientFileInfo()
public ClientFileInfo(int id, String name, String path, String checkpointPath, long sizeBytes, long creationTimeMs, boolean ready, boolean folder, boolean inMemory, boolean needPin, boolean needCache)
public ClientFileInfo(ClientFileInfo other)
Method Detail |
---|
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 getSizeBytes()
public ClientFileInfo setSizeBytes(long sizeBytes)
public void unsetSizeBytes()
public boolean isSetSizeBytes()
public void setSizeBytesIsSet(boolean value)
public long getCreationTimeMs()
public ClientFileInfo setCreationTimeMs(long creationTimeMs)
public void unsetCreationTimeMs()
public boolean isSetCreationTimeMs()
public void setCreationTimeMsIsSet(boolean value)
public boolean isReady()
public ClientFileInfo setReady(boolean ready)
public void unsetReady()
public boolean isSetReady()
public void setReadyIsSet(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 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(Object that)
equals
in class Object
public boolean equals(ClientFileInfo that)
public int hashCode()
hashCode
in class Object
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 String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |