public AggregationMethod Make() { AggregationMethod method = new AggregatorNth(Size + 1); if (!Parent.IsDistinct) { return(method); } return(AggregationMethodFactoryUtil.MakeDistinctAggregator(method, false)); }
public AggregationMethod Make() { AggregationMethod method; if (_parent.OptionalFilter != null) method = new AggregatorNthFilter(_size + 1); else method = new AggregatorNth(_size + 1); if (!_parent.IsDistinct) return method; return AggregationMethodFactoryUtil.MakeDistinctAggregator(method, false); }