@Generated(value="Autogenerated by Thrift Compiler (0.9.2)", date="2015-10-16") public class CheckpointFile extends Object implements org.apache.thrift.TBase<CheckpointFile,CheckpointFile._Fields>, Serializable, Cloneable, Comparable<CheckpointFile>
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckpointFile._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 |
fileId |
static Map<CheckpointFile._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
CheckpointFile() |
CheckpointFile(CheckpointFile other)
Performs a deep copy on other.
|
CheckpointFile(long fileId,
List<Long> blockIds) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBlockIds(long elem) |
void |
clear() |
int |
compareTo(CheckpointFile other) |
CheckpointFile |
deepCopy() |
boolean |
equals(CheckpointFile that) |
boolean |
equals(Object that) |
CheckpointFile._Fields |
fieldForId(int fieldId) |
List<Long> |
getBlockIds() |
Iterator<Long> |
getBlockIdsIterator() |
int |
getBlockIdsSize() |
Object |
getFieldValue(CheckpointFile._Fields field) |
long |
getFileId() |
int |
hashCode() |
boolean |
isSet(CheckpointFile._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) |
CheckpointFile |
setBlockIds(List<Long> blockIds) |
void |
setBlockIdsIsSet(boolean value) |
void |
setFieldValue(CheckpointFile._Fields field,
Object value) |
CheckpointFile |
setFileId(long fileId) |
void |
setFileIdIsSet(boolean value) |
String |
toString() |
void |
unsetBlockIds() |
void |
unsetFileId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long fileId
public static final Map<CheckpointFile._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CheckpointFile()
public CheckpointFile(CheckpointFile other)
public CheckpointFile deepCopy()
deepCopy in interface org.apache.thrift.TBase<CheckpointFile,CheckpointFile._Fields>public void clear()
clear in interface org.apache.thrift.TBase<CheckpointFile,CheckpointFile._Fields>public long getFileId()
public CheckpointFile setFileId(long fileId)
public void unsetFileId()
public boolean isSetFileId()
public void setFileIdIsSet(boolean value)
public int getBlockIdsSize()
public void addToBlockIds(long elem)
public CheckpointFile setBlockIds(List<Long> blockIds)
public void unsetBlockIds()
public boolean isSetBlockIds()
public void setBlockIdsIsSet(boolean value)
public void setFieldValue(CheckpointFile._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<CheckpointFile,CheckpointFile._Fields>public Object getFieldValue(CheckpointFile._Fields field)
getFieldValue in interface org.apache.thrift.TBase<CheckpointFile,CheckpointFile._Fields>public boolean isSet(CheckpointFile._Fields field)
isSet in interface org.apache.thrift.TBase<CheckpointFile,CheckpointFile._Fields>public boolean equals(CheckpointFile that)
public int compareTo(CheckpointFile other)
compareTo in interface Comparable<CheckpointFile>public CheckpointFile._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<CheckpointFile,CheckpointFile._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<CheckpointFile,CheckpointFile._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<CheckpointFile,CheckpointFile._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2015. All Rights Reserved.