private void rebuildInputNodesConnections(List<TableNode> tableNodes, PigMapData mapData) { for (TableNode node : tableNodes) { if (node != null) { if (!node.getLookupIncomingConnections().isEmpty()) { if (!PigMapUtil.isExpressionEditable(node)) { node.setExpression(""); PigMapUtil.detachLookupSource(node, mapData); } } } } }
private void rebuildOutputNodesConnections( List<? extends TableNode> tableNodes, PigMapData mapData) { for (TableNode node : tableNodes) { if (node != null) { if (!node.getIncomingConnections().isEmpty()) { if (!PigMapUtil.isExpressionEditable(node)) { node.setExpression(""); PigMapUtil.detachConnectionsSouce(node, mapData); } } } } }