mongodb-protolib/src/main/java/com/streamsets/pipeline/stage/processor/mongodb/MongoDBProcessor.java
private void setFieldsInRecord(Record record, Map<String, Field> fields) {
    record.set(configBean.resultField, Field.createListMap(new LinkedHashMap<>(fields)));
  }
private void setFieldsInRecord(Record record, Map<String, Field> fields) {
    record.set(configBean.resultField, Field.createListMap(new LinkedHashMap<>(fields)));
  }
private void setFieldsInRecord ( Record record , Map < String , Field > fields ) { record . set ( configBean . resultField , Field . createListMap ( new LinkedHashMap <> ( fields ) ) ) ; }
Set the lookup reuslt in the result field
@param record Lookup result
@param fields Field name configured in "result field"
Set the lookup reuslt in the result field