| org.apache.derby.impl.store.access.btree.BTreeController org.apache.derby.impl.store.access.btree.index.B2IController
B2IController | public class B2IController extends BTreeController (Code) | | Controller used to insert rows into a secondary index.
Implements the ConglomerateController interface for the B-Tree index
access method.
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.
|
Method Summary | |
public void | close() Close the conglomerate controller.
Any changes to this method will probably have to be reflected in close as
well.
Currently delegates to OpenBTree. | void | init(TransactionManager xact_manager, Transaction rawtran, boolean hold, int open_mode, int lock_level, LockingPolicy locking_policy, boolean get_locks, B2I conglomerate, B2IUndo undo, B2IStaticCompiledInfo static_info, DynamicCompiledOpenConglomInfo dynamic_info) | public int | insert(DataValueDescriptor[] row) Insert a row into the conglomerate. |
B2IController | B2IController()(Code) | | |
close | public void close() throws StandardException(Code) | | Close the conglomerate controller.
Any changes to this method will probably have to be reflected in close as
well.
Currently delegates to OpenBTree. If the btree controller ends up not
having any state of its own, we can remove this method (the VM will
dispatch to OpenBTree), gaining some small efficiency. For now, this
method remains for clarity.
See Also: ConglomerateController.close |
init | void init(TransactionManager xact_manager, Transaction rawtran, boolean hold, int open_mode, int lock_level, LockingPolicy locking_policy, boolean get_locks, B2I conglomerate, B2IUndo undo, B2IStaticCompiledInfo static_info, DynamicCompiledOpenConglomInfo dynamic_info) throws StandardException(Code) | | |
Methods inherited from org.apache.derby.impl.store.access.btree.BTreeController | public void close() throws StandardException(Code)(Java Doc) public boolean closeForEndTransaction(boolean closeHeldScan) throws StandardException(Code)(Java Doc) public boolean delete(RowLocation loc) throws StandardException(Code)(Java Doc) public boolean fetch(RowLocation loc, DataValueDescriptor[] row, FormatableBitSet validColumns) throws StandardException(Code)(Java Doc) public boolean fetch(RowLocation loc, DataValueDescriptor[] row, FormatableBitSet validColumns, boolean waitForLock) throws StandardException(Code)(Java Doc) public Properties getInternalTablePropertySet(Properties prop) throws StandardException(Code)(Java Doc) public void getTableProperties(Properties prop) throws StandardException(Code)(Java Doc) public void init(TransactionManager xact_manager, boolean hold, ContainerHandle container, Transaction rawtran, int open_mode, int lock_level, BTreeLockingPolicy btree_locking_policy, BTree conglomerate, LogicalUndo undo, StaticCompiledOpenConglomInfo static_info, DynamicCompiledOpenConglomInfo dynamic_info) throws StandardException(Code)(Java Doc) public int insert(DataValueDescriptor[] row) throws StandardException(Code)(Java Doc) public void insertAndFetchLocation(DataValueDescriptor[] row, RowLocation templateRowLocation) throws StandardException(Code)(Java Doc) public boolean isKeyed()(Code)(Java Doc) public long load(TransactionManager xact_manager, boolean createConglom, RowLocationRetRowSource rowSource) throws StandardException(Code)(Java Doc) public boolean lockRow(RowLocation loc, int lock_operation, boolean wait, int lock_duration) throws StandardException(Code)(Java Doc) public boolean lockRow(long page_num, int record_id, int lock_operation, boolean wait, int lock_duration) throws StandardException(Code)(Java Doc) public RowLocation newRowLocationTemplate() throws StandardException(Code)(Java Doc) public boolean replace(RowLocation loc, DataValueDescriptor[] row, FormatableBitSet validColumns) throws StandardException(Code)(Java Doc) public void unlockRowAfterRead(RowLocation loc, boolean forUpdate, boolean row_qualifies) throws StandardException(Code)(Java Doc)
|
|
|