org.apache.hadoop.hive.service
Class HiveClusterStatus

java.lang.Object
  extended by org.apache.hadoop.hive.service.HiveClusterStatus
All Implemented Interfaces:
Serializable, Cloneable, org.apache.thrift.TBase

public class HiveClusterStatus
extends Object
implements org.apache.thrift.TBase, Serializable, Cloneable

See Also:
Serialized Form

Field Summary
static int MAPTASKS
           
static int MAXMAPTASKS
           
static int MAXREDUCETASKS
           
static Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
static int REDUCETASKS
           
static int STATE
           
static int TASKTRACKERS
           
 
Constructor Summary
HiveClusterStatus()
           
HiveClusterStatus(HiveClusterStatus other)
          Performs a deep copy on other.
HiveClusterStatus(int taskTrackers, int mapTasks, int reduceTasks, int maxMapTasks, int maxReduceTasks, int state)
           
 
Method Summary
 HiveClusterStatus clone()
           
 boolean equals(HiveClusterStatus that)
           
 boolean equals(Object that)
           
 Object getFieldValue(int fieldID)
           
 int getMapTasks()
           
 int getMaxMapTasks()
           
 int getMaxReduceTasks()
           
 int getReduceTasks()
           
 int getState()
           
 int getTaskTrackers()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSetMapTasks()
           
 boolean isSetMaxMapTasks()
           
 boolean isSetMaxReduceTasks()
           
 boolean isSetReduceTasks()
           
 boolean isSetState()
           
 boolean isSetTaskTrackers()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(int fieldID, Object value)
           
 void setMapTasks(int mapTasks)
           
 void setMaxMapTasks(int maxMapTasks)
           
 void setMaxReduceTasks(int maxReduceTasks)
           
 void setReduceTasks(int reduceTasks)
           
 void setState(int state)
           
 void setTaskTrackers(int taskTrackers)
           
 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
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TASKTRACKERS

public static final int TASKTRACKERS
See Also:
Constant Field Values

MAPTASKS

public static final int MAPTASKS
See Also:
Constant Field Values

REDUCETASKS

public static final int REDUCETASKS
See Also:
Constant Field Values

MAXMAPTASKS

public static final int MAXMAPTASKS
See Also:
Constant Field Values

MAXREDUCETASKS

public static final int MAXREDUCETASKS
See Also:
Constant Field Values

STATE

public static final int STATE
See Also:
Constant Field Values

metaDataMap

public static final Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

HiveClusterStatus

public HiveClusterStatus()

HiveClusterStatus

public HiveClusterStatus(int taskTrackers,
                         int mapTasks,
                         int reduceTasks,
                         int maxMapTasks,
                         int maxReduceTasks,
                         int state)

HiveClusterStatus

public HiveClusterStatus(HiveClusterStatus other)
Performs a deep copy on other.

Method Detail

clone

public HiveClusterStatus clone()
Overrides:
clone in class Object

getTaskTrackers

public int getTaskTrackers()

setTaskTrackers

public void setTaskTrackers(int taskTrackers)

unsetTaskTrackers

public void unsetTaskTrackers()

isSetTaskTrackers

public boolean isSetTaskTrackers()

getMapTasks

public int getMapTasks()

setMapTasks

public void setMapTasks(int mapTasks)

unsetMapTasks

public void unsetMapTasks()

isSetMapTasks

public boolean isSetMapTasks()

getReduceTasks

public int getReduceTasks()

setReduceTasks

public void setReduceTasks(int reduceTasks)

unsetReduceTasks

public void unsetReduceTasks()

isSetReduceTasks

public boolean isSetReduceTasks()

getMaxMapTasks

public int getMaxMapTasks()

setMaxMapTasks

public void setMaxMapTasks(int maxMapTasks)

unsetMaxMapTasks

public void unsetMaxMapTasks()

isSetMaxMapTasks

public boolean isSetMaxMapTasks()

getMaxReduceTasks

public int getMaxReduceTasks()

setMaxReduceTasks

public void setMaxReduceTasks(int maxReduceTasks)

unsetMaxReduceTasks

public void unsetMaxReduceTasks()

isSetMaxReduceTasks

public boolean isSetMaxReduceTasks()

getState

public int getState()

setState

public void setState(int state)

unsetState

public void unsetState()

isSetState

public boolean isSetState()

setFieldValue

public void setFieldValue(int fieldID,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase

getFieldValue

public Object getFieldValue(int fieldID)
Specified by:
getFieldValue in interface org.apache.thrift.TBase

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(HiveClusterStatus that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2009 The Apache Software Foundation