@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class Bolt extends Object implements org.apache.storm.thrift.TBase<Bolt,Bolt._Fields>, Serializable, Cloneable, Comparable<Bolt>
Modifier and Type | Class and Description |
---|---|
static class |
Bolt._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<Bolt._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Bolt() |
Bolt(Bolt other)
Performs a deep copy on other.
|
Bolt(ComponentObject bolt_object,
ComponentCommon common) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Bolt other) |
Bolt |
deepCopy() |
boolean |
equals(Bolt that) |
boolean |
equals(Object that) |
Bolt._Fields |
fieldForId(int fieldId) |
ComponentObject |
get_bolt_object() |
ComponentCommon |
get_common() |
Object |
getFieldValue(Bolt._Fields field) |
int |
hashCode() |
boolean |
is_set_bolt_object()
Returns true if field bolt_object is set (has been assigned a value) and false otherwise
|
boolean |
is_set_common()
Returns true if field common is set (has been assigned a value) and false otherwise
|
boolean |
isSet(Bolt._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_bolt_object_isSet(boolean value) |
void |
set_bolt_object(ComponentObject bolt_object) |
void |
set_common_isSet(boolean value) |
void |
set_common(ComponentCommon common) |
void |
setFieldValue(Bolt._Fields field,
Object value) |
String |
toString() |
void |
unset_bolt_object() |
void |
unset_common() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<Bolt._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public Bolt()
public Bolt(ComponentObject bolt_object, ComponentCommon common)
public Bolt(Bolt other)
Performs a deep copy on other.
public Bolt deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<Bolt,Bolt._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<Bolt,Bolt._Fields>
public ComponentObject get_bolt_object()
public void set_bolt_object(ComponentObject bolt_object)
public void unset_bolt_object()
public boolean is_set_bolt_object()
Returns true if field bolt_object is set (has been assigned a value) and false otherwise
public void set_bolt_object_isSet(boolean value)
public ComponentCommon get_common()
public void set_common(ComponentCommon common)
public void unset_common()
public boolean is_set_common()
Returns true if field common is set (has been assigned a value) and false otherwise
public void set_common_isSet(boolean value)
public void setFieldValue(Bolt._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<Bolt,Bolt._Fields>
public Object getFieldValue(Bolt._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<Bolt,Bolt._Fields>
public boolean isSet(Bolt._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<Bolt,Bolt._Fields>
public boolean equals(Bolt that)
public int compareTo(Bolt other)
compareTo
in interface Comparable<Bolt>
public Bolt._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<Bolt,Bolt._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 © 2022 The Apache Software Foundation. All rights reserved.