@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class ExecutorSummary extends Object implements org.apache.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>, Serializable, Cloneable, Comparable<ExecutorSummary>
Modifier and Type | Class and Description |
---|---|
static class |
ExecutorSummary._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<ExecutorSummary._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ExecutorSummary() |
ExecutorSummary(ExecutorInfo executor_info,
String component_id,
String host,
int port,
int uptime_secs) |
ExecutorSummary(ExecutorSummary other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ExecutorSummary other) |
ExecutorSummary |
deepCopy() |
boolean |
equals(ExecutorSummary that) |
boolean |
equals(Object that) |
ExecutorSummary._Fields |
fieldForId(int fieldId) |
String |
get_component_id() |
ExecutorInfo |
get_executor_info() |
String |
get_host() |
int |
get_port() |
ExecutorStats |
get_stats() |
int |
get_uptime_secs() |
Object |
getFieldValue(ExecutorSummary._Fields field) |
int |
hashCode() |
boolean |
is_set_component_id()
Returns true if field component_id is set (has been assigned a value) and false otherwise
|
boolean |
is_set_executor_info()
Returns true if field executor_info is set (has been assigned a value) and false otherwise
|
boolean |
is_set_host()
Returns true if field host is set (has been assigned a value) and false otherwise
|
boolean |
is_set_port()
Returns true if field port is set (has been assigned a value) and false otherwise
|
boolean |
is_set_stats()
Returns true if field stats is set (has been assigned a value) and false otherwise
|
boolean |
is_set_uptime_secs()
Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
|
boolean |
isSet(ExecutorSummary._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_component_id_isSet(boolean value) |
void |
set_component_id(String component_id) |
void |
set_executor_info_isSet(boolean value) |
void |
set_executor_info(ExecutorInfo executor_info) |
void |
set_host_isSet(boolean value) |
void |
set_host(String host) |
void |
set_port_isSet(boolean value) |
void |
set_port(int port) |
void |
set_stats_isSet(boolean value) |
void |
set_stats(ExecutorStats stats) |
void |
set_uptime_secs_isSet(boolean value) |
void |
set_uptime_secs(int uptime_secs) |
void |
setFieldValue(ExecutorSummary._Fields field,
Object value) |
String |
toString() |
void |
unset_component_id() |
void |
unset_executor_info() |
void |
unset_host() |
void |
unset_port() |
void |
unset_stats() |
void |
unset_uptime_secs() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ExecutorSummary._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ExecutorSummary()
public ExecutorSummary(ExecutorInfo executor_info, String component_id, String host, int port, int uptime_secs)
public ExecutorSummary(ExecutorSummary other)
Performs a deep copy on other.
public ExecutorSummary deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
public ExecutorInfo get_executor_info()
public void set_executor_info(ExecutorInfo executor_info)
public void unset_executor_info()
public boolean is_set_executor_info()
Returns true if field executor_info is set (has been assigned a value) and false otherwise
public void set_executor_info_isSet(boolean value)
public String get_component_id()
public void set_component_id(String component_id)
public void unset_component_id()
public boolean is_set_component_id()
Returns true if field component_id is set (has been assigned a value) and false otherwise
public void set_component_id_isSet(boolean value)
public String get_host()
public void set_host(String host)
public void unset_host()
public boolean is_set_host()
Returns true if field host is set (has been assigned a value) and false otherwise
public void set_host_isSet(boolean value)
public int get_port()
public void set_port(int port)
public void unset_port()
public boolean is_set_port()
Returns true if field port is set (has been assigned a value) and false otherwise
public void set_port_isSet(boolean value)
public int get_uptime_secs()
public void set_uptime_secs(int uptime_secs)
public void unset_uptime_secs()
public boolean is_set_uptime_secs()
Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
public void set_uptime_secs_isSet(boolean value)
public ExecutorStats get_stats()
public void set_stats(ExecutorStats stats)
public void unset_stats()
public boolean is_set_stats()
Returns true if field stats is set (has been assigned a value) and false otherwise
public void set_stats_isSet(boolean value)
public void setFieldValue(ExecutorSummary._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
public Object getFieldValue(ExecutorSummary._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
public boolean isSet(ExecutorSummary._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<ExecutorSummary,ExecutorSummary._Fields>
public boolean equals(ExecutorSummary that)
public int compareTo(ExecutorSummary other)
compareTo
in interface Comparable<ExecutorSummary>
public ExecutorSummary._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.