public class AggregationFunctionRegistry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected class |
AggregationFunctionRegistry.AggregateBucket |
protected class |
AggregationFunctionRegistry.FactoryBucket |
protected class |
AggregationFunctionRegistry.FunctionBucket |
Modifier and Type | Method and Description |
---|---|
static AggregationFunctionRegistry |
get() |
AggregationFunction |
getAggregate(Aggregate aggregate) |
java.util.List<Aggregate> |
getAvailableAggregates() |
void |
register(Aggregate aggregate,
AggregationFunction function) |
void |
register(Aggregate aggregate,
AggregationFunctionFactory factory) |
Aggregate |
register(java.lang.String name,
java.lang.String description,
AggregationFunction function) |
void |
unRegister(Aggregate aggregate) |
public static AggregationFunctionRegistry get()
public void register(Aggregate aggregate, AggregationFunction function)
public void register(Aggregate aggregate, AggregationFunctionFactory factory)
public Aggregate register(java.lang.String name, java.lang.String description, AggregationFunction function)
public void unRegister(Aggregate aggregate)
public java.util.List<Aggregate> getAvailableAggregates()
public AggregationFunction getAggregate(Aggregate aggregate)