public AggregationAccessor getAccessor() {
throw new IllegalStateException("Not an access aggregation function");
}
public AggregationMethod make(MethodResolutionService methodResolutionService, int agentInstanceId, int groupId, int aggregationId) {
AggregationMethod method = methodResolutionService.makeCountAggregator(agentInstanceId, groupId, aggregationId, ignoreNulls, hasFilter);
if (!isDistinct) {
return method;
}
return methodResolutionService.makeDistinctAggregator(agentInstanceId, groupId, aggregationId, method, countedValueType, hasFilter);
}