Package org.apache.storm.generated
Class SupervisorAssignments
- java.lang.Object
-
- org.apache.storm.generated.SupervisorAssignments
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<SupervisorAssignments>
,org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class SupervisorAssignments extends Object implements org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>, Serializable, Cloneable, Comparable<SupervisorAssignments>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SupervisorAssignments._Fields
The 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<SupervisorAssignments._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description SupervisorAssignments()
SupervisorAssignments(SupervisorAssignments other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(SupervisorAssignments other)
SupervisorAssignments
deepCopy()
boolean
equals(Object that)
boolean
equals(SupervisorAssignments that)
SupervisorAssignments._Fields
fieldForId(int fieldId)
Map<String,Assignment>
get_storm_assignment()
int
get_storm_assignment_size()
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 otherwiseboolean
isSet(SupervisorAssignments._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
put_to_storm_assignment(String key, Assignment val)
void
read(org.apache.storm.thrift.protocol.TProtocol iprot)
void
set_storm_assignment(Map<String,Assignment> storm_assignment)
void
set_storm_assignment_isSet(boolean value)
void
setFieldValue(SupervisorAssignments._Fields field, Object value)
String
toString()
void
unset_storm_assignment()
void
validate()
void
write(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<SupervisorAssignments._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
SupervisorAssignments
public SupervisorAssignments()
-
SupervisorAssignments
public SupervisorAssignments(SupervisorAssignments other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public SupervisorAssignments deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
-
get_storm_assignment_size
public int get_storm_assignment_size()
-
put_to_storm_assignment
public void put_to_storm_assignment(String key, Assignment val)
-
get_storm_assignment
public Map<String,Assignment> get_storm_assignment()
-
set_storm_assignment
public void set_storm_assignment(Map<String,Assignment> storm_assignment)
-
unset_storm_assignment
public void unset_storm_assignment()
-
is_set_storm_assignment
public boolean is_set_storm_assignment()
Returns true if field storm_assignment is set (has been assigned a value) and false otherwise
-
set_storm_assignment_isSet
public void set_storm_assignment_isSet(boolean value)
-
setFieldValue
public void setFieldValue(SupervisorAssignments._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
-
getFieldValue
public Object getFieldValue(SupervisorAssignments._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
-
isSet
public boolean isSet(SupervisorAssignments._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
-
equals
public boolean equals(SupervisorAssignments that)
-
compareTo
public int compareTo(SupervisorAssignments other)
- Specified by:
compareTo
in interfaceComparable<SupervisorAssignments>
-
fieldForId
public SupervisorAssignments._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
- Specified by:
read
in 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:
write
in 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
-
-