@Test public void testFindSourceNodeWithAccessSource() { PlanNode root = getExamplePlan(); Set<GroupSymbol> groups = new HashSet<GroupSymbol>(); groups.add(getGroup(2)); PlanNode originatingNode = FrameUtil.findOriginatingNode(root, groups); assertEquals(NodeConstants.Types.JOIN, originatingNode.getType()); }
static PlanNode findOriginatingNode(PlanNode root, Set<GroupSymbol> groups) { return findOriginatingNode(root, groups, false); }
FrameUtil { static PlanNode findOriginatingNode(PlanNode root, Set<GroupSymbol> groups) { return findOriginatingNode(root, groups, false); } }
FrameUtil { static PlanNode findOriginatingNode(PlanNode root, Set<GroupSymbol> groups) { return findOriginatingNode(root, groups, false); }  }
FrameUtil { static PlanNode findOriginatingNode(PlanNode root, Set<GroupSymbol> groups) { return findOriginatingNode(root, groups, false); }  static void convertFrame(PlanNode startNode, GroupSymbol oldGroup, Set<GroupSymbol> newGroups, Map symbolMap, QueryMetadataInterface metadata); static LinkedHashMap<ElementSymbol, Expression> buildSymbolMap(GroupSymbol oldGroup, GroupSymbol newGroup, QueryMetadataInterface metadata); static PlanNode findJoinSourceNode(PlanNode root); static ProcessorPlan getNestedPlan(PlanNode accessNode); static boolean isOrderedOrStrictLimit(PlanNode node); }
FrameUtil { static PlanNode findOriginatingNode(PlanNode root, Set<GroupSymbol> groups) { return findOriginatingNode(root, groups, false); }  static void convertFrame(PlanNode startNode, GroupSymbol oldGroup, Set<GroupSymbol> newGroups, Map symbolMap, QueryMetadataInterface metadata); static LinkedHashMap<ElementSymbol, Expression> buildSymbolMap(GroupSymbol oldGroup, GroupSymbol newGroup, QueryMetadataInterface metadata); static PlanNode findJoinSourceNode(PlanNode root); static ProcessorPlan getNestedPlan(PlanNode accessNode); static boolean isOrderedOrStrictLimit(PlanNode node);  }