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

Public Member Functions

 SimpleSelectPlan (QueryTablePlanner planner, ObjectName columnName, SqlExpressionType op, SqlExpression expression)
 
override void AddToPlanTree ()
 
- Public Member Functions inherited from Deveel.Data.Sql.Query.QueryTablePlanner.ExpressionPlan
int CompareTo (IExpressionPlan other)
 

Private Attributes

readonly ObjectName columnName
 
readonly SqlExpressionType op
 
readonly SqlExpression expression
 
readonly QueryTablePlanner planner
 

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 869 of file QueryTablePlanner.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.Query.QueryTablePlanner.SimpleSelectPlan.SimpleSelectPlan ( QueryTablePlanner  planner,
ObjectName  columnName,
SqlExpressionType  op,
SqlExpression  expression 
)
inline

Definition at line 875 of file QueryTablePlanner.cs.

876  : base(0.2f){
877  this.planner = planner;
878  this.columnName = columnName;
879  this.op = op;
880  this.expression = expression;
881  }

Member Function Documentation

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

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

Definition at line 883 of file QueryTablePlanner.cs.

883  {
884  var tablePlan = planner.FindPlan(columnName);
885  tablePlan.UpdatePlan(new SimpleSelectNode(tablePlan.Plan, columnName, op, expression));
886  }
TablePlan FindPlan(ObjectName reference)
void UpdatePlan(IQueryPlanNode queryPlan)
Definition: TablePlan.cs:131

Member Data Documentation

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

Definition at line 870 of file QueryTablePlanner.cs.

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

Definition at line 872 of file QueryTablePlanner.cs.

readonly SqlExpressionType Deveel.Data.Sql.Query.QueryTablePlanner.SimpleSelectPlan.op
private

Definition at line 871 of file QueryTablePlanner.cs.

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

Definition at line 873 of file QueryTablePlanner.cs.


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