|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.store.access.sort.Scan
org.apache.derby.impl.store.access.sort.SortScan
Abstract base class for merge sort scans.
| Field Summary | |
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. |
| Fields inherited from interface org.apache.derby.iapi.store.access.ScanController |
GE, GT, NA |
| Constructor Summary | |
(package private) |
SortScan(MergeSort sort,
TransactionManager tran,
boolean hold)
|
| Method Summary | |
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. |
| Methods inherited from class org.apache.derby.impl.store.access.sort.Scan |
delete, didNotQualify, doesCurrentPositionQualify, fetchLocation, fetchNextGroup, fetchNextGroup, fetchSet, getAllScanInfo, getEstimatedRowCount, getScanInfo, isCurrentPositionDeleted, isKeyed, isTableLocked, newRowLocationTemplate, reopenScan, reopenScanByRowLocation, replace, savePosition, setEstimatedRowCount |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.derby.iapi.store.access.conglomerate.ScanManager |
closeForEndTransaction |
| Methods inherited from interface org.apache.derby.iapi.store.access.ScanController |
next |
| Methods inherited from interface org.apache.derby.iapi.store.access.GroupFetchScanController |
next |
| Field Detail |
protected MergeSort sort
protected TransactionManager tran
protected DataValueDescriptor[] current
protected boolean hold
| Constructor Detail |
SortScan(MergeSort sort,
TransactionManager tran,
boolean hold)
| Method Detail |
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 void close()
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||