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

Method rewire

src/org/apache/pig/impl/plan/Operator.java:172–179  ·  view source on GitHub ↗

Make any necessary changes to a node based on a change of position in the plan. This allows operators to rewire their projections, etc. when they are relocated in a plan. @param oldPred Operator that was previously the predecessor. @param oldPredIndex position of the old prede

(Operator<V> oldPred, int oldPredIndex,
            Operator<V> newPred, boolean useOldPred)

Source from the content-addressed store, hash-verified

170 * @throws PlanException
171 */
172 public void rewire(Operator<V> oldPred, int oldPredIndex,
173 Operator<V> newPred, boolean useOldPred) throws PlanException {
174 //TODO
175 //this method should be made abstract in the future
176 if (oldPred == null) {
177 return;
178 }
179 }
180
181}

Callers 9

trimAboveMethod · 0.80
doInsertBetweenMethod · 0.80
replaceMethod · 0.80
removeAndReconnectMethod · 0.80
reconnectSuccessorsMethod · 0.80
reconnectPredecessorsMethod · 0.80
swapMethod · 0.80
pushBeforeMethod · 0.80
pushAfterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected