PlanQuery() private method

private PlanQuery ( IRequest context, SqlQueryExpression queryExpression, QueryExpressionFrom queryFrom, IList sortColumns, QueryLimit limit ) : IQueryPlanNode
context IRequest
queryExpression Deveel.Data.Sql.Expressions.SqlQueryExpression
queryFrom QueryExpressionFrom
sortColumns IList
limit QueryLimit
return IQueryPlanNode
Example #1
0
            public SqlExpression Prepare(SqlExpression expression)
            {
                var queryExpression = (SqlQueryExpression)expression;
                var queryFrom       = QueryExpressionFrom.Create(context, queryExpression);

                queryFrom.Parent = parent;
                var plan = planner.PlanQuery(context, queryExpression, queryFrom, null, null);

                return(SqlExpression.Constant(new DataObject(new QueryType(), new SqlQueryObject(new CachePointNode(plan)))));
            }