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

Method getOutputFields

storm-client/src/jvm/org/apache/storm/streams/Node.java:68–76  ·  view source on GitHub ↗
(IComponent component, String streamId)

Source from the content-addressed store, hash-verified

66 }
67
68 static Fields getOutputFields(IComponent component, String streamId) {
69 OutputFieldsGetter getter = new OutputFieldsGetter();
70 component.declareOutputFields(getter);
71 Map<String, StreamInfo> fieldsDeclaration = getter.getFieldsDeclaration();
72 if ((fieldsDeclaration != null) && fieldsDeclaration.containsKey(streamId)) {
73 return new Fields(fieldsDeclaration.get(streamId).get_output_fields());
74 }
75 return new Fields();
76 }
77
78 public Fields getOutputFields() {
79 return outputFields;

Callers

nothing calls this directly

Calls 5

getFieldsDeclarationMethod · 0.95
get_output_fieldsMethod · 0.80
declareOutputFieldsMethod · 0.65
getMethod · 0.65
containsKeyMethod · 0.45

Tested by

no test coverage detected