tachyon.thrift
Class ClientFileInfo

java.lang.Object
  extended by tachyon.thrift.ClientFileInfo
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ClientFileInfo>, org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>

public class ClientFileInfo
extends Object
implements org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>, Serializable, Cloneable

See Also:
Serialized Form

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

id

public int id

name

public String name

path

public String path

checkpointPath

public String checkpointPath

sizeBytes

public long sizeBytes

creationTimeMs

public long creationTimeMs

ready

public boolean ready

folder

public boolean folder

inMemory

public boolean inMemory

needPin

public boolean needPin

needCache

public boolean needCache

metaDataMap

public static final Map<ClientFileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

ClientFileInfo

public ClientFileInfo()

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)

ClientFileInfo

public ClientFileInfo(ClientFileInfo other)
Performs a deep copy on other.

Method Detail

deepCopy

public ClientFileInfo deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>

getId

public int getId()

setId

public ClientFileInfo setId(int id)

unsetId

public void unsetId()

isSetId

public boolean isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise


setIdIsSet

public void setIdIsSet(boolean value)

getName

public String getName()

setName

public ClientFileInfo setName(String name)

unsetName

public void unsetName()

isSetName

public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise


setNameIsSet

public void setNameIsSet(boolean value)

getPath

public String getPath()

setPath

public ClientFileInfo setPath(String path)

unsetPath

public void unsetPath()

isSetPath

public boolean isSetPath()
Returns true if field path is set (has been assigned a value) and false otherwise


setPathIsSet

public void setPathIsSet(boolean value)

getCheckpointPath

public String getCheckpointPath()

setCheckpointPath

public ClientFileInfo setCheckpointPath(String checkpointPath)

unsetCheckpointPath

public void unsetCheckpointPath()

isSetCheckpointPath

public boolean isSetCheckpointPath()
Returns true if field checkpointPath is set (has been assigned a value) and false otherwise


setCheckpointPathIsSet

public void setCheckpointPathIsSet(boolean value)

getSizeBytes

public long getSizeBytes()

setSizeBytes

public ClientFileInfo setSizeBytes(long sizeBytes)

unsetSizeBytes

public void unsetSizeBytes()

isSetSizeBytes

public boolean isSetSizeBytes()
Returns true if field sizeBytes is set (has been assigned a value) and false otherwise


setSizeBytesIsSet

public void setSizeBytesIsSet(boolean value)

getCreationTimeMs

public long getCreationTimeMs()

setCreationTimeMs

public ClientFileInfo setCreationTimeMs(long creationTimeMs)

unsetCreationTimeMs

public void unsetCreationTimeMs()

isSetCreationTimeMs

public boolean isSetCreationTimeMs()
Returns true if field creationTimeMs is set (has been assigned a value) and false otherwise


setCreationTimeMsIsSet

public void setCreationTimeMsIsSet(boolean value)

isReady

public boolean isReady()

setReady

public ClientFileInfo setReady(boolean ready)

unsetReady

public void unsetReady()

isSetReady

public boolean isSetReady()
Returns true if field ready is set (has been assigned a value) and false otherwise


setReadyIsSet

public void setReadyIsSet(boolean value)

isFolder

public boolean isFolder()

setFolder

public ClientFileInfo setFolder(boolean folder)

unsetFolder

public void unsetFolder()

isSetFolder

public boolean isSetFolder()
Returns true if field folder is set (has been assigned a value) and false otherwise


setFolderIsSet

public void setFolderIsSet(boolean value)

isInMemory

public boolean isInMemory()

setInMemory

public ClientFileInfo setInMemory(boolean inMemory)

unsetInMemory

public void unsetInMemory()

isSetInMemory

public boolean isSetInMemory()
Returns true if field inMemory is set (has been assigned a value) and false otherwise


setInMemoryIsSet

public void setInMemoryIsSet(boolean value)

isNeedPin

public boolean isNeedPin()

setNeedPin

public ClientFileInfo setNeedPin(boolean needPin)

unsetNeedPin

public void unsetNeedPin()

isSetNeedPin

public boolean isSetNeedPin()
Returns true if field needPin is set (has been assigned a value) and false otherwise


setNeedPinIsSet

public void setNeedPinIsSet(boolean value)

isNeedCache

public boolean isNeedCache()

setNeedCache

public ClientFileInfo setNeedCache(boolean needCache)

unsetNeedCache

public void unsetNeedCache()

isSetNeedCache

public boolean isSetNeedCache()
Returns true if field needCache is set (has been assigned a value) and false otherwise


setNeedCacheIsSet

public void setNeedCacheIsSet(boolean value)

setFieldValue

public void setFieldValue(ClientFileInfo._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>

getFieldValue

public Object getFieldValue(ClientFileInfo._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>

isSet

public boolean isSet(ClientFileInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(ClientFileInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(ClientFileInfo other)
Specified by:
compareTo in interface Comparable<ClientFileInfo>

fieldForId

public ClientFileInfo._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<ClientFileInfo,ClientFileInfo._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013. All Rights Reserved.