ScanManager, GenericScanController, GroupFetchScanController, RowCountable, ScanControllerpublic class B2IMaxScan extends BTreeMaxScan
| Modifier and Type | Field | Description |
|---|---|---|
private ConglomerateController |
base_cc_for_locking |
fetchNext_one_slot_array, init_fetchDesc, init_forUpdate, init_hold, init_lock_fetch_desc, init_qualifier, init_rawtran, init_scanColumnList, init_startKeyValue, init_startSearchOperator, init_stopKeyValue, init_stopSearchOperator, init_template, init_useUpdateLocks, lock_operation, SCAN_DONE, SCAN_HOLD_INIT, SCAN_HOLD_INPROGRESS, SCAN_INIT, SCAN_INPROGRESS, scan_state, stat_numdeleted_rows_visited, stat_numpages_visited, stat_numrows_qualified, stat_numrows_visitedbtree_undo, container, err_containerid, init_lock_level, init_open_user_scans, runtime_memGE, GT, NA| Constructor | Description |
|---|---|
B2IMaxScan() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Close the scan.
|
boolean |
closeForEndTransaction(boolean closeHeldScan) |
Close the scan, a commit or abort is about to happen.
|
void |
init(TransactionManager xact_manager,
Transaction rawtran,
int open_mode,
int lock_level,
LockingPolicy locking_policy,
int isolation_level,
boolean open_for_locking,
FormatableBitSet scanColumnList,
B2I conglomerate,
B2IUndo undo) |
Initialize the scan for use.
|
fetchMax, fetchRows, positionAtStartPositiondelete, didNotQualify, doesCurrentPositionQualify, fetch, fetchLocation, fetchNext, fetchNextGroup, fetchNextGroup, fetchSet, fetchWithoutQualify, getCurrentRecordHandleForDebugging, getScanInfo, init, isCurrentPositionDeleted, isHeldAfterCommit, isKeyed, newRowLocationTemplate, next, positionAtDoneScan, positionAtDoneScanFromClose, positionAtNextPage, positionAtPreviousPage, positionAtRowLocation, positionAtStartForForwardScan, process_qualifier, reopenScan, reopenScanByRowLocation, replace, reposition, toStringisTableLockedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckConsistency, debugConglomerate, getColumnSortOrderInfo, getConglomerate, getContainer, getContainerHandle, getEstimatedRowCount, getHeight, getHold, getLockingPolicy, getLockLevel, getOpenMode, getRawTran, getRuntimeMem, getSpaceInfo, getXactMgr, init, isClosed, isTableLocked, reopen, setEstimatedRowCount, setLockingPolicy, test_errorsgetEstimatedRowCount, setEstimatedRowCountprivate ConglomerateController base_cc_for_locking
public void close()
throws StandardException
close in interface GenericScanControllerclose in class BTreeScanStandardException - Standard exception policy.GenericScanController.newRowLocationTemplate()public boolean closeForEndTransaction(boolean closeHeldScan)
throws StandardException
closeForEndTransaction in interface ScanManagercloseForEndTransaction in class BTreeScancloseHeldScan - If true, means to close scan even if it has been
opened to be kept opened across commit. This is
used to close these scans on abort.StandardException - Standard exception policy.public void init(TransactionManager xact_manager, Transaction rawtran, int open_mode, int lock_level, LockingPolicy locking_policy, int isolation_level, boolean open_for_locking, FormatableBitSet scanColumnList, B2I conglomerate, B2IUndo undo) throws StandardException
Any changes to this method may have to be reflected in close as well.
The btree init opens the container (super.init), and stores away the state of the qualifiers. The actual searching for the first position is delayed until the first next() call.
StandardException - Standard exception policy.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.