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

Method isBatchOn

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

Retrieve the current execution mode. @return true if the execution mode is batch; false otherwise.

()

Source from the content-addressed store, hash-verified

422 * @return true if the execution mode is batch; false otherwise.
423 */
424 public boolean isBatchOn() {
425 // Batch is on when there are multiple graphs on the
426 // stack. That gives the right response even if multiquery was
427 // turned off.
428 return graphs.size() > 0;
429 }
430
431 /**
432 * Returns whether there is anything to process in the current batch.

Callers 10

parseAndBuildMethod · 0.95
discardBatchMethod · 0.95
buildStorePlanMethod · 0.95
getExamplesMethod · 0.45
executeBatchMethod · 0.45
discardBatchMethod · 0.45
processDescribeMethod · 0.45
processExplainMethod · 0.45
processDumpMethod · 0.45
processIllustrateMethod · 0.45

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected