ScanManager
, GenericScanController
, GroupFetchScanController
, RowCountable
, ScanController
public 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_visited
btree_undo, container, err_containerid, init_lock_level, init_open_user_scans, runtime_mem
GE, 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, positionAtStartPosition
delete, 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, toString
isTableLocked
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkConsistency, debugConglomerate, getColumnSortOrderInfo, getConglomerate, getContainer, getContainerHandle, getEstimatedRowCount, getHeight, getHold, getLockingPolicy, getLockLevel, getOpenMode, getRawTran, getRuntimeMem, getSpaceInfo, getXactMgr, init, isClosed, isTableLocked, reopen, setEstimatedRowCount, setLockingPolicy, test_errors
getEstimatedRowCount, setEstimatedRowCount
private ConglomerateController base_cc_for_locking
public void close() throws StandardException
close
in interface GenericScanController
close
in class BTreeScan
StandardException
- Standard exception policy.GenericScanController.newRowLocationTemplate()
public boolean closeForEndTransaction(boolean closeHeldScan) throws StandardException
closeForEndTransaction
in interface ScanManager
closeForEndTransaction
in class BTreeScan
closeHeldScan
- 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.