Map<String, StreamInfo> streamInfoMap = ThriftTopologyUtils
.getComponentCommon(topology, component).get_streams();
for (Entry<String, StreamInfo> entry : streamInfoMap.entrySet()) {
String streamId = entry.getKey();
StreamInfo streamInfo = entry.getValue();
streamToFieldsMap.put(streamId,
new Fields(streamInfo.get_output_fields()));
}
componentToStreamToFields.put(component, streamToFieldsMap);
}