48 references to TileOpKind
System.Data.Entity (48)
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (8)
1185if (tile.OpKind == TileOpKind.Named) 1194case TileOpKind.Join: opType = CellTreeOpType.IJ; break; 1195case TileOpKind.AntiSemiJoin: opType = CellTreeOpType.LASJ; break; 1196case TileOpKind.Union: opType = CellTreeOpType.Union; break; 1210case TileOpKind.Named: 1221case TileOpKind.Join: 1223case TileOpKind.AntiSemiJoin: 1225case TileOpKind.Union:
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingPass.cs (8)
27private readonly Dictionary<T_Tile, TileOpKind> m_usedViews = new Dictionary<T_Tile, TileOpKind>(); 154m_usedViews[view] = TileOpKind.Join; 167m_usedViews[view] = TileOpKind.AntiSemiJoin; 187m_usedViews[view] = TileOpKind.Join; 195m_usedViews[view] = TileOpKind.Join; // it is a useful join 218m_usedViews[view] = TileOpKind.AntiSemiJoin; 238m_usedViews[view] = TileOpKind.Join; // positive, intersected
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingProcessor.cs (4)
26internal abstract TileOpKind GetOpKind(T_Tile tile); 82internal override TileOpKind GetOpKind(T_Tile tile) 143if (GetOpKind(query) != TileOpKind.Named) 164if (GetOpKind(rewriting) == TileOpKind.Named)
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingSimplifier.cs (15)
23private readonly Dictionary<T_Tile, TileOpKind> m_usedViews = new Dictionary<T_Tile, TileOpKind>(); 26private RewritingSimplifier(T_Tile originalRewriting, T_Tile toAvoid, Dictionary<T_Tile, TileOpKind> usedViews, 41m_usedViews = new Dictionary<T_Tile, TileOpKind>(); 60internal static bool TrySimplifyJoinRewriting(ref T_Tile rewriting, T_Tile toAvoid, Dictionary<T_Tile, TileOpKind> usedViews, RewritingProcessor<T_Tile> qp) 76if (m_qp.GetOpKind(query) != TileOpKind.Union) 78m_usedViews[query] = TileOpKind.Union; 115case TileOpKind.Join: 116case TileOpKind.Union: 149case TileOpKind.Union: 178TileOpKind viewKind = m_usedViews[remainingView]; 196private T_Tile GetRewritingHalf(T_Tile halfRewriting, T_Tile remainingView, TileOpKind viewKind) 200case TileOpKind.Join: 202case TileOpKind.AntiSemiJoin: 204case TileOpKind.Union:
System\Data\Mapping\ViewGeneration\QueryRewriting\Tile.cs (13)
64return new TileBinaryOperator<T_Query>(arg1, arg2, TileOpKind.Union, _tileQueryProcessor.Union(arg1.Query, arg2.Query)); 69return new TileBinaryOperator<T_Query>(arg1, arg2, TileOpKind.Join, _tileQueryProcessor.Intersect(arg1.Query, arg2.Query)); 74return new TileBinaryOperator<T_Query>(arg1, arg2, TileOpKind.AntiSemiJoin, _tileQueryProcessor.Difference(arg1.Query, arg2.Query)); 87internal override TileOpKind GetOpKind(Tile<T_Query> tile) 106private readonly TileOpKind m_opKind; 108protected Tile(TileOpKind opKind, T_Query query) 130if (rewriting.OpKind == TileOpKind.Named) 171public TileOpKind OpKind 182: base(TileOpKind.Named, namedQuery) 216public TileBinaryOperator(Tile<T_Query> arg1, Tile<T_Query> arg2, TileOpKind opKind, T_Query query) 234case TileOpKind.Join: descriptionFormat = "({0} & {1})"; break; 235case TileOpKind.AntiSemiJoin: descriptionFormat = "({0} - {1})"; break; 236case TileOpKind.Union: descriptionFormat = "({0} | {1})"; break;