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