ScanManager
, GenericScanController
, GroupFetchScanController
, RowCountable
, ScanController
, ScanInfo
public class SortBufferScan extends SortScan
Modifier and Type | Field | Description |
---|---|---|
protected SortBuffer |
sortBuffer |
The sorter we're returning rows from.
|
GE, GT, NA
Constructor | Description |
---|---|
SortBufferScan(MergeSort sort,
TransactionManager tran,
SortBuffer sortBuffer,
boolean hold) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Close the scan.
|
boolean |
closeForEndTransaction(boolean closeHeldScan) |
Close the scan.
|
boolean |
next() |
Move to the next position in the scan.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, didNotQualify, doesCurrentPositionQualify, fetchLocation, fetchNextGroup, fetchNextGroup, fetchSet, getAllScanInfo, getEstimatedRowCount, getScanInfo, isCurrentPositionDeleted, isHeldAfterCommit, isKeyed, isTableLocked, newRowLocationTemplate, positionAtRowLocation, reopenScan, reopenScanByRowLocation, replace, setEstimatedRowCount
fetch, fetchNext, fetchWithoutQualify
protected SortBuffer sortBuffer
SortBufferScan(MergeSort sort, TransactionManager tran, SortBuffer sortBuffer, boolean hold)
public boolean next() throws StandardException
StandardException
- Standard exception policy.ScanController.next()
public boolean closeForEndTransaction(boolean closeHeldScan)
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.public void close()
close
in interface GenericScanController
close
in class SortScan
GenericScanController.close()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.