org.josql.internal
Class GroupByExpressionComparator

java.lang.Object
  extended by org.josql.internal.GroupByExpressionComparator
All Implemented Interfaces:
Comparator

public class GroupByExpressionComparator
extends Object
implements Comparator


Constructor Summary
GroupByExpressionComparator(Query q, boolean caching)
           
 
Method Summary
 void addSortItem(Expression exp, int ind, int dir)
           
 int ci(Object o1, Object o2)
           
 int cic(Object o1, Object o2)
           
 void clearCache()
           
 int compare(Object o1, Object o2)
           
 boolean equals(Object o)
           
 int getCount()
           
 Exception getException()
           
 boolean isCaching()
           
 void setCaching(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupByExpressionComparator

public GroupByExpressionComparator(Query q,
                                   boolean caching)
Method Detail

getCount

public int getCount()

equals

public boolean equals(Object o)
Specified by:
equals in interface Comparator
Overrides:
equals in class Object

isCaching

public boolean isCaching()

setCaching

public void setCaching(boolean b)

clearCache

public void clearCache()

ci

public int ci(Object o1,
              Object o2)
       throws Exception
Throws:
Exception

cic

public int cic(Object o1,
               Object o2)
        throws Exception
Throws:
Exception

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

getException

public Exception getException()

addSortItem

public void addSortItem(Expression exp,
                        int ind,
                        int dir)


  Copyright © 2008 Gary Bentley. All Rights Reserved.