|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> store >> [ access overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.store.access
Interface SortCostController

- public interface SortCostController
| Method Summary | |
void |
close()
Close the controller. |
double |
getSortCost(org.apache.derby.iapi.types.DataValueDescriptor[] template,
ColumnOrdering[] columnOrdering,
boolean alreadyInOrder,
long estimatedInputRows,
long estimatedExportRows,
int estimatedRowSize)
Calculate the cost of a sort. |
| Method Detail |
close
public void close()
- Close the controller.
Close the open controller. This method always succeeds, and never throws any exceptions. Callers must not use the StoreCostController after closing it; they are strongly advised to clear out the StoreCostController reference after closing.
getSortCost
public double getSortCost(org.apache.derby.iapi.types.DataValueDescriptor[] template, ColumnOrdering[] columnOrdering, boolean alreadyInOrder, long estimatedInputRows, long estimatedExportRows, int estimatedRowSize) throws org.apache.derby.iapi.error.StandardException
- Calculate the cost of a sort.
The cost of a sort includes the time spent in the sorter inserting the rows into the sort, and the time spent in the sorter returning the rows. Note that it does not include the cost of scanning the rows from the source table, for insert into the sort.
Arguments to getSortCost(), should be the same as those to be passed to TransactionController.createSort().
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> store >> [ access overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC