org.axiondb.engine.rowiterators
Class GroupedRowIterator

java.lang.Object
  extended by org.axiondb.engine.rowiterators.DelegatingRowIterator
      extended by org.axiondb.engine.rowiterators.GroupedRowIterator
All Implemented Interfaces:
RowIterator

public class GroupedRowIterator
extends DelegatingRowIterator

Processes a "raw" iterator to implement GROUP BY functionality.

Version:
$Revision: 1.23 $ $Date: 2005/12/20 18:32:41 $

Constructor Summary
GroupedRowIterator(boolean sort, RowIterator rows, Map fieldMap, List groupBy, List selected, Selectable having, Selectable where, List orderBy)
           
GroupedRowIterator(RowIterator rows, Map fieldMap, List groupBy, List selected, Selectable having, List orderBy)
           
 
Method Summary
 void add(Row row)
          Not supported in the base implementation.
 void remove()
          Not supported in the base implementation.
 void set(Row row)
          Not supported in the base implementation.
 String toString()
           
 
Methods inherited from class org.axiondb.engine.rowiterators.DelegatingRowIterator
current, currentIndex, first, getDelegate, hasCurrent, hasNext, hasPrevious, isEmpty, last, next, next, nextIndex, peekNext, peekPrevious, previous, previous, previousIndex, reset, setDelegate, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupedRowIterator

public GroupedRowIterator(boolean sort,
                          RowIterator rows,
                          Map fieldMap,
                          List groupBy,
                          List selected,
                          Selectable having,
                          Selectable where,
                          List orderBy)
                   throws AxionException
Throws:
AxionException

GroupedRowIterator

public GroupedRowIterator(RowIterator rows,
                          Map fieldMap,
                          List groupBy,
                          List selected,
                          Selectable having,
                          List orderBy)
                   throws AxionException
Throws:
AxionException
Method Detail

add

public void add(Row row)
         throws AxionException
Not supported in the base implementation.

Specified by:
add in interface RowIterator
Overrides:
add in class DelegatingRowIterator
Throws:
AxionException

set

public void set(Row row)
         throws AxionException
Not supported in the base implementation.

Specified by:
set in interface RowIterator
Overrides:
set in class DelegatingRowIterator
Throws:
AxionException

remove

public void remove()
            throws AxionException
Not supported in the base implementation.

Specified by:
remove in interface RowIterator
Overrides:
remove in class DelegatingRowIterator
Throws:
AxionException

toString

public String toString()
Overrides:
toString in class Object