public final class Aggregators extends Object
Modifier and Type | Method and Description |
---|---|
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
|
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()
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.