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

Method getPlan

src/org/apache/pig/PigServer.java:1599–1612  ·  view source on GitHub ↗
(String alias)

Source from the content-addressed store, hash-verified

1597 }
1598
1599 public LogicalPlan getPlan(String alias) throws IOException {
1600 LogicalPlan plan = lp;
1601
1602 if (alias != null) {
1603 LogicalRelationalOperator op = (LogicalRelationalOperator) operators.get(alias);
1604 if(op == null) {
1605 int errCode = 1003;
1606 String msg = "Unable to find an operator for alias " + alias;
1607 throw new FrontendException(msg, errCode, PigException.INPUT);
1608 }
1609 plan = aliases.get(op);
1610 }
1611 return plan;
1612 }
1613
1614
1615 /**

Callers 2

registerNoRunMethod · 0.95
postProcessMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected