Uses of Class
com.mckoi.database.interpret.Planner.PlanTableSource
-
Packages that use Planner.PlanTableSource Package Description com.mckoi.database.interpret -
-
Uses of Planner.PlanTableSource in com.mckoi.database.interpret
Fields in com.mckoi.database.interpret declared as Planner.PlanTableSource Modifier and Type Field Description (package private) Planner.PlanTableSource
Planner.PlanTableSource. left_plan
How this plan is naturally joined to other plans in the source.(package private) Planner.PlanTableSource
Planner.PlanTableSource. right_plan
How this plan is naturally joined to other plans in the source.(package private) Planner.PlanTableSource
Planner.QueryTableSetPlanner.SingleVarPlan. table_source
Methods in com.mckoi.database.interpret that return Planner.PlanTableSource Modifier and Type Method Description static Planner.PlanTableSource
Planner.QueryTableSetPlanner. concatTableSources(Planner.PlanTableSource left, Planner.PlanTableSource right, QueryPlanNode plan)
Forms a new PlanTableSource that's the concatination of the given two PlanTableSource objects.Planner.PlanTableSource
Planner.PlanTableSource. copy()
Makes a copy of this table source.Planner.PlanTableSource
Planner.QueryTableSetPlanner. findCommonTableSource(java.util.List var_list)
Finds a common PlanTableSource that contains the list of variables given.Planner.PlanTableSource
Planner.QueryTableSetPlanner. findTableSource(Variable ref)
Finds and returns the PlanTableSource in the list of tables that contains the given Variable reference.Planner.PlanTableSource
Planner.QueryTableSetPlanner. findTableSourceWithUniqueKey(java.lang.String key)
Finds and returns the PlanTableSource in the list of table that contains the given unique key name.private Planner.PlanTableSource
Planner.QueryTableSetPlanner. getSingleTableSource()
Returns the single PlanTableSource for this planner.private Planner.PlanTableSource
Planner.QueryTableSetPlanner. joinAllPlansToSingleSource(java.util.List all_plans)
Given a list of PlanTableSource objects, this will produce a plan that naturally joins all the tables together into a single plan.private Planner.PlanTableSource
Planner.QueryTableSetPlanner. joinAllPlansWithVariables(java.util.List all_vars)
Creates a single PlanTableSource that encapsulates all the given variables in a single table.Planner.PlanTableSource
Planner.QueryTableSetPlanner. mergeTables(Planner.PlanTableSource left, Planner.PlanTableSource right, QueryPlanNode merge_plan)
Joins two tables when a plan is generated for joining the two tables.private Planner.PlanTableSource
Planner.QueryTableSetPlanner. naturalJoinAll()
Naturally joins all remaining tables sources to make a final single plan which is returned.private Planner.PlanTableSource
Planner.QueryTableSetPlanner. naturallyJoinPlans(Planner.PlanTableSource plan1, Planner.PlanTableSource plan2)
Naturally joins two PlanTableSource objects in this planner.Methods in com.mckoi.database.interpret with parameters of type Planner.PlanTableSource Modifier and Type Method Description private void
Planner.QueryTableSetPlanner. addPlanTableSource(Planner.PlanTableSource source)
Add a PlanTableSource to this planner.private void
Planner.QueryTableSetPlanner. addSingleVarPlanTo(java.util.ArrayList list, Planner.PlanTableSource table, Variable variable, Variable single_var, Expression[] exp_parts, Operator op)
Adds a single var plan to the given list.private int
Planner.QueryTableSetPlanner. canPlansBeNaturallyJoined(Planner.PlanTableSource plan1, Planner.PlanTableSource plan2)
Returns true if it is possible to naturally join the two plans.static Planner.PlanTableSource
Planner.QueryTableSetPlanner. concatTableSources(Planner.PlanTableSource left, Planner.PlanTableSource right, QueryPlanNode plan)
Forms a new PlanTableSource that's the concatination of the given two PlanTableSource objects.private int
Planner.QueryTableSetPlanner. indexOfPlanTableSource(Planner.PlanTableSource source)
Returns the index of the given PlanTableSource in the table list.Planner.PlanTableSource
Planner.QueryTableSetPlanner. mergeTables(Planner.PlanTableSource left, Planner.PlanTableSource right, QueryPlanNode merge_plan)
Joins two tables when a plan is generated for joining the two tables.private Planner.PlanTableSource
Planner.QueryTableSetPlanner. naturallyJoinPlans(Planner.PlanTableSource plan1, Planner.PlanTableSource plan2)
Naturally joins two PlanTableSource objects in this planner.(package private) void
Planner.PlanTableSource. setJoinInfoMergedBetween(Planner.PlanTableSource left, Planner.PlanTableSource right)
This is called when two plans are merged together to set up the left and right join information for the new plan.(package private) void
Planner.PlanTableSource. setLeftJoinInfo(Planner.PlanTableSource left_plan, int join_type, Expression on_expr)
Sets the left join information for this plan.(package private) void
Planner.PlanTableSource. setRightJoinInfo(Planner.PlanTableSource right_plan, int join_type, Expression on_expr)
Sets the right join information for this plan.
-