| Constructor and Description |
|---|
TablePlan(String tblName,
Transaction tx)
Creates a leaf node in the query tree corresponding to the specified
table.
|
| Modifier and Type | Method and Description |
|---|---|
long |
blocksAccessed()
Estimates the number of block accesses for the table, which is obtainable
from the statistics manager.
|
Histogram |
histogram()
Returns the histogram that approximates the join distribution of the
field values of query results.
|
Scan |
open()
Creates a table scan for this query.
|
long |
recordsOutput()
Returns an estimate of the number of records in the query's output table.
|
Schema |
schema()
Determines the schema of the table, which is obtainable from the catalog
manager.
|
String |
toString() |
public TablePlan(String tblName, Transaction tx)
tblName - the name of the tabletx - the calling transactionpublic 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.