org.axiondb.engine.rowiterators
Class SortedRowIterator.MergeSort

java.lang.Object
  extended byorg.axiondb.engine.rowiterators.DelegatingRowIterator
      extended byorg.axiondb.engine.rowiterators.SortedRowIterator
          extended byorg.axiondb.engine.rowiterators.SortedRowIterator.MergeSort
All Implemented Interfaces:
RowIterator
Enclosing class:
SortedRowIterator

public static class SortedRowIterator.MergeSort
extends SortedRowIterator


Nested Class Summary
 
Nested classes inherited from class org.axiondb.engine.rowiterators.SortedRowIterator
SortedRowIterator.MergeSort
 
Field Summary
 
Fields inherited from class org.axiondb.engine.rowiterators.SortedRowIterator
_rowIter
 
Constructor Summary
SortedRowIterator.MergeSort(RowIterator unsortedRows, Comparator comparator)
           
SortedRowIterator.MergeSort(RowIterator unsortedRows, List orderNodes, RowDecorator rowDecorator)
           
SortedRowIterator.MergeSort(RowSource source, RowIterator unsortedRows, Comparator comparator)
           
SortedRowIterator.MergeSort(RowSource source, RowIterator unsortedRows, List orderNodes, RowDecorator rowDecorator)
           
 
Method Summary
protected  org.apache.commons.collections.primitives.IntList getSortedRowIds(RowIterator unsortedRows, Comparator comparator)
           
protected  List getSortedRowList(RowIterator unsortedRows, Comparator comparator)
           
 String toString()
           
 
Methods inherited from class org.axiondb.engine.rowiterators.SortedRowIterator
add, buildComparatorChain, remove, set
 
Methods inherited from class org.axiondb.engine.rowiterators.DelegatingRowIterator
current, currentIndex, first, getDelegate, hasCurrent, hasNext, hasPrevious, isEmpty, last, next, nextIndex, peekNext, peekPrevious, previous, previousIndex, reset, setDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SortedRowIterator.MergeSort

public SortedRowIterator.MergeSort(RowSource source,
                                   RowIterator unsortedRows,
                                   Comparator comparator)
                            throws AxionException

SortedRowIterator.MergeSort

public SortedRowIterator.MergeSort(RowSource source,
                                   RowIterator unsortedRows,
                                   List orderNodes,
                                   RowDecorator rowDecorator)
                            throws AxionException

SortedRowIterator.MergeSort

public SortedRowIterator.MergeSort(RowIterator unsortedRows,
                                   Comparator comparator)
                            throws AxionException

SortedRowIterator.MergeSort

public SortedRowIterator.MergeSort(RowIterator unsortedRows,
                                   List orderNodes,
                                   RowDecorator rowDecorator)
                            throws AxionException
Method Detail

getSortedRowIds

protected org.apache.commons.collections.primitives.IntList getSortedRowIds(RowIterator unsortedRows,
                                                                            Comparator comparator)
                                                                     throws AxionException
Specified by:
getSortedRowIds in class SortedRowIterator
Throws:
AxionException

getSortedRowList

protected List getSortedRowList(RowIterator unsortedRows,
                                Comparator comparator)
                         throws AxionException
Specified by:
getSortedRowList in class SortedRowIterator
Throws:
AxionException

toString

public String toString()