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.PlanTableSourcePlanner.PlanTableSource. left_planHow this plan is naturally joined to other plans in the source.(package private) Planner.PlanTableSourcePlanner.PlanTableSource. right_planHow this plan is naturally joined to other plans in the source.(package private) Planner.PlanTableSourcePlanner.QueryTableSetPlanner.SingleVarPlan. table_sourceMethods in com.mckoi.database.interpret that return Planner.PlanTableSource Modifier and Type Method Description static Planner.PlanTableSourcePlanner.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.PlanTableSourcePlanner.PlanTableSource. copy()Makes a copy of this table source.Planner.PlanTableSourcePlanner.QueryTableSetPlanner. findCommonTableSource(java.util.List var_list)Finds a common PlanTableSource that contains the list of variables given.Planner.PlanTableSourcePlanner.QueryTableSetPlanner. findTableSource(Variable ref)Finds and returns the PlanTableSource in the list of tables that contains the given Variable reference.Planner.PlanTableSourcePlanner.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.PlanTableSourcePlanner.QueryTableSetPlanner. getSingleTableSource()Returns the single PlanTableSource for this planner.private Planner.PlanTableSourcePlanner.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.PlanTableSourcePlanner.QueryTableSetPlanner. joinAllPlansWithVariables(java.util.List all_vars)Creates a single PlanTableSource that encapsulates all the given variables in a single table.Planner.PlanTableSourcePlanner.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.PlanTableSourcePlanner.QueryTableSetPlanner. naturalJoinAll()Naturally joins all remaining tables sources to make a final single plan which is returned.private Planner.PlanTableSourcePlanner.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 voidPlanner.QueryTableSetPlanner. addPlanTableSource(Planner.PlanTableSource source)Add a PlanTableSource to this planner.private voidPlanner.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 intPlanner.QueryTableSetPlanner. canPlansBeNaturallyJoined(Planner.PlanTableSource plan1, Planner.PlanTableSource plan2)Returns true if it is possible to naturally join the two plans.static Planner.PlanTableSourcePlanner.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 intPlanner.QueryTableSetPlanner. indexOfPlanTableSource(Planner.PlanTableSource source)Returns the index of the given PlanTableSource in the table list.Planner.PlanTableSourcePlanner.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.PlanTableSourcePlanner.QueryTableSetPlanner. naturallyJoinPlans(Planner.PlanTableSource plan1, Planner.PlanTableSource plan2)Naturally joins two PlanTableSource objects in this planner.(package private) voidPlanner.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) voidPlanner.PlanTableSource. setLeftJoinInfo(Planner.PlanTableSource left_plan, int join_type, Expression on_expr)Sets the left join information for this plan.(package private) voidPlanner.PlanTableSource. setRightJoinInfo(Planner.PlanTableSource right_plan, int join_type, Expression on_expr)Sets the right join information for this plan.
-