@Generated(value="Autogenerated by Thrift Compiler (0.9.2)", date="2015-10-16") 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 |
|---|---|
List<Long> |
blockIds |
long |
blockSizeBytes |
long |
creationTimeMs |
long |
fileId |
int |
inMemoryPercentage |
boolean |
isCacheable |
boolean |
isCompleted |
boolean |
isFolder |
boolean |
isPersisted |
boolean |
isPinned |
long |
lastModificationTimeMs |
long |
length |
static Map<FileInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
name |
String |
path |
long |
ttl |
String |
ufsPath |
| 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 isCompleted,
boolean isFolder,
boolean isPinned,
boolean isCacheable,
boolean isPersisted,
List<Long> blockIds,
int inMemoryPercentage,
long lastModificationTimeMs,
long ttl) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBlockIds(long 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) |
long |
getFileId() |
int |
getInMemoryPercentage() |
long |
getLastModificationTimeMs() |
long |
getLength() |
String |
getName() |
String |
getPath() |
long |
getTtl() |
String |
getUfsPath() |
int |
hashCode() |
boolean |
isIsCacheable() |
boolean |
isIsCompleted() |
boolean |
isIsFolder() |
boolean |
isIsPersisted() |
boolean |
isIsPinned() |
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 |
isSetCreationTimeMs()
Returns true if field creationTimeMs 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 |
isSetInMemoryPercentage()
Returns true if field inMemoryPercentage is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsCacheable()
Returns true if field isCacheable is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsCompleted()
Returns true if field isCompleted 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 |
isSetIsPersisted()
Returns true if field isPersisted 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 |
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 |
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 |
isSetTtl()
Returns true if field ttl 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 |
setCreationTimeMs(long creationTimeMs) |
void |
setCreationTimeMsIsSet(boolean value) |
void |
setFieldValue(FileInfo._Fields field,
Object value) |
FileInfo |
setFileId(long fileId) |
void |
setFileIdIsSet(boolean value) |
FileInfo |
setInMemoryPercentage(int inMemoryPercentage) |
void |
setInMemoryPercentageIsSet(boolean value) |
FileInfo |
setIsCacheable(boolean isCacheable) |
void |
setIsCacheableIsSet(boolean value) |
FileInfo |
setIsCompleted(boolean isCompleted) |
void |
setIsCompletedIsSet(boolean value) |
FileInfo |
setIsFolder(boolean isFolder) |
void |
setIsFolderIsSet(boolean value) |
FileInfo |
setIsPersisted(boolean isPersisted) |
void |
setIsPersistedIsSet(boolean value) |
FileInfo |
setIsPinned(boolean isPinned) |
void |
setIsPinnedIsSet(boolean value) |
FileInfo |
setLastModificationTimeMs(long lastModificationTimeMs) |
void |
setLastModificationTimeMsIsSet(boolean value) |
FileInfo |
setLength(long length) |
void |
setLengthIsSet(boolean value) |
FileInfo |
setName(String name) |
void |
setNameIsSet(boolean value) |
FileInfo |
setPath(String path) |
void |
setPathIsSet(boolean value) |
FileInfo |
setTtl(long ttl) |
void |
setTtlIsSet(boolean value) |
FileInfo |
setUfsPath(String ufsPath) |
void |
setUfsPathIsSet(boolean value) |
String |
toString() |
void |
unsetBlockIds() |
void |
unsetBlockSizeBytes() |
void |
unsetCreationTimeMs() |
void |
unsetFileId() |
void |
unsetInMemoryPercentage() |
void |
unsetIsCacheable() |
void |
unsetIsCompleted() |
void |
unsetIsFolder() |
void |
unsetIsPersisted() |
void |
unsetIsPinned() |
void |
unsetLastModificationTimeMs() |
void |
unsetLength() |
void |
unsetName() |
void |
unsetPath() |
void |
unsetTtl() |
void |
unsetUfsPath() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long fileId
public String name
public String path
public String ufsPath
public long length
public long blockSizeBytes
public long creationTimeMs
public boolean isCompleted
public boolean isFolder
public boolean isPinned
public boolean isCacheable
public boolean isPersisted
public int inMemoryPercentage
public long lastModificationTimeMs
public long ttl
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 isCompleted,
boolean isFolder,
boolean isPinned,
boolean isCacheable,
boolean isPersisted,
List<Long> blockIds,
int inMemoryPercentage,
long lastModificationTimeMs,
long ttl)
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 isIsCompleted()
public FileInfo setIsCompleted(boolean isCompleted)
public void unsetIsCompleted()
public boolean isSetIsCompleted()
public void setIsCompletedIsSet(boolean value)
public boolean isIsFolder()
public FileInfo setIsFolder(boolean isFolder)
public void unsetIsFolder()
public boolean isSetIsFolder()
public void setIsFolderIsSet(boolean value)
public boolean isIsPinned()
public FileInfo setIsPinned(boolean isPinned)
public void unsetIsPinned()
public boolean isSetIsPinned()
public void setIsPinnedIsSet(boolean value)
public boolean isIsCacheable()
public FileInfo setIsCacheable(boolean isCacheable)
public void unsetIsCacheable()
public boolean isSetIsCacheable()
public void setIsCacheableIsSet(boolean value)
public boolean isIsPersisted()
public FileInfo setIsPersisted(boolean isPersisted)
public void unsetIsPersisted()
public boolean isSetIsPersisted()
public void setIsPersistedIsSet(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 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.TExceptionpublic 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.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.