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 Plan
Plan.open()
public long blocksAccessed()
blocksAccessed
in interface Plan
Plan.blocksAccessed()
public Schema schema()
schema
in interface Plan
Plan.schema()
public Histogram histogram()
histogram
in interface Plan
Plan.histogram()
public long recordsOutput()
Plan
recordsOutput
in interface Plan
Copyright © 2022 VanillaDB Organization. All rights reserved.