|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimpledb.materialize.MaterializePlan
public class MaterializePlan
The Plan class for the materialize operator.
Constructor Summary | |
---|---|
MaterializePlan(Plan srcplan,
Transaction tx)
Creates a materialize plan for the specified query. |
Method Summary | |
---|---|
int |
blocksAccessed()
Returns the estimated number of blocks in the materialized table. |
int |
distinctValues(String fldname)
Returns the number of distinct field values, which is the same as in the underlying plan. |
Scan |
open()
This method loops through the underlying query, copying its output records into a temporary table. |
int |
recordsOutput()
Returns the number of records in the materialized table, which is the same as in the underlying plan. |
Schema |
schema()
Returns the schema of the materialized table, which is the same as in the underlying plan. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaterializePlan(Plan srcplan, Transaction tx)
srcplan
- the plan of the underlying querytx
- the calling transactionMethod Detail |
---|
public Scan open()
open
in interface Plan
Plan.open()
public int blocksAccessed()
blocksAccessed
in interface Plan
Plan.blocksAccessed()
public int recordsOutput()
recordsOutput
in interface Plan
Plan.recordsOutput()
public int distinctValues(String fldname)
distinctValues
in interface Plan
fldname
- the name of a field
Plan.distinctValues(java.lang.String)
public Schema schema()
schema
in interface Plan
Plan.schema()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |