|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.search.aggregator.Aggregators
public final class Aggregators
Helper class to construct the builtin aggregator types. These methods can be statically imported to make query building look better in source code
Method Summary | |
---|---|
static Aggregator |
average(Attribute<?> attribute)
Construct an average value aggregator |
static Aggregator |
count()
Construct a counting aggregator |
static Aggregator |
max(Attribute<?> attribute)
Construct a maximum value aggregator |
static Aggregator |
min(Attribute<?> attribute)
Construct a minimum value aggregator |
static Aggregator |
sum(Attribute<?> attribute)
Construct a sum aggregator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Aggregator min(Attribute<?> attribute)
attribute
-
public static Aggregator max(Attribute<?> attribute)
attribute
-
public static Aggregator average(Attribute<?> attribute)
attribute
-
public static Aggregator sum(Attribute<?> attribute)
attribute
-
public static Aggregator count()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |