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.13.0)")
public class SupervisorAssignments
extends Object
implements org.apache.storm.thrift.TBase<SupervisorAssignments,SupervisorAssignments._Fields>, Serializable, Cloneable, Comparable<SupervisorAssignments>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<SupervisorAssignments._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionPerforms a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(SupervisorAssignments other) deepCopy()
boolean
boolean
equals
(SupervisorAssignments that) fieldForId
(int fieldId) int
int
hashCode()
boolean
Returns true if field storm_assignment is set (has been assigned a value) and false otherwiseboolean
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) toString()
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<SupervisorAssignments._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SupervisorAssignments
public SupervisorAssignments() -
SupervisorAssignments
Performs a deep copy on other.
-
-
Method Details
-
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
-
get_storm_assignment
-
set_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
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorAssignments,
SupervisorAssignments._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorAssignments,
SupervisorAssignments._Fields>
-
isSet
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
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<SupervisorAssignments>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-