java.lang.Object
com.pervasive.datarush.aggregations.AggregationRegistry
Stores a list of aggregations registered by the AggregationProvider, and
provides a method for calling those aggregations.
-
Method Summary
Modifier and TypeMethodDescriptiongetAggregation(String name, ScalarValuedFunction[] arguments) Invoke an Aggregation by name, using the supplied arguments.getFunctionDescription(String name, int argCount) Create a FunctionDescription for a given aggregation.Return a list of descriptions of all available aggregations.Returns a list of descriptions of all available aggregations, organized by category.static AggregationRegistryGet an instance of the AggregationRegistry.
-
Method Details
-
getInstance
Get an instance of the AggregationRegistry.- Returns:
- An instance of the AggregationRegistry
-
getAggregation
Invoke an Aggregation by name, using the supplied arguments.- Parameters:
name- The registered name of the aggregation.arguments- The arguments to pass to the aggregation.- Returns:
- The Aggregation.
-
getFunctionDescriptions
Return a list of descriptions of all available aggregations.- Returns:
-
getFunctionDescriptionsByCategory
Returns a list of descriptions of all available aggregations, organized by category.- Returns:
-
getFunctionDescription
Create a FunctionDescription for a given aggregation.- Parameters:
name- The name of the aggregationargCount- The number of arguments the aggregation takes- Returns:
- The FunctionDescription of the aggregation
-