backtype.storm.generated
Class ExecutorSpecificStats

java.lang.Object
  extended by org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
      extended by backtype.storm.generated.ExecutorSpecificStats
All Implemented Interfaces:
Serializable, Comparable<ExecutorSpecificStats>, org.apache.thrift.TBase<ExecutorSpecificStats,ExecutorSpecificStats._Fields>

public class ExecutorSpecificStats
extends org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>

See Also:
Serialized Form

Nested Class Summary
static class ExecutorSpecificStats._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<ExecutorSpecificStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Fields inherited from class org.apache.thrift.TUnion
setField_, value_
 
Constructor Summary
ExecutorSpecificStats()
           
ExecutorSpecificStats(ExecutorSpecificStats._Fields setField, Object value)
           
ExecutorSpecificStats(ExecutorSpecificStats other)
           
 
Method Summary
static ExecutorSpecificStats bolt(BoltStats value)
           
protected  void checkType(ExecutorSpecificStats._Fields setField, Object value)
           
 int compareTo(ExecutorSpecificStats other)
           
 ExecutorSpecificStats deepCopy()
           
protected  ExecutorSpecificStats._Fields enumForId(short id)
           
 boolean equals(ExecutorSpecificStats other)
           
 boolean equals(Object other)
           
 ExecutorSpecificStats._Fields fieldForId(int fieldId)
           
 BoltStats get_bolt()
           
 SpoutStats get_spout()
           
protected  org.apache.thrift.protocol.TField getFieldDesc(ExecutorSpecificStats._Fields setField)
           
protected  org.apache.thrift.protocol.TStruct getStructDesc()
           
 int hashCode()
           
 boolean is_set_bolt()
           
 boolean is_set_spout()
           
protected  Object readValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)
           
 void set_bolt(BoltStats value)
           
 void set_spout(SpoutStats value)
           
static ExecutorSpecificStats spout(SpoutStats value)
           
protected  void writeValue(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

metaDataMap

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

ExecutorSpecificStats

public ExecutorSpecificStats()

ExecutorSpecificStats

public ExecutorSpecificStats(ExecutorSpecificStats._Fields setField,
                             Object value)

ExecutorSpecificStats

public ExecutorSpecificStats(ExecutorSpecificStats other)
Method Detail

deepCopy

public ExecutorSpecificStats deepCopy()

bolt

public static ExecutorSpecificStats bolt(BoltStats value)

spout

public static ExecutorSpecificStats spout(SpoutStats value)

checkType

protected void checkType(ExecutorSpecificStats._Fields setField,
                         Object value)
                  throws ClassCastException
Specified by:
checkType in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
Throws:
ClassCastException

readValue

protected Object readValue(org.apache.thrift.protocol.TProtocol iprot,
                           org.apache.thrift.protocol.TField field)
                    throws org.apache.thrift.TException
Specified by:
readValue in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
Throws:
org.apache.thrift.TException

writeValue

protected void writeValue(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
Specified by:
writeValue in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>
Throws:
org.apache.thrift.TException

getFieldDesc

protected org.apache.thrift.protocol.TField getFieldDesc(ExecutorSpecificStats._Fields setField)
Specified by:
getFieldDesc in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>

getStructDesc

protected org.apache.thrift.protocol.TStruct getStructDesc()
Specified by:
getStructDesc in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>

enumForId

protected ExecutorSpecificStats._Fields enumForId(short id)
Specified by:
enumForId in class org.apache.thrift.TUnion<ExecutorSpecificStats,ExecutorSpecificStats._Fields>

fieldForId

public ExecutorSpecificStats._Fields fieldForId(int fieldId)

get_bolt

public BoltStats get_bolt()

set_bolt

public void set_bolt(BoltStats value)

get_spout

public SpoutStats get_spout()

set_spout

public void set_spout(SpoutStats value)

is_set_bolt

public boolean is_set_bolt()

is_set_spout

public boolean is_set_spout()

equals

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

equals

public boolean equals(ExecutorSpecificStats other)

compareTo

public int compareTo(ExecutorSpecificStats other)

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.