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

Method getOperatorForAlias

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

Source from the content-addressed store, hash-verified

1500 }
1501
1502 private LogicalRelationalOperator getOperatorForAlias(String alias) throws IOException {
1503 buildStorePlan (alias);
1504 LogicalRelationalOperator op = (LogicalRelationalOperator)currDAG.getOperator( alias );
1505 if( op == null ) {
1506 int errCode = 1005;
1507 String msg = "No plan for " + alias + " to describe";
1508 throw new FrontendException(msg, errCode, PigException.INPUT, false, null);
1509 }
1510 return op;
1511 }
1512
1513 /**
1514 * Returns data associated with LogicalPlan. It makes

Callers 2

dumpSchemaMethod · 0.95
dumpSchemaNestedMethod · 0.95

Calls 2

buildStorePlanMethod · 0.95
getOperatorMethod · 0.45

Tested by

no test coverage detected