Class count
java.lang.Object
tools.refinery.interpreter.matchers.aggregators.count
- All Implemented Interfaces:
IAggregatorFactory
An aggregator to count the number of matches a pattern has. The return of the aggregator is an non-negative integer
number.
- Since:
- 1.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAggregatorLogic
(Class<?> domainClass) Given type parameters selected fromAggregatorType
annotations, returns a run-time aggregator operator that is bound to the actual types.
-
Constructor Details
-
count
public count()
-
-
Method Details
-
getAggregatorLogic
Description copied from interface:IAggregatorFactory
Given type parameters selected fromAggregatorType
annotations, returns a run-time aggregator operator that is bound to the actual types.- Specified by:
getAggregatorLogic
in interfaceIAggregatorFactory
- Parameters:
domainClass
- Java type of the values that are being aggregated- Returns:
- the actual run-time aggregator logic, with type bindings
-