|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.service.HiveClusterStatus
public class HiveClusterStatus
Nested Class Summary | |
---|---|
static class |
HiveClusterStatus._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<HiveClusterStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
HiveClusterStatus()
|
|
HiveClusterStatus(HiveClusterStatus other)
Performs a deep copy on other. |
|
HiveClusterStatus(int taskTrackers,
int mapTasks,
int reduceTasks,
int maxMapTasks,
int maxReduceTasks,
JobTrackerState state)
|
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(HiveClusterStatus other)
|
HiveClusterStatus |
deepCopy()
|
boolean |
equals(HiveClusterStatus that)
|
boolean |
equals(Object that)
|
HiveClusterStatus._Fields |
fieldForId(int fieldId)
|
Object |
getFieldValue(HiveClusterStatus._Fields field)
|
int |
getMapTasks()
|
int |
getMaxMapTasks()
|
int |
getMaxReduceTasks()
|
int |
getReduceTasks()
|
JobTrackerState |
getState()
|
int |
getTaskTrackers()
|
int |
hashCode()
|
boolean |
isSet(HiveClusterStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetMapTasks()
Returns true if field mapTasks is set (has been assigned a value) and false otherwise |
boolean |
isSetMaxMapTasks()
Returns true if field maxMapTasks is set (has been assigned a value) and false otherwise |
boolean |
isSetMaxReduceTasks()
Returns true if field maxReduceTasks is set (has been assigned a value) and false otherwise |
boolean |
isSetReduceTasks()
Returns true if field reduceTasks 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 |
boolean |
isSetTaskTrackers()
Returns true if field taskTrackers is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(HiveClusterStatus._Fields field,
Object value)
|
void |
setMapTasks(int mapTasks)
|
void |
setMapTasksIsSet(boolean value)
|
void |
setMaxMapTasks(int maxMapTasks)
|
void |
setMaxMapTasksIsSet(boolean value)
|
void |
setMaxReduceTasks(int maxReduceTasks)
|
void |
setMaxReduceTasksIsSet(boolean value)
|
void |
setReduceTasks(int reduceTasks)
|
void |
setReduceTasksIsSet(boolean value)
|
void |
setState(JobTrackerState state)
|
void |
setStateIsSet(boolean value)
|
void |
setTaskTrackers(int taskTrackers)
|
void |
setTaskTrackersIsSet(boolean value)
|
String |
toString()
|
void |
unsetMapTasks()
|
void |
unsetMaxMapTasks()
|
void |
unsetMaxReduceTasks()
|
void |
unsetReduceTasks()
|
void |
unsetState()
|
void |
unsetTaskTrackers()
|
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 Map<HiveClusterStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public HiveClusterStatus()
public HiveClusterStatus(int taskTrackers, int mapTasks, int reduceTasks, int maxMapTasks, int maxReduceTasks, JobTrackerState state)
public HiveClusterStatus(HiveClusterStatus other)
Method Detail |
---|
public HiveClusterStatus deepCopy()
deepCopy
in interface org.apache.thrift.TBase<HiveClusterStatus,HiveClusterStatus._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<HiveClusterStatus,HiveClusterStatus._Fields>
public int getTaskTrackers()
public void setTaskTrackers(int taskTrackers)
public void unsetTaskTrackers()
public boolean isSetTaskTrackers()
public void setTaskTrackersIsSet(boolean value)
public int getMapTasks()
public void setMapTasks(int mapTasks)
public void unsetMapTasks()
public boolean isSetMapTasks()
public void setMapTasksIsSet(boolean value)
public int getReduceTasks()
public void setReduceTasks(int reduceTasks)
public void unsetReduceTasks()
public boolean isSetReduceTasks()
public void setReduceTasksIsSet(boolean value)
public int getMaxMapTasks()
public void setMaxMapTasks(int maxMapTasks)
public void unsetMaxMapTasks()
public boolean isSetMaxMapTasks()
public void setMaxMapTasksIsSet(boolean value)
public int getMaxReduceTasks()
public void setMaxReduceTasks(int maxReduceTasks)
public void unsetMaxReduceTasks()
public boolean isSetMaxReduceTasks()
public void setMaxReduceTasksIsSet(boolean value)
public JobTrackerState getState()
JobTrackerState
public void setState(JobTrackerState state)
JobTrackerState
public void unsetState()
public boolean isSetState()
public void setStateIsSet(boolean value)
public void setFieldValue(HiveClusterStatus._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<HiveClusterStatus,HiveClusterStatus._Fields>
public Object getFieldValue(HiveClusterStatus._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<HiveClusterStatus,HiveClusterStatus._Fields>
public boolean isSet(HiveClusterStatus._Fields field)
isSet
in interface org.apache.thrift.TBase<HiveClusterStatus,HiveClusterStatus._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(HiveClusterStatus that)
public int hashCode()
hashCode
in class Object
public int compareTo(HiveClusterStatus other)
compareTo
in interface Comparable<HiveClusterStatus>
public HiveClusterStatus._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<HiveClusterStatus,HiveClusterStatus._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<HiveClusterStatus,HiveClusterStatus._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<HiveClusterStatus,HiveClusterStatus._Fields>
org.apache.thrift.TException
public String toString()
toString
in class 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 |