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

Method createSoftLink

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

Create an soft edge between two nodes. @param from Operator dependent upon. @param to Operator having the dependency. @throws PlanException if the nodes is not in plan

(E from, E to)

Source from the content-addressed store, hash-verified

210 * @throws PlanException if the nodes is not in plan
211 */
212 public void createSoftLink(E from, E to) throws PlanException {
213 // Check that both nodes are in the plan.
214 checkInPlan(from);
215 checkInPlan(to);
216
217 mSoftFromEdges.put(from, to);
218 mSoftToEdges.put(to, from);
219 }
220
221 /**
222 * Remove an soft edge

Callers

nothing calls this directly

Calls 2

checkInPlanMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected