public class HiveClusterStatus extends Object implements org.apache.thrift.TBase<HiveClusterStatus,HiveClusterStatus._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
HiveClusterStatus._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<HiveClusterStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
HiveClusterStatus() |
HiveClusterStatus(HiveClusterStatus other)
Performs a deep copy on other.
|
HiveClusterStatus(int taskTrackers,
int mapTasks,
int reduceTasks,
int maxMapTasks,
int maxReduceTasks,
JobTrackerState state) |
Modifier and Type | Method and Description |
---|---|
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) |
public static final Map<HiveClusterStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public HiveClusterStatus()
public HiveClusterStatus(int taskTrackers, int mapTasks, int reduceTasks, int maxMapTasks, int maxReduceTasks, JobTrackerState state)
public HiveClusterStatus(HiveClusterStatus other)
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(HiveClusterStatus that)
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.