|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.stolaf.cs.wmrserver.thrift.JobStatus
public class JobStatus
Nested Class Summary | |
---|---|
static class |
JobStatus._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static java.util.Map<JobStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
JobStatus()
|
|
JobStatus(JobInfo info,
State state)
|
|
JobStatus(JobStatus other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(JobStatus other)
|
JobStatus |
deepCopy()
|
boolean |
equals(JobStatus that)
|
boolean |
equals(java.lang.Object that)
|
JobStatus._Fields |
fieldForId(int fieldId)
|
java.lang.Object |
getFieldValue(JobStatus._Fields field)
|
JobInfo |
getInfo()
|
PhaseStatus |
getMapStatus()
|
PhaseStatus |
getReduceStatus()
|
State |
getState()
|
int |
hashCode()
|
boolean |
isSet(JobStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetInfo()
Returns true if field info is set (has been assigned a value) and false otherwise |
boolean |
isSetMapStatus()
Returns true if field mapStatus is set (has been assigned a value) and false otherwise |
boolean |
isSetReduceStatus()
Returns true if field reduceStatus is set (has been assigned a value) and false otherwise |
boolean |
isSetState()
Returns true if field state is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(JobStatus._Fields field,
java.lang.Object value)
|
void |
setInfo(JobInfo info)
|
void |
setInfoIsSet(boolean value)
|
void |
setMapStatus(PhaseStatus mapStatus)
|
void |
setMapStatusIsSet(boolean value)
|
void |
setReduceStatus(PhaseStatus reduceStatus)
|
void |
setReduceStatusIsSet(boolean value)
|
void |
setState(State state)
|
void |
setStateIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetInfo()
|
void |
unsetMapStatus()
|
void |
unsetReduceStatus()
|
void |
unsetState()
|
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 |
---|
public static final java.util.Map<JobStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public JobStatus()
public JobStatus(JobInfo info, State state)
public JobStatus(JobStatus other)
Method Detail |
---|
public JobStatus deepCopy()
deepCopy
in interface org.apache.thrift.TBase<JobStatus,JobStatus._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<JobStatus,JobStatus._Fields>
public JobInfo getInfo()
public void setInfo(JobInfo info)
public void unsetInfo()
public boolean isSetInfo()
public void setInfoIsSet(boolean value)
public State getState()
State
public void setState(State state)
State
public void unsetState()
public boolean isSetState()
public void setStateIsSet(boolean value)
public PhaseStatus getMapStatus()
public void setMapStatus(PhaseStatus mapStatus)
public void unsetMapStatus()
public boolean isSetMapStatus()
public void setMapStatusIsSet(boolean value)
public PhaseStatus getReduceStatus()
public void setReduceStatus(PhaseStatus reduceStatus)
public void unsetReduceStatus()
public boolean isSetReduceStatus()
public void setReduceStatusIsSet(boolean value)
public void setFieldValue(JobStatus._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<JobStatus,JobStatus._Fields>
public java.lang.Object getFieldValue(JobStatus._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<JobStatus,JobStatus._Fields>
public boolean isSet(JobStatus._Fields field)
isSet
in interface org.apache.thrift.TBase<JobStatus,JobStatus._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(JobStatus that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(JobStatus other)
compareTo
in interface java.lang.Comparable<JobStatus>
public JobStatus._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<JobStatus,JobStatus._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<JobStatus,JobStatus._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<JobStatus,JobStatus._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |