@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class CommonAggregateStats extends Object implements org.apache.thrift.TBase<CommonAggregateStats,CommonAggregateStats._Fields>, Serializable, Cloneable, Comparable<CommonAggregateStats>
Modifier and Type | Class and Description |
---|---|
static class |
CommonAggregateStats._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<CommonAggregateStats._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
CommonAggregateStats() |
CommonAggregateStats(CommonAggregateStats other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(CommonAggregateStats other) |
CommonAggregateStats |
deepCopy() |
boolean |
equals(CommonAggregateStats that) |
boolean |
equals(Object that) |
CommonAggregateStats._Fields |
fieldForId(int fieldId) |
long |
get_acked() |
long |
get_emitted() |
long |
get_failed() |
int |
get_num_executors() |
int |
get_num_tasks() |
int |
get_resources_map_size() |
Map<String,Double> |
get_resources_map() |
long |
get_transferred() |
Object |
getFieldValue(CommonAggregateStats._Fields field) |
int |
hashCode() |
boolean |
is_set_acked()
Returns true if field acked is set (has been assigned a value) and false otherwise
|
boolean |
is_set_emitted()
Returns true if field emitted is set (has been assigned a value) and false otherwise
|
boolean |
is_set_failed()
Returns true if field failed is set (has been assigned a value) and false otherwise
|
boolean |
is_set_num_executors()
Returns true if field num_executors is set (has been assigned a value) and false otherwise
|
boolean |
is_set_num_tasks()
Returns true if field num_tasks is set (has been assigned a value) and false otherwise
|
boolean |
is_set_resources_map()
Returns true if field resources_map is set (has been assigned a value) and false otherwise
|
boolean |
is_set_transferred()
Returns true if field transferred is set (has been assigned a value) and false otherwise
|
boolean |
isSet(CommonAggregateStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_resources_map(String key,
double val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_acked_isSet(boolean value) |
void |
set_acked(long acked) |
void |
set_emitted_isSet(boolean value) |
void |
set_emitted(long emitted) |
void |
set_failed_isSet(boolean value) |
void |
set_failed(long failed) |
void |
set_num_executors_isSet(boolean value) |
void |
set_num_executors(int num_executors) |
void |
set_num_tasks_isSet(boolean value) |
void |
set_num_tasks(int num_tasks) |
void |
set_resources_map_isSet(boolean value) |
void |
set_resources_map(Map<String,Double> resources_map) |
void |
set_transferred_isSet(boolean value) |
void |
set_transferred(long transferred) |
void |
setFieldValue(CommonAggregateStats._Fields field,
Object value) |
String |
toString() |
void |
unset_acked() |
void |
unset_emitted() |
void |
unset_failed() |
void |
unset_num_executors() |
void |
unset_num_tasks() |
void |
unset_resources_map() |
void |
unset_transferred() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<CommonAggregateStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CommonAggregateStats()
public CommonAggregateStats(CommonAggregateStats other)
Performs a deep copy on other.
public CommonAggregateStats deepCopy()
deepCopy
in interface org.apache.thrift.TBase<CommonAggregateStats,CommonAggregateStats._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<CommonAggregateStats,CommonAggregateStats._Fields>
public int get_num_executors()
public void set_num_executors(int num_executors)
public void unset_num_executors()
public boolean is_set_num_executors()
Returns true if field num_executors is set (has been assigned a value) and false otherwise
public void set_num_executors_isSet(boolean value)
public int get_num_tasks()
public void set_num_tasks(int num_tasks)
public void unset_num_tasks()
public boolean is_set_num_tasks()
Returns true if field num_tasks is set (has been assigned a value) and false otherwise
public void set_num_tasks_isSet(boolean value)
public long get_emitted()
public void set_emitted(long emitted)
public void unset_emitted()
public boolean is_set_emitted()
Returns true if field emitted is set (has been assigned a value) and false otherwise
public void set_emitted_isSet(boolean value)
public long get_transferred()
public void set_transferred(long transferred)
public void unset_transferred()
public boolean is_set_transferred()
Returns true if field transferred is set (has been assigned a value) and false otherwise
public void set_transferred_isSet(boolean value)
public long get_acked()
public void set_acked(long acked)
public void unset_acked()
public boolean is_set_acked()
Returns true if field acked is set (has been assigned a value) and false otherwise
public void set_acked_isSet(boolean value)
public long get_failed()
public void set_failed(long failed)
public void unset_failed()
public boolean is_set_failed()
Returns true if field failed is set (has been assigned a value) and false otherwise
public void set_failed_isSet(boolean value)
public int get_resources_map_size()
public void put_to_resources_map(String key, double val)
public void unset_resources_map()
public boolean is_set_resources_map()
Returns true if field resources_map is set (has been assigned a value) and false otherwise
public void set_resources_map_isSet(boolean value)
public void setFieldValue(CommonAggregateStats._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<CommonAggregateStats,CommonAggregateStats._Fields>
public Object getFieldValue(CommonAggregateStats._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<CommonAggregateStats,CommonAggregateStats._Fields>
public boolean isSet(CommonAggregateStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<CommonAggregateStats,CommonAggregateStats._Fields>
public boolean equals(CommonAggregateStats that)
public int compareTo(CommonAggregateStats other)
compareTo
in interface Comparable<CommonAggregateStats>
public CommonAggregateStats._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<CommonAggregateStats,CommonAggregateStats._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<CommonAggregateStats,CommonAggregateStats._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<CommonAggregateStats,CommonAggregateStats._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.