Class B2ICostController
java.lang.Object
org.apache.derby.impl.store.access.btree.OpenBTree
org.apache.derby.impl.store.access.btree.BTreeCostController
org.apache.derby.impl.store.access.btree.index.B2ICostController
- All Implemented Interfaces:
RowCountable, StoreCostController
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.
-
Field Summary
Fields inherited from class OpenBTree
btree_undo, container, err_containerid, init_lock_level, init_open_user_scans, runtime_mem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidinit(TransactionManager xact_manager, B2I conglomerate, Transaction rawtran) Methods inherited from class BTreeCostController
close, getFetchFromFullKeyCost, getFetchFromRowLocationCost, getScanCost, init, newRowLocationTemplateMethods inherited from class OpenBTree
checkConsistency, debugConglomerate, getColumnSortOrderInfo, getConglomerate, getContainer, getContainerHandle, getEstimatedRowCount, getHeight, getHold, getLockingPolicy, getLockLevel, getOpenMode, getRawTran, getRuntimeMem, getSpaceInfo, getXactMgr, init, isClosed, isTableLocked, reopen, setEstimatedRowCount, setLockingPolicy, test_errorsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RowCountable
getEstimatedRowCount, setEstimatedRowCount
-
Constructor Details
-
B2ICostController
B2ICostController()
-
-
Method Details
-
init
void init(TransactionManager xact_manager, B2I conglomerate, Transaction rawtran) throws StandardException - Throws:
StandardException
-