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.ConstantPlan Class Reference
Inheritance diagram for Deveel.Data.Sql.Query.QueryTablePlanner.ConstantPlan:
Deveel.Data.Sql.Query.QueryTablePlanner.ExpressionPlan Deveel.Data.Sql.Query.IExpressionPlan

Public Member Functions

 ConstantPlan (QueryTablePlanner planner, 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 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 848 of file QueryTablePlanner.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Query.QueryTablePlanner.ConstantPlan.ConstantPlan ( QueryTablePlanner  planner,
SqlExpression  expression 
)
inline

Definition at line 852 of file QueryTablePlanner.cs.

853  : base(0f) {
854  this.planner = planner;
855  this.expression = expression;
856  }

Member Function Documentation

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

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

Definition at line 858 of file QueryTablePlanner.cs.

858  {
859  foreach (var tablePlan in planner.tablePlans) {
860  tablePlan.UpdatePlan(new ConstantSelectNode(tablePlan.Plan, expression));
861  }
862  }

Member Data Documentation

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

Definition at line 850 of file QueryTablePlanner.cs.

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

Definition at line 849 of file QueryTablePlanner.cs.


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