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

Method registerMultiLineQuery

test/org/apache/pig/test/Util.java:958–964  ·  view source on GitHub ↗
(PigServer pigServer, String query)

Source from the content-addressed store, hash-verified

956 }
957
958 public static void registerMultiLineQuery(PigServer pigServer, String query) throws IOException {
959 File f = File.createTempFile("tmp", "");
960 PrintWriter pw = new PrintWriter(f);
961 pw.println(query);
962 pw.close();
963 pigServer.registerScript(f.getCanonicalPath());
964 }
965
966 public static int executeJavaCommand(String cmd) throws Exception {
967 return executeJavaCommandAndReturnInfo(cmd).exitCode;

Callers 15

testSimpleCsvMethod · 0.95
testQuotedCommasMethod · 0.95
testQuotedQuotesMethod · 0.95
testNullPaddingMethod · 0.95
testSimpleCsvMethod · 0.95
testQuotedCommasMethod · 0.95
testQuotedQuotesMethod · 0.95
storeCRMethod · 0.95
testProjectStarMultiMethod · 0.95

Calls 3

closeMethod · 0.65
createTempFileMethod · 0.45
registerScriptMethod · 0.45

Tested by

no test coverage detected