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

Method illustrate

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

Run illustrate for this pipeline. Results will be printed to stdout. @throws IOException if illustrate fails.

()

Source from the content-addressed store, hash-verified

220 * @throws IOException if illustrate fails.
221 */
222 public void illustrate() throws IOException {
223 if (queries.isEmpty()) {
224 LOG.info("No bound query to illustrate");
225 return;
226 }
227 PigServer pigServer = new PigServer(scriptContext.getPigContext(), false);
228 registerQueryForDiagnostics(pigServer, queries.get(0));
229 pigServer.getExamples(null);
230 }
231
232 /**
233 * Explain this pipeline. Results will be printed to stdout.

Callers

nothing calls this directly

Calls 6

getExamplesMethod · 0.95
infoMethod · 0.80
getMethod · 0.65
isEmptyMethod · 0.45
getPigContextMethod · 0.45

Tested by

no test coverage detected