// <summary> // Copy Constructor // </summary> internal CellQuery(CellQuery source) { m_basicCellRelation = source.m_basicCellRelation; m_boolExprs = source.m_boolExprs; m_selectDistinct = source.m_selectDistinct; m_extentMemberPath = source.m_extentMemberPath; m_originalWhereClause = source.m_originalWhereClause; m_projectedSlots = source.m_projectedSlots; m_whereClause = source.m_whereClause; }
// <summary> // Copy Constructor // </summary> internal CellQuery(CellQuery source) { m_basicCellRelation = source.m_basicCellRelation; m_boolExprs = source.m_boolExprs; m_selectDistinct = source.m_selectDistinct; m_extentMemberPath = source.m_extentMemberPath; m_originalWhereClause = source.m_originalWhereClause; m_projectedSlots = source.m_projectedSlots; m_whereClause = source.m_whereClause; }
// effects: Given all the fields, just sets them. internal CellQuery(ProjectedSlot[] projectedSlots, BoolExpression whereClause, List <BoolExpression> boolExprs, SelectDistinct elimDupl, MemberPath rootMember) { m_boolExprs = boolExprs; m_projectedSlots = projectedSlots; m_whereClause = whereClause; m_originalWhereClause = whereClause; m_selectDistinct = elimDupl; m_extentMemberPath = rootMember; }
// effects: Given all the fields, just sets them. internal CellQuery( ProjectedSlot[] projectedSlots, BoolExpression whereClause, List<BoolExpression> boolExprs, SelectDistinct elimDupl, MemberPath rootMember) { m_boolExprs = boolExprs; m_projectedSlots = projectedSlots; m_whereClause = whereClause; m_originalWhereClause = whereClause; m_selectDistinct = elimDupl; m_extentMemberPath = rootMember; }
// effects: Creates a cell query with the given projection (slots), // from part (joinTreeRoot) and the predicate (whereClause) // Used for cell creation internal CellQuery(List <ProjectedSlot> slots, BoolExpression whereClause, MemberPath rootMember, SelectDistinct eliminateDuplicates) : this(slots.ToArray(), whereClause, new List <BoolExpression>(), eliminateDuplicates, rootMember) { }
// effects: Creates a cell query with the given projection (slots), // from part (joinTreeRoot) and the predicate (whereClause) // Used for cell creation internal CellQuery(List<ProjectedSlot> slots, BoolExpression whereClause, MemberPath rootMember, SelectDistinct eliminateDuplicates) : this(slots.ToArray(), whereClause, new List<BoolExpression>(), eliminateDuplicates, rootMember) { }