|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Plan
The interface implemented by each query plan. There is a Plan class for each relational algebra operator.
| Method Summary | |
|---|---|
int |
blocksAccessed()
Returns an estimate of the number of block accesses that will occur when the scan is read to completion. |
int |
distinctValues(String fldname)
Returns an estimate of the number of distinct values for the specified field in the query's output table. |
Scan |
open()
Opens a scan corresponding to this plan. |
int |
recordsOutput()
Returns an estimate of the number of records in the query's output table. |
Schema |
schema()
Returns the schema of the query. |
| Method Detail |
|---|
Scan open()
int blocksAccessed()
int recordsOutput()
int distinctValues(String fldname)
fldname - the name of a field
Schema schema()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||