| Constructor and Description |
|---|
ExplainPlan(Plan p)
Creates a new explain node in the query tree, having the specified query.
|
| Modifier and Type | Method and Description |
|---|---|
long |
blocksAccessed()
Estimates the number of block accesses for answering explain query.
|
Histogram |
histogram()
Returns the histogram that approximates the distribution of the
underlying query results.
|
Scan |
open()
Creates a explain scan for this query.
|
long |
recordsOutput()
Returns an estimate of the number of records in the query's output table.
|
Schema |
schema()
Returns the schema of the explain query, which has only one field
"query-plan" of type varchar(500).
|
public ExplainPlan(Plan p)
p - the underlying query planpublic Scan open()
open in interface PlanPlan.open()public long blocksAccessed()
blocksAccessed in interface PlanPlan.blocksAccessed()public Schema schema()
schema in interface PlanPlan.schema()public Histogram histogram()
histogram in interface PlanPlan.histogram()public long recordsOutput()
PlanrecordsOutput in interface PlanCopyright © 2022 VanillaDB Organization. All rights reserved.