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

Public Member Functions

 ComplexSinglePlan (QueryTablePlanner planner, ObjectName columnName, 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 columnName
 
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 915 of file QueryTablePlanner.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Query.QueryTablePlanner.ComplexSinglePlan.ComplexSinglePlan ( QueryTablePlanner  planner,
ObjectName  columnName,
SqlExpression  expression 
)
inline

Definition at line 920 of file QueryTablePlanner.cs.

921  : base(0.8f) {
922  this.planner = planner;
923  this.columnName = columnName;
924  this.expression = expression;
925  }

Member Function Documentation

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

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

Definition at line 927 of file QueryTablePlanner.cs.

927  {
928  var tablePlan = planner.FindPlan(columnName);
929  tablePlan.UpdatePlan(new ExhaustiveSelectNode(tablePlan.Plan, expression));
930  }
TablePlan FindPlan(ObjectName reference)
void UpdatePlan(IQueryPlanNode queryPlan)
Definition: TablePlan.cs:131

Member Data Documentation

readonly ObjectName Deveel.Data.Sql.Query.QueryTablePlanner.ComplexSinglePlan.columnName
private

Definition at line 917 of file QueryTablePlanner.cs.

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

Definition at line 918 of file QueryTablePlanner.cs.

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

Definition at line 916 of file QueryTablePlanner.cs.


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