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 enableProfiling, boolean useCache) static voidhandleOrderBy(OSelectExecutionPlan plan, QueryPlanningInfo info, OCommandContext ctx, boolean profilingEnabled) static voidhandleProjectionsBlock(OSelectExecutionPlan result, QueryPlanningInfo info, OCommandContext ctx, boolean enableProfiling) static voidhandleUnwind(OSelectExecutionPlan result, QueryPlanningInfo info, OCommandContext ctx, boolean profilingEnabled) 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
public OInternalExecutionPlan createExecutionPlan(OCommandContext ctx, boolean enableProfiling, boolean useCache) -
handleProjectionsBlock
public static void handleProjectionsBlock(OSelectExecutionPlan result, QueryPlanningInfo info, OCommandContext ctx, boolean enableProfiling) -
translateDistinct
for backward compatibility, translate "distinct(foo)" to "DISTINCT foo". This method modifies the projection itself.- Parameters:
projection- the projection
-
handleUnwind
public static void handleUnwind(OSelectExecutionPlan result, QueryPlanningInfo info, OCommandContext ctx, boolean profilingEnabled) -
optimizeQuery
-
handleOrderBy
public static void handleOrderBy(OSelectExecutionPlan plan, QueryPlanningInfo info, OCommandContext ctx, boolean profilingEnabled)
-