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

Method add

src/org/apache/pig/impl/plan/OperatorPlan.java:159–163  ·  view source on GitHub ↗

Insert an operator into the plan. This only inserts it as a node in the graph, it does not connect it to any other operators. That should be done as a separate step using connect. @param op Operator to add to the plan.

(E op)

Source from the content-addressed store, hash-verified

157 * @param op Operator to add to the plan.
158 */
159 public void add(E op) {
160 markDirty();
161 mOps.put(op, op.getOperatorKey());
162 mKeys.put(op.getOperatorKey(), op);
163 }
164
165 /**
166 * Create an edge between two nodes. The direction of the edge implies data

Callers 3

addAsLeafMethod · 0.95
addAsRootMethod · 0.95
replaceMethod · 0.95

Calls 3

markDirtyMethod · 0.95
putMethod · 0.45
getOperatorKeyMethod · 0.45

Tested by

no test coverage detected