|
|||||||||
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
public abstract class 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 | |
---|---|
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. |
void |
fetchWithoutQualify(DataValueDescriptor[] result)
Fetch the row at the current position of the Scan and does not apply the qualifiers. |
Methods inherited from class org.apache.derby.impl.store.access.sort.Scan |
---|
delete, didNotQualify, doesCurrentPositionQualify, fetchLocation, fetchNextGroup, fetchNextGroup, fetchSet, getAllScanInfo, getEstimatedRowCount, getScanInfo, isCurrentPositionDeleted, isHeldAfterCommit, isKeyed, isTableLocked, newRowLocationTemplate, positionAtRowLocation, reopenScan, reopenScanByRowLocation, replace, 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 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()
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |