@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class SupervisorAssignments extends Object implements org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>, Serializable, Cloneable, Comparable<SupervisorAssignments>
Modifier and Type | Class and Description |
---|---|
static class |
SupervisorAssignments._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<SupervisorAssignments._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SupervisorAssignments() |
SupervisorAssignments(SupervisorAssignments other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SupervisorAssignments other) |
SupervisorAssignments |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SupervisorAssignments that) |
SupervisorAssignments._Fields |
fieldForId(int fieldId) |
int |
get_storm_assignment_size() |
Map<String,Assignment> |
get_storm_assignment() |
Object |
getFieldValue(SupervisorAssignments._Fields field) |
int |
hashCode() |
boolean |
is_set_storm_assignment()
Returns true if field storm_assignment is set (has been assigned a value) and false otherwise
|
boolean |
isSet(SupervisorAssignments._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_storm_assignment(String key,
Assignment val) |
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_storm_assignment_isSet(boolean value) |
void |
set_storm_assignment(Map<String,Assignment> storm_assignment) |
void |
setFieldValue(SupervisorAssignments._Fields field,
Object value) |
String |
toString() |
void |
unset_storm_assignment() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<SupervisorAssignments._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public SupervisorAssignments()
public SupervisorAssignments(SupervisorAssignments other)
Performs a deep copy on other.
public SupervisorAssignments deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
public int get_storm_assignment_size()
public void put_to_storm_assignment(String key, Assignment val)
public Map<String,Assignment> get_storm_assignment()
public void set_storm_assignment(Map<String,Assignment> storm_assignment)
public void unset_storm_assignment()
public boolean is_set_storm_assignment()
Returns true if field storm_assignment is set (has been assigned a value) and false otherwise
public void set_storm_assignment_isSet(boolean value)
public void setFieldValue(SupervisorAssignments._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
public Object getFieldValue(SupervisorAssignments._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
public boolean isSet(SupervisorAssignments._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
public boolean equals(SupervisorAssignments that)
public int compareTo(SupervisorAssignments other)
compareTo
in interface Comparable<SupervisorAssignments>
public SupervisorAssignments._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2019 The Apache Software Foundation. All rights reserved.