public class B2IController extends BTreeController
Modifier and Type | Field and Description |
---|---|
private ConglomerateController |
base_cc_for_locking |
btree_undo, container, err_containerid, init_lock_level, init_open_user_scans, runtime_mem
LOCK_INS, LOCK_INS_PREVKEY, LOCK_READ, LOCK_UPD, LOCK_UPDATE_LOCKS, ROWISDUPLICATE
Constructor and Description |
---|
B2IController() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the conglomerate controller.
|
(package private) 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) |
int |
insert(DataValueDescriptor[] row)
Insert a row into the conglomerate.
|
closeForEndTransaction, delete, fetch, fetch, getInternalTablePropertySet, getTableProperties, init, insertAndFetchLocation, isKeyed, load, lockRow, lockRow, newRowLocationTemplate, replace, unlockRowAfterRead
checkConsistency, debugConglomerate, getColumnSortOrderInfo, getConglomerate, getContainer, getContainerHandle, getEstimatedRowCount, getHeight, getHold, getLockingPolicy, getLockLevel, getOpenMode, getRawTran, getRuntimeMem, getSpaceInfo, getXactMgr, init, isClosed, isTableLocked, reopen, setEstimatedRowCount, setLockingPolicy, test_errors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkConsistency, debugConglomerate, getSpaceInfo
private ConglomerateController base_cc_for_locking
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
StandardException
public void close() throws StandardException
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.
close
in interface ConglomerateController
close
in class BTreeController
StandardException
- Standard exception policy.ConglomerateController.close()
public int insert(DataValueDescriptor[] row) throws StandardException
insert
in interface ConglomerateController
insert
in class BTreeController
row
- The row to insert into the conglomerate. The stored
representations of the row's columns are copied into a new row
somewhere in the conglomerate.StandardException
- Standard exception policy.ConglomerateController.insert(org.apache.derby.iapi.types.DataValueDescriptor[])
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.