org.oreodata
Interface RecordComparator

All Superinterfaces:
java.util.Comparator

public interface RecordComparator
extends java.util.Comparator


Method Summary
 java.lang.String sqlEquivalent()
           
 
Methods inherited from interface java.util.Comparator
compare, equals
 

Method Detail

sqlEquivalent

public java.lang.String sqlEquivalent()
Returns:
the "ORDER BY" clause that would order a set of records as per this comparator. A null value would indicate that we don't know the SQL equivalent. In that case, the sorting would have to be done in-memory.