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