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

Method registerScript

src/org/apache/pig/PigServer.java:732–734  ·  view source on GitHub ↗

Register a pig script from InputStream source which is more general and extensible the pig script can be from local file, then you can use FileInputStream. or pig script can be in memory which you build it dynamically, the you can use ByteArrayInputStream even pig script can be in remote machine, wh

(InputStream in)

Source from the content-addressed store, hash-verified

730 * @throws IOException
731 */
732 public void registerScript(InputStream in) throws IOException{
733 registerScript(in, null, null);
734 }
735
736 /**
737 * Register a pig script from InputStream source which is more general and extensible

Callers

nothing calls this directly

Calls 6

paramMapToListMethod · 0.95
setInteractiveMethod · 0.95
parseStopOnErrorMethod · 0.95
doParamSubstitutionMethod · 0.80
closeMethod · 0.65
errorMethod · 0.45

Tested by

no test coverage detected