MCPcopy Create free account
hub / github.com/apache/storm / setFieldValue

Method setFieldValue

storm-client/src/jvm/org/apache/storm/generated/Bolt.java:200–220  ·  view source on GitHub ↗
(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value)

Source from the content-addressed store, hash-verified

198 }
199
200 @Override
201 public void setFieldValue(_Fields field, @org.apache.storm.thrift.annotation.Nullable java.lang.Object value) {
202 switch (field) {
203 case BOLT_OBJECT:
204 if (value == null) {
205 unset_bolt_object();
206 } else {
207 set_bolt_object((ComponentObject)value);
208 }
209 break;
210
211 case COMMON:
212 if (value == null) {
213 unset_common();
214 } else {
215 set_common((ComponentCommon)value);
216 }
217 break;
218
219 }
220 }
221
222 @org.apache.storm.thrift.annotation.Nullable
223 @Override

Callers

nothing calls this directly

Calls 4

unset_bolt_objectMethod · 0.95
set_bolt_objectMethod · 0.95
unset_commonMethod · 0.95
set_commonMethod · 0.95

Tested by

no test coverage detected