public static class MasterService.addCheckpoint_args extends Object implements org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>, Serializable, Cloneable, Comparable<MasterService.addCheckpoint_args>
Modifier and Type | Class and Description |
---|---|
static class |
MasterService.addCheckpoint_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
String |
checkpointPath |
int |
fileId |
long |
length |
static Map<MasterService.addCheckpoint_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
workerId |
Constructor and Description |
---|
MasterService.addCheckpoint_args() |
MasterService.addCheckpoint_args(long workerId,
int fileId,
long length,
String checkpointPath) |
MasterService.addCheckpoint_args(MasterService.addCheckpoint_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(MasterService.addCheckpoint_args other) |
MasterService.addCheckpoint_args |
deepCopy() |
boolean |
equals(MasterService.addCheckpoint_args that) |
boolean |
equals(Object that) |
MasterService.addCheckpoint_args._Fields |
fieldForId(int fieldId) |
String |
getCheckpointPath() |
Object |
getFieldValue(MasterService.addCheckpoint_args._Fields field) |
int |
getFileId() |
long |
getLength() |
long |
getWorkerId() |
int |
hashCode() |
boolean |
isSet(MasterService.addCheckpoint_args._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 |
isSetFileId()
Returns true if field fileId 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 |
isSetWorkerId()
Returns true if field workerId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
MasterService.addCheckpoint_args |
setCheckpointPath(String checkpointPath) |
void |
setCheckpointPathIsSet(boolean value) |
void |
setFieldValue(MasterService.addCheckpoint_args._Fields field,
Object value) |
MasterService.addCheckpoint_args |
setFileId(int fileId) |
void |
setFileIdIsSet(boolean value) |
MasterService.addCheckpoint_args |
setLength(long length) |
void |
setLengthIsSet(boolean value) |
MasterService.addCheckpoint_args |
setWorkerId(long workerId) |
void |
setWorkerIdIsSet(boolean value) |
String |
toString() |
void |
unsetCheckpointPath() |
void |
unsetFileId() |
void |
unsetLength() |
void |
unsetWorkerId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long workerId
public int fileId
public long length
public String checkpointPath
public static final Map<MasterService.addCheckpoint_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public MasterService.addCheckpoint_args()
public MasterService.addCheckpoint_args(long workerId, int fileId, long length, String checkpointPath)
public MasterService.addCheckpoint_args(MasterService.addCheckpoint_args other)
public MasterService.addCheckpoint_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
public long getWorkerId()
public MasterService.addCheckpoint_args setWorkerId(long workerId)
public void unsetWorkerId()
public boolean isSetWorkerId()
public void setWorkerIdIsSet(boolean value)
public int getFileId()
public MasterService.addCheckpoint_args setFileId(int fileId)
public void unsetFileId()
public boolean isSetFileId()
public void setFileIdIsSet(boolean value)
public long getLength()
public MasterService.addCheckpoint_args setLength(long length)
public void unsetLength()
public boolean isSetLength()
public void setLengthIsSet(boolean value)
public String getCheckpointPath()
public MasterService.addCheckpoint_args setCheckpointPath(String checkpointPath)
public void unsetCheckpointPath()
public boolean isSetCheckpointPath()
public void setCheckpointPathIsSet(boolean value)
public void setFieldValue(MasterService.addCheckpoint_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
public Object getFieldValue(MasterService.addCheckpoint_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
public boolean isSet(MasterService.addCheckpoint_args._Fields field)
isSet
in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
public boolean equals(MasterService.addCheckpoint_args that)
public int compareTo(MasterService.addCheckpoint_args other)
compareTo
in interface Comparable<MasterService.addCheckpoint_args>
public MasterService.addCheckpoint_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._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<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2013. All rights reserved.