DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Protected Member Functions | Properties | Private Member Functions | List of all members
Deveel.Data.Sql.Query.EquiJoinNode Class Reference
Inheritance diagram for Deveel.Data.Sql.Query.EquiJoinNode:
Deveel.Data.Sql.Query.BranchQueryPlanNode Deveel.Data.Sql.Query.IQueryPlanNode Deveel.Data.Serialization.ISerializable

Public Member Functions

 EquiJoinNode (IQueryPlanNode left, IQueryPlanNode right, ObjectName[] leftColumns, ObjectName[] rightColumns)
 
override ITable Evaluate (IRequest context)
 

Protected Member Functions

override void GetData (SerializeData data)
 
- Protected Member Functions inherited from Deveel.Data.Sql.Query.BranchQueryPlanNode
 BranchQueryPlanNode (IQueryPlanNode left, IQueryPlanNode right)
 
 BranchQueryPlanNode (ObjectData data)
 

Properties

ObjectName[] LeftColumns [get, private set]
 
ObjectName[] RightColumns [get, private set]
 
- Properties inherited from Deveel.Data.Sql.Query.BranchQueryPlanNode
IQueryPlanNode Left [get, private set]
 Gets the left node of the branch query plan node. More...
 
IQueryPlanNode Right [get, private set]
 Gets the right node of the branch query plan node. More...
 

Private Member Functions

 EquiJoinNode (ObjectData data)
 

Detailed Description

Definition at line 25 of file EquiJoinNode.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Query.EquiJoinNode.EquiJoinNode ( IQueryPlanNode  left,
IQueryPlanNode  right,
ObjectName[]  leftColumns,
ObjectName[]  rightColumns 
)
inline

Definition at line 26 of file EquiJoinNode.cs.

27  : base(left, right) {
28  LeftColumns = leftColumns;
29  RightColumns = rightColumns;
30  }
Deveel.Data.Sql.Query.EquiJoinNode.EquiJoinNode ( ObjectData  data)
inlineprivate

Definition at line 32 of file EquiJoinNode.cs.

33  : base(data) {
34  LeftColumns = data.GetValue<ObjectName[]>("LeftColumns");
35  RightColumns = data.GetValue<ObjectName[]>("RightColumns");
36  }

Member Function Documentation

override ITable Deveel.Data.Sql.Query.EquiJoinNode.Evaluate ( IRequest  context)
inlinevirtual

Implements Deveel.Data.Sql.Query.BranchQueryPlanNode.

Definition at line 42 of file EquiJoinNode.cs.

42  {
43  // Solve the left branch result
44  var leftResult = Left.Evaluate(context);
45  // Solve the right branch result
46  var rightResult = Right.Evaluate(context);
47 
48  return leftResult.EquiJoin(context, rightResult, LeftColumns, RightColumns);
49  }
IQueryPlanNode Right
Gets the right node of the branch query plan node.
ITable Evaluate(IRequest context)
IQueryPlanNode Left
Gets the left node of the branch query plan node.
override void Deveel.Data.Sql.Query.EquiJoinNode.GetData ( SerializeData  data)
inlineprotectedvirtual

Reimplemented from Deveel.Data.Sql.Query.BranchQueryPlanNode.

Definition at line 51 of file EquiJoinNode.cs.

51  {
52  data.SetValue("LeftColumns", LeftColumns);
53  data.SetValue("RightColumns", RightColumns);
54  }
void SetValue(string key, Type type, object value)

Property Documentation

ObjectName [] Deveel.Data.Sql.Query.EquiJoinNode.LeftColumns
getprivate set

Definition at line 38 of file EquiJoinNode.cs.

ObjectName [] Deveel.Data.Sql.Query.EquiJoinNode.RightColumns
getprivate set

Definition at line 40 of file EquiJoinNode.cs.


The documentation for this class was generated from the following file: