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

Method bind

src/org/apache/pig/scripting/Pig.java:230–232  ·  view source on GitHub ↗

Bind this to a set of variables. Values must be provided for all Pig Latin parameters. @param vars map of variables to bind. Keys should be parameters defined in the Pig Latin. Values should be strings that provide values for those parameters. They can be either constants or variables from the ho

(Map<String, Object> vars)

Source from the content-addressed store, hash-verified

228 * Pig Latin parameter or if they contain unsupported types.
229 */
230 public BoundScript bind(Map<String, Object> vars) throws IOException {
231 return new BoundScript(replaceParameters(script, vars), scriptContext, name);
232 }
233
234 /**
235 * Bind this to multiple sets of variables. This will

Callers 2

mainFunction · 0.45
schemaMethod · 0.45

Calls 4

replaceParametersMethod · 0.95
getScriptEngineMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected