@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class ComponentCommon extends Object implements org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>, Serializable, Cloneable, Comparable<ComponentCommon>
Modifier and Type | Class and Description |
---|---|
static class |
ComponentCommon._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<ComponentCommon._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ComponentCommon() |
ComponentCommon(ComponentCommon other)
Performs a deep copy on other.
|
ComponentCommon(Map<GlobalStreamId,Grouping> inputs,
Map<String,StreamInfo> streams) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ComponentCommon other) |
ComponentCommon |
deepCopy() |
boolean |
equals(ComponentCommon that) |
boolean |
equals(Object that) |
ComponentCommon._Fields |
fieldForId(int fieldId) |
int |
get_inputs_size() |
Map<GlobalStreamId,Grouping> |
get_inputs() |
String |
get_json_conf() |
int |
get_parallelism_hint() |
int |
get_streams_size() |
Map<String,StreamInfo> |
get_streams() |
Object |
getFieldValue(ComponentCommon._Fields field) |
int |
hashCode() |
boolean |
is_set_inputs()
Returns true if field inputs is set (has been assigned a value) and false otherwise
|
boolean |
is_set_json_conf()
Returns true if field json_conf is set (has been assigned a value) and false otherwise
|
boolean |
is_set_parallelism_hint()
Returns true if field parallelism_hint is set (has been assigned a value) and false otherwise
|
boolean |
is_set_streams()
Returns true if field streams is set (has been assigned a value) and false otherwise
|
boolean |
isSet(ComponentCommon._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_inputs(GlobalStreamId key,
Grouping val) |
void |
put_to_streams(String key,
StreamInfo val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_inputs_isSet(boolean value) |
void |
set_inputs(Map<GlobalStreamId,Grouping> inputs) |
void |
set_json_conf_isSet(boolean value) |
void |
set_json_conf(String json_conf) |
void |
set_parallelism_hint_isSet(boolean value) |
void |
set_parallelism_hint(int parallelism_hint) |
void |
set_streams_isSet(boolean value) |
void |
set_streams(Map<String,StreamInfo> streams) |
void |
setFieldValue(ComponentCommon._Fields field,
Object value) |
String |
toString() |
void |
unset_inputs() |
void |
unset_json_conf() |
void |
unset_parallelism_hint() |
void |
unset_streams() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ComponentCommon._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ComponentCommon()
public ComponentCommon(Map<GlobalStreamId,Grouping> inputs, Map<String,StreamInfo> streams)
public ComponentCommon(ComponentCommon other)
Performs a deep copy on other.
public ComponentCommon deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>
public int get_inputs_size()
public void put_to_inputs(GlobalStreamId key, Grouping val)
public Map<GlobalStreamId,Grouping> get_inputs()
public void set_inputs(Map<GlobalStreamId,Grouping> inputs)
public void unset_inputs()
public boolean is_set_inputs()
Returns true if field inputs is set (has been assigned a value) and false otherwise
public void set_inputs_isSet(boolean value)
public int get_streams_size()
public void put_to_streams(String key, StreamInfo val)
public Map<String,StreamInfo> get_streams()
public void set_streams(Map<String,StreamInfo> streams)
public void unset_streams()
public boolean is_set_streams()
Returns true if field streams is set (has been assigned a value) and false otherwise
public void set_streams_isSet(boolean value)
public int get_parallelism_hint()
public void set_parallelism_hint(int parallelism_hint)
public void unset_parallelism_hint()
public boolean is_set_parallelism_hint()
Returns true if field parallelism_hint is set (has been assigned a value) and false otherwise
public void set_parallelism_hint_isSet(boolean value)
public String get_json_conf()
public void set_json_conf(String json_conf)
public void unset_json_conf()
public boolean is_set_json_conf()
Returns true if field json_conf is set (has been assigned a value) and false otherwise
public void set_json_conf_isSet(boolean value)
public void setFieldValue(ComponentCommon._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>
public Object getFieldValue(ComponentCommon._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>
public boolean isSet(ComponentCommon._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>
public boolean equals(ComponentCommon that)
public int compareTo(ComponentCommon other)
compareTo
in interface Comparable<ComponentCommon>
public ComponentCommon._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ComponentCommon,ComponentCommon._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.