Uses of Interface
com.mckoi.database.QueryPlanNode
Packages that use QueryPlanNode
Package
Description
The core database classes for Mckoi.
-
Uses of QueryPlanNode in com.mckoi.database
Classes in com.mckoi.database that implement QueryPlanNodeModifier and TypeClassDescriptionstatic classA QueryPlanNode that is a branch with two child nodes.static classA cache point node that only evaluates the child if the result can not be found in the cache with the given unique id.static classA branch node for performing a composite function on two child nodes.static classThe node for evaluating an expression that contains entirely constant values (no variables).static classThe node for merging the child node with a set of new function columns over the entire result.static classThe node for performing a distinct operation on the given columns of the child node.static classA branch node for equi-joining two tables together given two sets of columns.static classThe node for performing a exhaustive select operation on the child node.static classThe node for fetching a table from the current transaction.static classThe node that fetches a view from the current connection.static classThe node for performing a functional select operation on the child node.static classThe node for performing a grouping operation on the columns of the child node.static classA branch node for a non-equi join between two tables.static classA branch node for a left outer join.static classA branch node for a logical union of two tables of identical types.static classA marker node that takes the result of a child and marks it as a name that can later be retrieved.static classThe node for performing an equi-select on a group of columns of the child node.static classA branch node for naturally joining two tables together.static classA branch node for a non-correlated ANY or ALL sub-query evaluation.static classThe node for performing a simple indexed query on a single column of the child node.static classThe node for evaluating a simple pattern search on a table which includes a single left hand variable or constant, a pattern type (LIKE, NOT LIKE or REGEXP), and a right hand constant (eg.static classThe node for performing a simple select operation on a table.static classA QueryPlanNode with a single child.static classA node for creating a table with a single row.static classThe node for performing a sort operation on the given columns of the child node.static classThe node for finding a subset and renaming the columns of the results in the child node.Fields in com.mckoi.database declared as QueryPlanNodeModifier and TypeFieldDescriptionprotected QueryPlanNodeQueryPlan.SingleQueryPlanNode.childThe single child node.protected QueryPlanNodeQueryPlan.BranchQueryPlanNode.leftThe left and right node.protected QueryPlanNodeQueryPlan.BranchQueryPlanNode.rightThe left and right node.Methods in com.mckoi.database that return QueryPlanNodeModifier and TypeMethodDescriptionQueryPlan.SingleQueryPlanNode.child()Returns the child plan.DatabaseConnection.createObjectFetchQueryPlan(TableName table_name, TableName aliased_name) Creates a QueryPlanNode to fetch the given table object from this connection.QueryPlan.FetchViewNode.createViewChildNode(QueryContext context) Returns the QueryPlanNode that resolves to the view.DatabaseQueryContext.createViewQueryPlanNode(TableName name) Creates a QueryPlanNode for the view with the given name.ViewManager.createViewQueryPlanNode(TableName view_name) Returns a freshly deserialized QueryPlanNode object for the given view object.Expression.getQueryPlanNode()Returns the QueryPlanNode object in this expression if it evaluates to a single QueryPlanNode, otherwise returns null.TableQueryDef.getQueryPlanNode()Returns a QueryPlanNode that can be put into a plan tree and can be evaluated to find the result of the table.ViewDef.getQueryPlanNode()Returns the QueryPlanNode for this view.QueryPlan.BranchQueryPlanNode.left()Returns the left node.QueryPlan.BranchQueryPlanNode.right()Returns the right node.Constructors in com.mckoi.database with parameters of type QueryPlanNodeModifierConstructorDescriptionprotectedBranchQueryPlanNode(QueryPlanNode left, QueryPlanNode right) The Constructor.CachePointNode(QueryPlanNode child) Constructor.CompositeNode(QueryPlanNode left, QueryPlanNode right, int composite_op, boolean all_op) ConstantSelectNode(QueryPlanNode child, Expression exp) CreateFunctionsNode(QueryPlanNode child, Expression[] function_list, String[] name_list) Constructor.DistinctNode(QueryPlanNode child, Variable[] columns) EquiJoinNode(QueryPlanNode left, QueryPlanNode right, Variable[] left_cols, Variable[] right_cols) ExhaustiveSelectNode(QueryPlanNode child, Expression exp) FunctionalSelectNode(QueryPlanNode child, Expression exp) GroupNode(QueryPlanNode child, Variable[] columns, Variable group_max_column, Expression[] function_list, String[] name_list) Groups over the given columns from the child.GroupNode(QueryPlanNode child, Variable group_max_column, Expression[] function_list, String[] name_list) Groups over the entire child (always ends in 1 result in set).JoinNode(QueryPlanNode left, QueryPlanNode right, Variable left_var, Operator join_op, Expression right_expression) LeftOuterJoinNode(QueryPlanNode child, String complete_mark_name) LogicalUnionNode(QueryPlanNode left, QueryPlanNode right) MarkerNode(QueryPlanNode child, String mark_name) Constructor.MultiColumnEquiSelectNode(QueryPlanNode child, Variable[] columns, Expression[] values) NaturalJoinNode(QueryPlanNode left, QueryPlanNode right) NonCorrelatedAnyAllNode(QueryPlanNode left, QueryPlanNode right, Variable[] left_vars, Operator subquery_op) RangeSelectNode(QueryPlanNode child, Expression exp) SimplePatternSelectNode(QueryPlanNode child, Expression exp) SimpleSelectNode(QueryPlanNode child, Variable left_var, Operator op, Expression right_expression) protectedSingleQueryPlanNode(QueryPlanNode child) Constructor.SortNode(QueryPlanNode child, Variable[] columns, boolean[] ascending) SubsetNode(QueryPlanNode child, Variable[] original_columns, Variable[] new_column_names) ViewDef(DataTableDef view_def, QueryPlanNode query_node) Constructs the ViewDef object. -
Uses of QueryPlanNode in com.mckoi.database.interpret
Methods in com.mckoi.database.interpret that return QueryPlanNodeModifier and TypeMethodDescriptionFromTableDirectSource.createFetchQueryPlanNode()Creates a QueryPlanNode to be added into a query tree that fetches the table source.static QueryPlanNodePlanner.formQueryPlan(DatabaseConnection db, TableSelectExpression expression, com.mckoi.database.interpret.TableExpressionFromSet from_set, ArrayList order_by) Forms a query plan (QueryPlanNode) from the given TableSelectExpression and TableExpressionFromSet.static QueryPlanNodePlanner.planForOrderBy(QueryPlanNode plan, ArrayList order_by, com.mckoi.database.interpret.TableExpressionFromSet from_set, ArrayList s_col_list) Plans an ORDER BY set.Methods in com.mckoi.database.interpret with parameters of type QueryPlanNodeModifier and TypeMethodDescriptionstatic QueryPlanNodePlanner.planForOrderBy(QueryPlanNode plan, ArrayList order_by, com.mckoi.database.interpret.TableExpressionFromSet from_set, ArrayList s_col_list) Plans an ORDER BY set.