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

Method discardBatch

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

Discards a batch of Pig commands. @throws FrontendException

()

Source from the content-addressed store, hash-verified

529 * @throws FrontendException
530 */
531 public void discardBatch() throws FrontendException {
532 if (currDAG == null || !isBatchOn()) {
533 int errCode = 1083;
534 String msg = "setBatchOn() must be called first.";
535 throw new FrontendException(msg, errCode, PigException.INPUT);
536 }
537
538 currDAG = graphs.pop();
539 }
540
541 /**
542 * Add a path to be skipped while automatically shipping binaries for

Calls 1

isBatchOnMethod · 0.95