ScanManager
, GenericScanController
, GroupFetchScanController
, RowCountable
, ScanController
, ScanInfo
MergeScan
, SortBufferScan
public abstract class SortScan extends Scan
Modifier and Type | Field | Description |
---|---|---|
protected DataValueDescriptor[] |
current |
The row at the current position of the scan, from which
fetch will return values.
|
protected boolean |
hold |
The row at the current position of the scan, from which
fetch will return values.
|
protected MergeSort |
sort |
The sort that this class is scanning.
|
protected TransactionManager |
tran |
The transactionManager that opened this scan.
|
GE, GT, NA
Constructor | Description |
---|---|
SortScan(MergeSort sort,
TransactionManager tran,
boolean hold) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
Close the scan.
|
void |
fetch(DataValueDescriptor[] result) |
Fetch the row at the current position of the Scan.
|
boolean |
fetchNext(DataValueDescriptor[] row) |
Fetch the row at the next position of the Scan.
|
void |
fetchWithoutQualify(DataValueDescriptor[] result) |
Fetch the row at the current position of the Scan and does not apply the
qualifiers.
|
next
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
next
closeForEndTransaction
protected MergeSort sort
protected TransactionManager tran
protected DataValueDescriptor[] current
protected boolean hold
SortScan(MergeSort sort, TransactionManager tran, boolean hold)
public final boolean fetchNext(DataValueDescriptor[] row) throws StandardException
row
- The template row into which the value
of the next position in the scan is to be stored.StandardException
- Standard exception policy.ScanController.fetch(org.apache.derby.iapi.types.DataValueDescriptor[])
,
RowUtil
public final void fetch(DataValueDescriptor[] result) throws StandardException
result
- The row into which the value of the current
position in the scan is to be stored.StandardException
- Standard exception policy.ScanController.fetch(org.apache.derby.iapi.types.DataValueDescriptor[])
public final void fetchWithoutQualify(DataValueDescriptor[] result) throws StandardException
result
- The row into which the value of the current
position in the scan is to be stored.StandardException
- Standard exception policy.ScanController.fetchWithoutQualify(org.apache.derby.iapi.types.DataValueDescriptor[])
public void close()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.