MCPcopy Create free account
hub / github.com/apache/pig / paramMapToList

Method paramMapToList

src/org/apache/pig/PigServer.java:788–796  ·  view source on GitHub ↗
(Map<String, String> params)

Source from the content-addressed store, hash-verified

786 }
787
788 protected List<String> paramMapToList(Map<String, String> params) {
789 List<String> paramList = new ArrayList<String>();
790 if (params != null) {
791 for (Map.Entry<String, String> entry : params.entrySet()) {
792 paramList.add(entry.getKey() + "=" + entry.getValue());
793 }
794 }
795 return paramList;
796 }
797
798 /**
799 * Creates a clone of the current DAG

Callers 2

registerScriptMethod · 0.95
registerNoRunMethod · 0.80

Calls 4

entrySetMethod · 0.80
addMethod · 0.65
getValueMethod · 0.65
getKeyMethod · 0.45

Tested by

no test coverage detected