Class QueryPlan
java.lang.Object
org.cojen.tupl.diag.QueryPlan
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
QueryPlan.Aggregator, QueryPlan.Exists, QueryPlan.Filter, QueryPlan.Grouper, QueryPlan.Identity, QueryPlan.Mapper, QueryPlan.NaturalJoin, QueryPlan.NestedLoopsJoin.Level, QueryPlan.Set, QueryPlan.Sort, QueryPlan.Table
public abstract sealed class QueryPlan
extends Object
implements Serializable
permits QueryPlan.Table, QueryPlan.Identity, QueryPlan.Filter, QueryPlan.Mapper, QueryPlan.Aggregator, QueryPlan.Grouper, QueryPlan.Exists, QueryPlan.Sort, QueryPlan.NaturalJoin, QueryPlan.Set, QueryPlan.NestedLoopsJoin.Level
A query plan tree structure.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classQuery plan node which applies aggregation.static classQuery plan node which represents a concatenated set of plans.static final classQuery plan node which represents a union set of plans, where each source plan only produces rows which aren't produced by the other sources.static final classQuery plan node which represents an empty set.static final classQuery plan node which only checks for the existance of at least one row.static final classQuery plan node which filters out rows.static final classQuery plan node which scans all rows of a table.static final classQuery plan node which applies grouping.static final classQuery plan node which sorts rows within a group.static final classQuery plan node which represents a single row with no columns.static final classQuery plan node which loads at most one row from a table.static final classQuery plan node which applies custom row mapping and filtering.static final classQuery plan node which represents a concatenated set of plans which have an explicit ordering, and source rows are compared to each other to maintain the ordering.static final classQuery plan node which represents a union set of plans which have an common ordering, and rows are compared to each other for eliminating duplicates.static classQuery plan node which joins a target to a source based on a common set of columns.static final classQuery plan node which represents a nested loop join.static final classQuery plan node which joins index rows to primary rows.static final classQuery plan node which scans a range of rows from a table.static final classQuery plan node which represents a union set of plans, where each source plan is limited to a range, and all sources produce rows in the same order.static classQuery plan node which scans a table.static classQuery plan node which represents a set of plans.static classQuery plan node which sorts the rows.static classQuery plan node which accesses rows from a table.static classQuery plan node which represents a union set of plans. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidfinal voidprintTo(PrintStream out) final StringtoString()
-
Method Details
-
toString
-
printTo
-
appendTo
-
appendTo
- Throws:
IOException
-