Package | Description |
---|---|
com.mckoi.database |
The core database classes for Mckoi.
|
com.mckoi.database.interpret |
Modifier and Type | Class and Description |
---|---|
static class |
QueryPlan.BranchQueryPlanNode
A QueryPlanNode that is a branch with two child nodes.
|
static class |
QueryPlan.CachePointNode
A cache point node that only evaluates the child if the result can not
be found in the cache with the given unique id.
|
static class |
QueryPlan.CompositeNode
A branch node for performing a composite function on two child nodes.
|
static class |
QueryPlan.ConstantSelectNode
The node for evaluating an expression that contains entirely constant
values (no variables).
|
static class |
QueryPlan.CreateFunctionsNode
The node for merging the child node with a set of new function columns
over the entire result.
|
static class |
QueryPlan.DistinctNode
The node for performing a distinct operation on the given columns of the
child node.
|
static class |
QueryPlan.EquiJoinNode
A branch node for equi-joining two tables together given two sets of
columns.
|
static class |
QueryPlan.ExhaustiveSelectNode
The node for performing a exhaustive select operation on the child node.
|
static class |
QueryPlan.FetchTableNode
The node for fetching a table from the current transaction.
|
static class |
QueryPlan.FetchViewNode
The node that fetches a view from the current connection.
|
static class |
QueryPlan.FunctionalSelectNode
The node for performing a functional select operation on the child node.
|
static class |
QueryPlan.GroupNode
The node for performing a grouping operation on the columns of the child
node.
|
static class |
QueryPlan.JoinNode
A branch node for a non-equi join between two tables.
|
static class |
QueryPlan.LeftOuterJoinNode
A branch node for a left outer join.
|
static class |
QueryPlan.LogicalUnionNode
A branch node for a logical union of two tables of identical types.
|
static class |
QueryPlan.MarkerNode
A marker node that takes the result of a child and marks it as a name
that can later be retrieved.
|
static class |
QueryPlan.MultiColumnEquiSelectNode
The node for performing an equi-select on a group of columns of the
child node.
|
static class |
QueryPlan.NaturalJoinNode
A branch node for naturally joining two tables together.
|
static class |
QueryPlan.NonCorrelatedAnyAllNode
A branch node for a non-correlated ANY or ALL sub-query evaluation.
|
static class |
QueryPlan.RangeSelectNode
The node for performing a simple indexed query on a single column of the
child node.
|
static class |
QueryPlan.SimplePatternSelectNode
The 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 class |
QueryPlan.SimpleSelectNode
The node for performing a simple select operation on a table.
|
static class |
QueryPlan.SingleQueryPlanNode
A QueryPlanNode with a single child.
|
static class |
QueryPlan.SingleRowTableNode
A node for creating a table with a single row.
|
static class |
QueryPlan.SortNode
The node for performing a sort operation on the given columns of the
child node.
|
static class |
QueryPlan.SubsetNode
The node for finding a subset and renaming the columns of the results in
the child node.
|
Modifier and Type | Field and Description |
---|---|
protected QueryPlanNode |
QueryPlan.SingleQueryPlanNode.child
The single child node.
|
protected QueryPlanNode |
QueryPlan.BranchQueryPlanNode.left
The left and right node.
|
protected QueryPlanNode |
QueryPlan.BranchQueryPlanNode.right
The left and right node.
|
Modifier and Type | Method and Description |
---|---|
QueryPlanNode |
QueryPlan.SingleQueryPlanNode.child()
Returns the child plan.
|
QueryPlanNode |
DatabaseConnection.createObjectFetchQueryPlan(TableName table_name,
TableName aliased_name)
Creates a QueryPlanNode to fetch the given table object from this
connection.
|
QueryPlanNode |
QueryPlan.FetchViewNode.createViewChildNode(QueryContext context)
Returns the QueryPlanNode that resolves to the view.
|
QueryPlanNode |
ViewManager.createViewQueryPlanNode(TableName view_name)
Returns a freshly deserialized QueryPlanNode object for the given view
object.
|
QueryPlanNode |
DatabaseQueryContext.createViewQueryPlanNode(TableName name)
Creates a QueryPlanNode for the view with the given name.
|
QueryPlanNode |
ViewDef.getQueryPlanNode()
Returns the QueryPlanNode for this view.
|
QueryPlanNode |
TableQueryDef.getQueryPlanNode()
Returns a QueryPlanNode that can be put into a plan tree and can be
evaluated to find the result of the table.
|
QueryPlanNode |
Expression.getQueryPlanNode()
Returns the QueryPlanNode object in this expression if it evaluates to a
single QueryPlanNode, otherwise returns null.
|
QueryPlanNode |
QueryPlan.BranchQueryPlanNode.left()
Returns the left node.
|
QueryPlanNode |
QueryPlan.BranchQueryPlanNode.right()
Returns the right node.
|
Modifier and Type | Method and Description |
---|---|
QueryPlanNode |
FromTableDirectSource.createFetchQueryPlanNode()
Creates a QueryPlanNode to be added into a query tree that fetches the
table source.
|
static QueryPlanNode |
Planner.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 QueryPlanNode |
Planner.planForOrderBy(QueryPlanNode plan,
ArrayList order_by,
com.mckoi.database.interpret.TableExpressionFromSet from_set,
ArrayList s_col_list)
Plans an ORDER BY set.
|
Modifier and Type | Method and Description |
---|---|
static QueryPlanNode |
Planner.planForOrderBy(QueryPlanNode plan,
ArrayList order_by,
com.mckoi.database.interpret.TableExpressionFromSet from_set,
ArrayList s_col_list)
Plans an ORDER BY set.
|
Copyright © 2015. All rights reserved.