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, parent.isHasFilter());
if (!parent.isDistinct()) {
return method;
}
return methodResolutionService.makeDistinctAggregator(agentInstanceId, groupId, aggregationId, method, countedValueType, parent.isHasFilter());
}