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 class
Query plan node which applies aggregation.static class
Query plan node which represents a concatenated set of plans.static final class
Query 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 class
Query plan node which represents an empty set.static final class
Query plan node which only checks for the existance of at least one row.static final class
Query plan node which filters out rows.static final class
Query plan node which scans all rows of a table.static final class
Query plan node which applies grouping.static final class
Query plan node which sorts rows within a group.static final class
Query plan node which represents a single row with no columns.static final class
Query plan node which loads at most one row from a table.static final class
Query plan node which applies custom row mapping and filtering.static final class
Query 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 class
Query 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 class
Query plan node which joins a target to a source based on a common set of columns.static final class
Query plan node which represents a nested loop join.static final class
Query plan node which joins index rows to primary rows.static final class
Query plan node which scans a range of rows from a table.static final class
Query 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 class
Query plan node which scans a table.static class
Query plan node which represents a set of plans.static class
Query plan node which sorts the rows.static class
Query plan node which accesses rows from a table.static class
Query plan node which represents a union set of plans. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final void
final void
printTo
(PrintStream out) final String
toString()
-
Method Details
-
toString
-
printTo
-
appendTo
-
appendTo
- Throws:
IOException
-