JoinRegion joinRegion) throws QueryMetadataException, TeiidComponentException, AssertionError { if (joinRegion.getLeft() == null || joinRegion.getJoinRoot().getLastChild().getType() != NodeConstants.Types.ACCESS || joinRegion.getJoinRoot().getFirstChild().getType() == NodeConstants.Types.ACCESS) { return; Map<Object, List<PlanNode>> accessMapLeft = getAccessMap(metadata, capabilitiesFinder, joinRegion.getLeft()); joinRegion.getLeft().getJoinSourceNodes().remove(planNode); for (Set<PlanNode> source : joinRegion.getLeft().getCritieriaToSourceMap().values()) { if (source.remove(planNode)) { source.add(newAccess); joinRegion.getLeft().getJoinSourceNodes().put(newAccess, newAccess); joinRegion.getLeft().reconstructJoinRegoin(); break;
JoinRegion joinRegion) throws QueryMetadataException, TeiidComponentException, AssertionError { if (joinRegion.getLeft() == null || joinRegion.getJoinRoot().getLastChild().getType() != NodeConstants.Types.ACCESS || joinRegion.getJoinRoot().getFirstChild().getType() == NodeConstants.Types.ACCESS) { return; Map<Object, List<PlanNode>> accessMapLeft = getAccessMap(metadata, capabilitiesFinder, joinRegion.getLeft()); joinRegion.getLeft().getJoinSourceNodes().remove(planNode); for (Set<PlanNode> source : joinRegion.getLeft().getCritieriaToSourceMap().values()) { if (source.remove(planNode)) { source.add(newAccess); joinRegion.getLeft().getJoinSourceNodes().put(newAccess, newAccess); joinRegion.getLeft().reconstructJoinRegoin(); break;
JoinRegion joinRegion) throws QueryMetadataException, TeiidComponentException, AssertionError { if (joinRegion.getLeft() == null || joinRegion.getJoinRoot().getLastChild().getType() != NodeConstants.Types.ACCESS || joinRegion.getJoinRoot().getFirstChild().getType() == NodeConstants.Types.ACCESS) { return; Map<Object, List<PlanNode>> accessMapLeft = getAccessMap(metadata, capabilitiesFinder, joinRegion.getLeft()); joinRegion.getLeft().getJoinSourceNodes().remove(planNode); for (Set<PlanNode> source : joinRegion.getLeft().getCritieriaToSourceMap().values()) { if (source.remove(planNode)) { source.add(newAccess); joinRegion.getLeft().getJoinSourceNodes().put(newAccess, newAccess); joinRegion.getLeft().reconstructJoinRegoin(); break;
if (joinRegion.getLeft() != null) { leftOuterJoinRegions.add(joinRegion);
if (joinRegion.getLeft() != null) { leftOuterJoinRegions.add(joinRegion);
if (joinRegion.getLeft() != null) { leftOuterJoinRegions.add(joinRegion);