DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Private Attributes | List of all members
Deveel.Data.Sql.Query.QueryTablePlanner.ExhaustiveSubQueryPlan Class Reference
Inheritance diagram for Deveel.Data.Sql.Query.QueryTablePlanner.ExhaustiveSubQueryPlan:
Deveel.Data.Sql.Query.QueryTablePlanner.ExpressionPlan Deveel.Data.Sql.Query.IExpressionPlan

Public Member Functions

 ExhaustiveSubQueryPlan (QueryTablePlanner planner, ObjectName[] columnNames, SqlExpression expression)
 
override void AddToPlanTree ()
 
- Public Member Functions inherited from Deveel.Data.Sql.Query.QueryTablePlanner.ExpressionPlan
int CompareTo (IExpressionPlan other)
 

Private Attributes

readonly QueryTablePlanner planner
 
readonly ObjectName[] columnNames
 
readonly SqlExpression expression
 

Additional Inherited Members

- Protected Member Functions inherited from Deveel.Data.Sql.Query.QueryTablePlanner.ExpressionPlan
 ExpressionPlan (float optimizeFactor)
 
- Properties inherited from Deveel.Data.Sql.Query.QueryTablePlanner.ExpressionPlan
float OptimizeFactor [get, private set]
 
- Properties inherited from Deveel.Data.Sql.Query.IExpressionPlan
float OptimizeFactor [get]
 

Detailed Description

Definition at line 980 of file QueryTablePlanner.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Query.QueryTablePlanner.ExhaustiveSubQueryPlan.ExhaustiveSubQueryPlan ( QueryTablePlanner  planner,
ObjectName[]  columnNames,
SqlExpression  expression 
)
inline

Definition at line 985 of file QueryTablePlanner.cs.

986  : base(0.85f) {
987  this.planner = planner;
988  this.columnNames = columnNames;
989  this.expression = expression;
990  }

Member Function Documentation

override void Deveel.Data.Sql.Query.QueryTablePlanner.ExhaustiveSubQueryPlan.AddToPlanTree ( )
inlinevirtual

Implements Deveel.Data.Sql.Query.QueryTablePlanner.ExpressionPlan.

Definition at line 992 of file QueryTablePlanner.cs.

992  {
993  var tablePlan = planner.JoinPlansForColumns(columnNames);
994  tablePlan.UpdatePlan(new ExhaustiveSelectNode(tablePlan.Plan, expression));
995  }
void UpdatePlan(IQueryPlanNode queryPlan)
Definition: TablePlan.cs:131
TablePlan JoinPlansForColumns(IEnumerable< ObjectName > columnNames)

Member Data Documentation

readonly ObjectName [] Deveel.Data.Sql.Query.QueryTablePlanner.ExhaustiveSubQueryPlan.columnNames
private

Definition at line 982 of file QueryTablePlanner.cs.

readonly SqlExpression Deveel.Data.Sql.Query.QueryTablePlanner.ExhaustiveSubQueryPlan.expression
private

Definition at line 983 of file QueryTablePlanner.cs.

readonly QueryTablePlanner Deveel.Data.Sql.Query.QueryTablePlanner.ExhaustiveSubQueryPlan.planner
private

Definition at line 981 of file QueryTablePlanner.cs.


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