Top Description Constructors Methods
org.apache.derby.impl.store.access.btree.index

public Class B2ICostController

extends BTreeCostController
Class Inheritance
Imports
org.apache.derby.shared.common.sanity.SanityManager, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.store.access.conglomerate.TransactionManager, org.apache.derby.iapi.store.raw.Transaction, org.apache.derby.impl.store.access.btree.BTreeCostController

Controller used to provide cost estimates to optimizer about secondary index data access. Implements the StoreCostController interface for the B-Tree index implementation. The primary use of this interface is to provide costs used by the query optimizer to use when choosing query plans. Provides costs of things like fetch one row, how many rows in conglomerate, how many rows between these 2 keys. Note most work of this class is inherited from the generic btree implementation. This class initializes the top level object and deals with locking information specific to a secondary index implementation of a btree.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
init(TransactionManager xact_manager, B2I conglomerate, Transaction rawtran)

Inherited from org.apache.derby.impl.store.access.btree.BTreeCostController:
closegetFetchFromFullKeyCostgetFetchFromRowLocationCostgetScanCostinitnewRowLocationTemplate

Constructor Detail

B2ICostControllerback to summary
pack-priv B2ICostController()

Method Detail

initback to summary
pack-priv void init(TransactionManager xact_manager, B2I conglomerate, Transaction rawtran) throws StandardException