4 types derived from CqlBlock
System.Data.Entity (4)
System\Data\Mapping\ViewGeneration\CqlGeneration\CaseCqlBlock.cs (1)
23internal sealed class CaseCqlBlock : CqlBlock
System\Data\Mapping\ViewGeneration\CqlGeneration\ExtentCqlBlock.cs (1)
23internal sealed class ExtentCqlBlock : CqlBlock
System\Data\Mapping\ViewGeneration\CqlGeneration\JoinCqlBlock.cs (1)
23internal sealed class JoinCqlBlock : CqlBlock
System\Data\Mapping\ViewGeneration\CqlGeneration\UnionCqlBlock.cs (1)
23internal sealed class UnionCqlBlock : CqlBlock
82 references to CqlBlock
System.Data.Entity (82)
System\Data\Mapping\ViewGeneration\CqlGeneration\AliasedSlot.cs (4)
30internal QualifiedSlot(CqlBlock block, ProjectedSlot slot) 39private readonly CqlBlock m_block; 47/// and returns a new deeply qualified slot (as opposed to <see cref="CqlBlock.QualifySlotWithBlockAlias"/>). 49internal override ProjectedSlot DeepQualify(CqlBlock block)
System\Data\Mapping\ViewGeneration\CqlGeneration\CaseCqlBlock.cs (6)
27/// Creates a <see cref="CqlBlock"/> containing the case statememt for the <paramref name="caseSlot"/> and projecting other slots as is from its child (input). CqlBlock with SELECT (slots), 30internal CaseCqlBlock(SlotInfo[] slots, int caseSlot, CqlBlock child, BoolExpression whereClause, CqlIdentifiers identifiers, int blockAliasNum) 31: base(slots, new List<CqlBlock>(new CqlBlock[] { child }), whereClause, identifiers, blockAliasNum) 55CqlBlock childBlock = Children[0]; 82CqlBlock childBlock = this.Children[0];
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (9)
30/// Initializes a <see cref="CqlBlock"/> with the SELECT (<paramref name="slotInfos"/>), FROM (<paramref name="children"/>), 33protected CqlBlock(SlotInfo[] slotInfos, List<CqlBlock> children, BoolExpression whereClause, CqlIdentifiers identifiers, int blockAliasNum) 36m_children = new ReadOnlyCollection<CqlBlock>(children); 49private readonly ReadOnlyCollection<CqlBlock> m_children; 77protected ReadOnlyCollection<CqlBlock> Children 204/// Initializes context positioning in the join tree that owns the <see cref="CqlBlock"/>. 214/// Searches the input <paramref name="row"/> for the property that represents the current <see cref="CqlBlock"/>. 238/// The class represents a position of a <see cref="CqlBlock"/> in a join tree. 255/// Example of <see cref="JoinTreeContext"/>s for the <see cref="CqlBlock"/>s:
System\Data\Mapping\ViewGeneration\CqlGeneration\ExtentCqlBlock.cs (4)
21/// A class that represents leaf <see cref="CqlBlock"/>s in the <see cref="CqlBlock"/> tree. 48private static readonly List<CqlBlock> EmptyChildren = new List<CqlBlock>();
System\Data\Mapping\ViewGeneration\CqlGeneration\JoinCqlBlock.cs (4)
32List<CqlBlock> children, 66foreach (CqlBlock child in Children) 97CqlBlock leftmostBlock = this.Children[0]; 103CqlBlock rightBlock = this.Children[i];
System\Data\Mapping\ViewGeneration\CqlGeneration\SlotInfo.cs (5)
20/// A class that keeps track of slot information in a <see cref="CqlBlock"/>. 26/// Creates a <see cref="SlotInfo"/> for a <see cref="CqlBlock"/> X with information about whether this slot is needed by X's parent 35/// Creates a <see cref="SlotInfo"/> for a <see cref="CqlBlock"/> X with information about whether this slot is needed by X's parent 82/// Returns true iff this slot is required by the <see cref="CqlBlock"/>'s parent. 91/// Returns true iff this slot is projected by this <see cref="CqlBlock"/>.
System\Data\Mapping\ViewGeneration\CqlGeneration\UnionCqlBlock.cs (3)
21/// Represents Union nodes in the <see cref="CqlBlock"/> tree. 29internal UnionCqlBlock(SlotInfo[] slotInfos, List<CqlBlock> children, CqlIdentifiers identifiers, int blockAliasNum) 41foreach (CqlBlock child in Children)
System\Data\Mapping\ViewGeneration\CqlGenerator.cs (13)
95CqlBlock blockTree = GenerateCqlBlockTree(); 110CqlBlock blockTree = GenerateCqlBlockTree(); 119/// Generates a <see cref="CqlBlock"/> tree that is capable of generating the actual Cql strings. 121private CqlBlock GenerateCqlBlockTree() 134CqlBlock viewBlock = m_view.ToCqlBlock(requiredSlots, m_identifiers, ref m_currentBlockNum, ref withRelationships); 146CqlBlock finalViewBlock = ConstructCaseBlocks(viewBlock, withRelationships); 190private CqlBlock ConstructCaseBlocks(CqlBlock viewBlock, IEnumerable<WithRelationship> withRelationships) 199CqlBlock result = ConstructCaseBlocks(viewBlock, 0, topSlots, withRelationships); 207private CqlBlock ConstructCaseBlocks(CqlBlock viewBlock, int startSlotNum, bool[] parentRequiredSlots, IEnumerable<WithRelationship> withRelationships) 245CqlBlock childBlock = ConstructCaseBlocks(viewBlock, foundSlot + 1, thisRequiredSlots, null); 272CqlBlock childBlock,
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (2)
80internal CaseStatement DeepQualify(CqlBlock block) 438internal WhenThen ReplaceWithQualifiedSlot(CqlBlock block)
System\Data\Mapping\ViewGeneration\Structures\CaseStatementProjectedSlot.cs (2)
46/// and returns a new deeply qualified slot (as opposed to <see cref="CqlBlock.QualifySlotWithBlockAlias"/>). 48internal override ProjectedSlot DeepQualify(CqlBlock block)
System\Data\Mapping\ViewGeneration\Structures\CellTreeNode.cs (2)
91internal abstract CqlBlock ToCqlBlock(bool[] requiredSlots, CqlIdentifiers identifiers, ref int blockAliasNum, 223CqlBlock block = ToCqlBlock(requiredSlots, identifiers, ref blockAliasNum, ref withRelationships);
System\Data\Mapping\ViewGeneration\Structures\ConstantProjectedSlot.cs (1)
57internal override ProjectedSlot DeepQualify(CqlBlock block)
System\Data\Mapping\ViewGeneration\Structures\LeafCellTreeNode.cs (1)
126internal override CqlBlock ToCqlBlock(bool[] requiredSlots, CqlIdentifiers identifiers, ref int blockAliasNum, ref List<WithRelationship> withRelationships)
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (22)
187internal override CqlBlock ToCqlBlock(bool[] requiredSlots, CqlIdentifiers identifiers, ref int blockAliasNum, 191CqlBlock result; 221private CqlBlock UnionToCqlBlock(bool[] requiredSlots, CqlIdentifiers identifiers, ref int blockAliasNum, ref List<WithRelationship> withRelationships) 225List<CqlBlock> children = new List<CqlBlock>(); 226List<Tuple<CqlBlock, SlotInfo>> additionalChildSlots = new List<Tuple<CqlBlock, SlotInfo>>(); 234CqlBlock childBlock = child.ToCqlBlock(childProjectedSlots, identifiers, ref blockAliasNum, ref withRelationships); 273foreach (CqlBlock childBlock in children) 303CqlBlock firstChild = children[0]; 319CqlBlock block = new UnionCqlBlock(slotInfos, children, identifiers, ++blockAliasNum); 336private CqlBlock JoinToCqlBlock(bool[] requiredSlots, CqlIdentifiers identifiers, ref int blockAliasNum, ref List<WithRelationship> withRelationships) 344List<CqlBlock> children = new List<CqlBlock>(); 354CqlBlock childBlock = child.ToCqlBlock(childProjectedSlots, identifiers, ref blockAliasNum, ref withRelationships); 385CqlBlock child = children[i]; 412CqlBlock result = new JoinCqlBlock(OpType, slotInfos, children, onClauses, identifiers, ++blockAliasNum); 421List<CqlBlock> children, int slotNum, CqlIdentifiers identifiers) 436CqlBlock child = children[childNum]; 525private static int GetInnerJoinChildForSlot(List<CqlBlock> children, int slotNum) 532CqlBlock child = children[i]; 562private void AddCaseForOuterJoins(CaseStatement caseForOuterJoins, CqlBlock child, int slotNum, CqlIdentifiers identifiers)
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (2)
64/// and returns a new deeply qualified slot (as opposed to <see cref="CqlBlock.QualifySlotWithBlockAlias"/>). 66internal virtual ProjectedSlot DeepQualify(CqlBlock block)
System\Data\Mapping\ViewGeneration\Structures\QualifiedCellIdBoolean.cs (2)
27internal QualifiedCellIdBoolean(CqlBlock block, CqlIdentifiers identifiers, int originalCellNum) 35private readonly CqlBlock m_block;