Class OSelectExecutionPlanner
java.lang.Object
com.orientechnologies.orient.core.sql.executor.OSelectExecutionPlanner
- Author:
- Luigi Dell'Aquila (l.dellaquila-(at)-orientdb.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateExecutionPlan(OCommandContext ctx, boolean useCache) static voidhandleOrderBy(OSelectExecutionPlan plan, QueryPlanningInfo info, OCommandContext ctx) static voidhandleProjectionsBlock(OSelectExecutionPlan result, QueryPlanningInfo info, OCommandContext ctx) static voidhandleUnwind(OSelectExecutionPlan result, QueryPlanningInfo info) protected static voidoptimizeQuery(QueryPlanningInfo info, OCommandContext ctx) protected static OProjectiontranslateDistinct(OProjection projection) for backward compatibility, translate "distinct(foo)" to "DISTINCT foo".
-
Constructor Details
-
OSelectExecutionPlanner
-
-
Method Details
-
createExecutionPlan
-
handleProjectionsBlock
public static void handleProjectionsBlock(OSelectExecutionPlan result, QueryPlanningInfo info, OCommandContext ctx) -
translateDistinct
for backward compatibility, translate "distinct(foo)" to "DISTINCT foo". This method modifies the projection itself.- Parameters:
projection- the projection
-
handleUnwind
-
optimizeQuery
-
handleOrderBy
public static void handleOrderBy(OSelectExecutionPlan plan, QueryPlanningInfo info, OCommandContext ctx)
-