2 types derived from AugmentedNode
System.Data.Entity (2)
System\Data\Query\PlanCompiler\JoinGraph.cs (2)
163
internal sealed class AugmentedTableNode :
AugmentedNode
259
internal sealed class AugmentedJoinNode :
AugmentedNode
1 instantiation of AugmentedNode
System.Data.Entity (1)
System\Data\Query\PlanCompiler\JoinGraph.cs (1)
722
augmentedNode = new
AugmentedNode
(m_vertexes.Count, node);
48 references to AugmentedNode
System.Data.Entity (48)
System\Data\Query\PlanCompiler\JoinGraph.cs (48)
87
protected
AugmentedNode
m_parent;
88
private List<
AugmentedNode
> m_children;
99
: this(id, node, new List<
AugmentedNode
>())
109
internal AugmentedNode(int id, Node node, List<
AugmentedNode
> children)
115
foreach (
AugmentedNode
chi in m_children)
135
internal
AugmentedNode
Parent
143
internal List<
AugmentedNode
> Children
279
AugmentedNode
leftChild,
AugmentedNode
rightChild,
282
: this(id, node, new List<
AugmentedNode
>(new
AugmentedNode
[] { leftChild, rightChild }))
295
internal AugmentedJoinNode(int id, Node node, List<
AugmentedNode
> children)
485
private List<
AugmentedNode
> m_vertexes;
514
m_vertexes = new List<
AugmentedNode
>();
683
private
AugmentedNode
BuildAugmentedNodeTree(Node node)
685
AugmentedNode
augmentedNode;
700
AugmentedNode
left = BuildAugmentedNodeTree(node.Child0);
701
AugmentedNode
right = BuildAugmentedNodeTree(node.Child1);
712
List<
AugmentedNode
> children = new List<
AugmentedNode
>();
853
foreach (
AugmentedNode
chi in joinNode.Children)
931
private void BuildJoinEdges(
AugmentedNode
node, int maxVisibility)
1173
private bool AreAllTableRowsPreserved(
AugmentedNode
root, AugmentedTableNode table)
1181
AugmentedNode
currentNode = table;
1221
private bool CanAllJoinEdgesBeTurnedIntoInnerJoins(
AugmentedNode
rightNode, IEnumerable<JoinEdge> joinEdges)
1245
private bool CanJoinEdgeBeTurnedIntoInnerJoin(
AugmentedNode
rightNode, JoinEdge joinEdge)
1291
foreach (
AugmentedNode
augmentedNode in m_vertexes)
1373
AugmentedNode
leastCommonAncestor = GetLeastCommonAncestor(tableJoinEdge.Right, replacingTableJoinEdge.Right);
1390
private static bool CanGetFileredByJoins(JoinEdge joinEdge,
AugmentedNode
leastCommonAncestor, bool disallowAnyJoin)
1392
AugmentedNode
currentNode = joinEdge.Right;
1393
AugmentedNode
currentParent = currentNode.Parent;
1422
AugmentedNode
leastCommonAncestor = GetLeastCommonAncestor(table, replacingTable);
1423
AugmentedNode
currentNode = table;
1443
private static
AugmentedNode
GetLeastCommonAncestor(
AugmentedNode
node1,
AugmentedNode
node2)
1450
AugmentedNode
currentParent;
1451
AugmentedNode
rigthNode;
1860
foreach (
AugmentedNode
augmentedNode in m_vertexes)
2261
foreach (
AugmentedNode
node in m_vertexes)
2467
foreach (
AugmentedNode
chi in joinNode.Children)
2635
private Node RebuildNodeTree(
AugmentedNode
augmentedNode, out Dictionary<Node, int> predicates)
2781
AugmentedNode
currentNode = m_root;
2782
AugmentedNode
child1Parent = currentNode;
2783
AugmentedNode
child2Parent = currentNode;
2808
private static
AugmentedNode
PickSubtree(int nodeId,
AugmentedNode
root)
2810
AugmentedNode
subree = root.Children[0];