| java.lang.Object org.apache.derby.impl.store.access.sort.Scan org.apache.derby.impl.store.access.sort.SortScan org.apache.derby.impl.store.access.sort.MergeScan
All known Subclasses: org.apache.derby.impl.store.access.sort.MergeScanRowSource,
MergeScan | public class MergeScan extends SortScan (Code) | | A sort scan that is capable of merging as many merge runs
as will fit in the passed-in sort buffer.
|
Method Summary | |
public void | close() Close the scan. | public boolean | closeForEndTransaction(boolean closeHeldScan) Close the scan. | public boolean | init(TransactionManager tran) Initialize the scan, returning false if there
was some error. | void | mergeARow(int scanindex) Insert rows while we keep getting duplicates
from the merge run whose scan is in the
open scan array entry indexed by scanindex. | public boolean | next() Move to the next position in the scan. |
openScans | protected StreamContainerHandle openScans(Code) | | Array of scan controllers for the merge runs.
Entries in the array become null as the last
row is pulled out and the scan is closed.
|
mergeARow | void mergeARow(int scanindex) throws StandardException(Code) | | Insert rows while we keep getting duplicates
from the merge run whose scan is in the
open scan array entry indexed by scanindex.
|
Methods inherited from org.apache.derby.impl.store.access.sort.Scan | public boolean delete() throws StandardException(Code)(Java Doc) public void didNotQualify() throws StandardException(Code)(Java Doc) public boolean doesCurrentPositionQualify() throws StandardException(Code)(Java Doc) public void fetchLocation(RowLocation templateLocation) throws StandardException(Code)(Java Doc) public int fetchNextGroup(DataValueDescriptor[][] row_array, RowLocation[] rowloc_array) throws StandardException(Code)(Java Doc) public int fetchNextGroup(DataValueDescriptor[][] row_array, RowLocation[] old_rowloc_array, RowLocation[] new_rowloc_array) throws StandardException(Code)(Java Doc) public void fetchSet(long max_rowcnt, int[] key_column_numbers, BackingStoreHashtable hash_table) throws StandardException(Code)(Java Doc) public Properties getAllScanInfo(Properties prop) throws StandardException(Code)(Java Doc) public long getEstimatedRowCount() throws StandardException(Code)(Java Doc) public ScanInfo getScanInfo() throws StandardException(Code)(Java Doc) public boolean isCurrentPositionDeleted() throws StandardException(Code)(Java Doc) public boolean isKeyed()(Code)(Java Doc) public boolean isTableLocked()(Code)(Java Doc) public RowLocation newRowLocationTemplate() throws StandardException(Code)(Java Doc) public boolean positionAtRowLocation(RowLocation rl) throws StandardException(Code)(Java Doc) public void reopenScan(DataValueDescriptor[] startKeyValue, int startSearchOperator, Qualifier qualifier, DataValueDescriptor[] stopKeyValue, int stopSearchOperator) throws StandardException(Code)(Java Doc) public void reopenScanByRowLocation(RowLocation startRowLocation, Qualifier qualifier) throws StandardException(Code)(Java Doc) public boolean replace(DataValueDescriptor[] val, FormatableBitSet validColumns) throws StandardException(Code)(Java Doc) public void savePosition(Conglomerate conglom, Page page) throws StandardException(Code)(Java Doc) public void setEstimatedRowCount(long count) throws StandardException(Code)(Java Doc)
|
|
|