@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class PersistFile extends Object implements org.apache.thrift.TBase<PersistFile,PersistFile._Fields>, Serializable, Cloneable, Comparable<PersistFile>
Modifier and Type | Class and Description |
---|---|
static class |
PersistFile._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<PersistFile._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
PersistFile() |
PersistFile(long fileId,
List<Long> blockIds) |
PersistFile(PersistFile other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToBlockIds(long elem) |
void |
clear() |
int |
compareTo(PersistFile other) |
PersistFile |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PersistFile that) |
PersistFile._Fields |
fieldForId(int fieldId) |
List<Long> |
getBlockIds() |
Iterator<Long> |
getBlockIdsIterator() |
int |
getBlockIdsSize() |
Object |
getFieldValue(PersistFile._Fields field) |
long |
getFileId() |
int |
hashCode() |
boolean |
isSet(PersistFile._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 |
isSetFileId()
Returns true if field fileId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
PersistFile |
setBlockIds(List<Long> blockIds) |
void |
setBlockIdsIsSet(boolean value) |
void |
setFieldValue(PersistFile._Fields field,
Object value) |
PersistFile |
setFileId(long fileId) |
void |
setFileIdIsSet(boolean value) |
String |
toString() |
void |
unsetBlockIds() |
void |
unsetFileId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<PersistFile._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PersistFile()
public PersistFile(PersistFile other)
public PersistFile deepCopy()
deepCopy
in interface org.apache.thrift.TBase<PersistFile,PersistFile._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<PersistFile,PersistFile._Fields>
public long getFileId()
public PersistFile setFileId(long fileId)
public void unsetFileId()
public boolean isSetFileId()
public void setFileIdIsSet(boolean value)
public int getBlockIdsSize()
public void addToBlockIds(long elem)
public PersistFile setBlockIds(List<Long> blockIds)
public void unsetBlockIds()
public boolean isSetBlockIds()
public void setBlockIdsIsSet(boolean value)
public void setFieldValue(PersistFile._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<PersistFile,PersistFile._Fields>
public Object getFieldValue(PersistFile._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<PersistFile,PersistFile._Fields>
public boolean isSet(PersistFile._Fields field)
isSet
in interface org.apache.thrift.TBase<PersistFile,PersistFile._Fields>
public boolean equals(PersistFile that)
public int compareTo(PersistFile other)
compareTo
in interface Comparable<PersistFile>
public PersistFile._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<PersistFile,PersistFile._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<PersistFile,PersistFile._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<PersistFile,PersistFile._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.