Hello Patrik,
we have very specific requirement. We need to calculate statistics
from selected rows (ConditionalCriteria). Things like sum, count(*),
average, min, max for some/all columns. Could I add some generic
support for this to ConditionalCriteriaAccess? If not, what you
propose to do it generally?

What interface you propose, doing statistics for one column only or it
will be better to do it at once for all columns or for specific set of
columns?
What will be return value? For example List<ColumnStatistics> where:
class ColumnStatistics {
   public String getColumnsName();
   public long getTotalCount(); // count(*)
   public long getNotNullCount(); // count(columnName)
   public long getAverage();
   public long getSum();
   public String getMin();
   public String getMax();
}

Something like this is OK for you?

Regards

Pavel

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to