Package org.apache.storm.generated
Class ComponentAggregateStats
- java.lang.Object
-
- org.apache.storm.generated.ComponentAggregateStats
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ComponentAggregateStats>,org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class ComponentAggregateStats extends Object implements org.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>, Serializable, Cloneable, Comparable<ComponentAggregateStats>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComponentAggregateStats._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<ComponentAggregateStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description ComponentAggregateStats()ComponentAggregateStats(ComponentAggregateStats other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(ComponentAggregateStats other)ComponentAggregateStatsdeepCopy()booleanequals(Object that)booleanequals(ComponentAggregateStats that)ComponentAggregateStats._FieldsfieldForId(int fieldId)CommonAggregateStatsget_common_stats()ErrorInfoget_last_error()SpecificAggregateStatsget_specific_stats()ComponentTypeget_type()ObjectgetFieldValue(ComponentAggregateStats._Fields field)inthashCode()booleanis_set_common_stats()Returns true if field common_stats is set (has been assigned a value) and false otherwisebooleanis_set_last_error()Returns true if field last_error is set (has been assigned a value) and false otherwisebooleanis_set_specific_stats()Returns true if field specific_stats is set (has been assigned a value) and false otherwisebooleanis_set_type()Returns true if field type is set (has been assigned a value) and false otherwisebooleanisSet(ComponentAggregateStats._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_common_stats(CommonAggregateStats common_stats)voidset_common_stats_isSet(boolean value)voidset_last_error(ErrorInfo last_error)voidset_last_error_isSet(boolean value)voidset_specific_stats(SpecificAggregateStats specific_stats)voidset_specific_stats_isSet(boolean value)voidset_type(ComponentType type)voidset_type_isSet(boolean value)voidsetFieldValue(ComponentAggregateStats._Fields field, Object value)StringtoString()voidunset_common_stats()voidunset_last_error()voidunset_specific_stats()voidunset_type()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<ComponentAggregateStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ComponentAggregateStats
public ComponentAggregateStats()
-
ComponentAggregateStats
public ComponentAggregateStats(ComponentAggregateStats other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ComponentAggregateStats deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
get_type
public ComponentType get_type()
- See Also:
ComponentType
-
set_type
public void set_type(ComponentType type)
- See Also:
ComponentType
-
unset_type
public void unset_type()
-
is_set_type
public boolean is_set_type()
Returns true if field type is set (has been assigned a value) and false otherwise
-
set_type_isSet
public void set_type_isSet(boolean value)
-
get_common_stats
public CommonAggregateStats get_common_stats()
-
set_common_stats
public void set_common_stats(CommonAggregateStats common_stats)
-
unset_common_stats
public void unset_common_stats()
-
is_set_common_stats
public boolean is_set_common_stats()
Returns true if field common_stats is set (has been assigned a value) and false otherwise
-
set_common_stats_isSet
public void set_common_stats_isSet(boolean value)
-
get_specific_stats
public SpecificAggregateStats get_specific_stats()
-
set_specific_stats
public void set_specific_stats(SpecificAggregateStats specific_stats)
-
unset_specific_stats
public void unset_specific_stats()
-
is_set_specific_stats
public boolean is_set_specific_stats()
Returns true if field specific_stats is set (has been assigned a value) and false otherwise
-
set_specific_stats_isSet
public void set_specific_stats_isSet(boolean value)
-
get_last_error
public ErrorInfo get_last_error()
-
set_last_error
public void set_last_error(ErrorInfo last_error)
-
unset_last_error
public void unset_last_error()
-
is_set_last_error
public boolean is_set_last_error()
Returns true if field last_error is set (has been assigned a value) and false otherwise
-
set_last_error_isSet
public void set_last_error_isSet(boolean value)
-
setFieldValue
public void setFieldValue(ComponentAggregateStats._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
getFieldValue
public Object getFieldValue(ComponentAggregateStats._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
isSet
public boolean isSet(ComponentAggregateStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
equals
public boolean equals(ComponentAggregateStats that)
-
compareTo
public int compareTo(ComponentAggregateStats other)
- Specified by:
compareToin interfaceComparable<ComponentAggregateStats>
-
fieldForId
public ComponentAggregateStats._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<ComponentAggregateStats,ComponentAggregateStats._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException- Specified by:
readin interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException- Specified by:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-