public abstract class SortScan extends Scan
| Modifier and Type | Field and 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 and Description |
|---|
SortScan(MergeSort sort,
TransactionManager tran,
boolean hold) |
| Modifier and Type | Method and 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.
|
delete, didNotQualify, doesCurrentPositionQualify, fetchLocation, fetchNextGroup, fetchNextGroup, fetchSet, getAllScanInfo, getEstimatedRowCount, getScanInfo, isCurrentPositionDeleted, isHeldAfterCommit, isKeyed, isTableLocked, newRowLocationTemplate, positionAtRowLocation, reopenScan, reopenScanByRowLocation, replace, setEstimatedRowCountclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseForEndTransactionnextnextprotected 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[]),
RowUtilpublic 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.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.