@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class RebalanceOptions extends Object implements org.apache.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>, Serializable, Cloneable, Comparable<RebalanceOptions>
Modifier and Type | Class and Description |
---|---|
static class |
RebalanceOptions._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<RebalanceOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
RebalanceOptions() |
RebalanceOptions(RebalanceOptions other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(RebalanceOptions other) |
RebalanceOptions |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RebalanceOptions that) |
RebalanceOptions._Fields |
fieldForId(int fieldId) |
int |
get_num_executors_size() |
Map<String,Integer> |
get_num_executors() |
int |
get_num_workers() |
int |
get_wait_secs() |
Object |
getFieldValue(RebalanceOptions._Fields field) |
int |
hashCode() |
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_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
|
boolean |
is_set_wait_secs()
Returns true if field wait_secs is set (has been assigned a value) and false otherwise
|
boolean |
isSet(RebalanceOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_num_executors(String key,
int val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_num_executors_isSet(boolean value) |
void |
set_num_executors(Map<String,Integer> num_executors) |
void |
set_num_workers_isSet(boolean value) |
void |
set_num_workers(int num_workers) |
void |
set_wait_secs_isSet(boolean value) |
void |
set_wait_secs(int wait_secs) |
void |
setFieldValue(RebalanceOptions._Fields field,
Object value) |
String |
toString() |
void |
unset_num_executors() |
void |
unset_num_workers() |
void |
unset_wait_secs() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<RebalanceOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RebalanceOptions()
public RebalanceOptions(RebalanceOptions other)
Performs a deep copy on other.
public RebalanceOptions deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>
public int get_wait_secs()
public void set_wait_secs(int wait_secs)
public void unset_wait_secs()
public boolean is_set_wait_secs()
Returns true if field wait_secs is set (has been assigned a value) and false otherwise
public void set_wait_secs_isSet(boolean value)
public int get_num_workers()
public void set_num_workers(int num_workers)
public void unset_num_workers()
public boolean is_set_num_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
public void set_num_workers_isSet(boolean value)
public int get_num_executors_size()
public void put_to_num_executors(String key, int val)
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 void setFieldValue(RebalanceOptions._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>
public Object getFieldValue(RebalanceOptions._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>
public boolean isSet(RebalanceOptions._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<RebalanceOptions,RebalanceOptions._Fields>
public boolean equals(RebalanceOptions that)
public int compareTo(RebalanceOptions other)
compareTo
in interface Comparable<RebalanceOptions>
public RebalanceOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RebalanceOptions,RebalanceOptions._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.