public AggregationMethod Make()
        {
            var method = MakeSumAggregator(_inputValueType, _parent.HasFilter);
            if (!_parent.IsDistinct) {
                return method;
            }

            return AggregationMethodFactoryUtil.MakeDistinctAggregator(method, _parent.HasFilter);
        }
        public AggregationMethod Make()
        {
            AggregationMethod method = MakeStddevAggregator(Parent.HasFilter);

            if (!Parent.IsDistinct)
            {
                return(method);
            }
            return(AggregationMethodFactoryUtil.MakeDistinctAggregator(method, Parent.HasFilter));
        }
        public AggregationMethod Make()
        {
            AggregationMethod method = MakeMinMaxAggregator(Parent.MinMaxTypeEnum, Type, HasDataWindows, Parent.HasFilter);

            if (!Parent.IsDistinct)
            {
                return(method);
            }
            return(AggregationMethodFactoryUtil.MakeDistinctAggregator(method, Parent.HasFilter));
        }
示例#4
0
        public AggregationMethod Make()
        {
            AggregationMethod method = MakeSumAggregator(InputValueType, Parent.HasFilter);

            if (!Parent.IsDistinct)
            {
                return(method);
            }
            return(AggregationMethodFactoryUtil.MakeDistinctAggregator(method, Parent.HasFilter));
        }
示例#5
0
        public AggregationMethod Make()
        {
            AggregationMethod method = MakeAvgAggregator(ChildType, Parent.HasFilter, OptionalMathContext);

            if (!Parent.IsDistinct)
            {
                return(method);
            }
            return(AggregationMethodFactoryUtil.MakeDistinctAggregator(method, Parent.HasFilter));
        }
        public AggregationMethod Make()
        {
            AggregationMethod method = new AggregatorNth(Size + 1);

            if (!Parent.IsDistinct)
            {
                return(method);
            }
            return(AggregationMethodFactoryUtil.MakeDistinctAggregator(method, false));
        }
示例#7
0
        public AggregationMethod Make()
        {
            AggregationMethod method = MakeCountAggregator(IgnoreNulls, Parent.HasFilter);

            if (!Parent.IsDistinct)
            {
                return(method);
            }
            return(AggregationMethodFactoryUtil.MakeDistinctAggregator(method, Parent.HasFilter));
        }
        public AggregationMethod Make()
        {
            AggregationMethod method = AggregationFunctionFactory.NewAggregator();

            if (!Parent.IsDistinct)
            {
                return(method);
            }
            return(AggregationMethodFactoryUtil.MakeDistinctAggregator(method, false));
        }
示例#9
0
 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);
 }
 public AggregationMethod Make()
 {
     var method = MakeMedianAggregator(_parent.HasFilter);
     if (!_parent.IsDistinct) return method;
     return AggregationMethodFactoryUtil.MakeDistinctAggregator(method, _parent.HasFilter);
 }
 public AggregationMethod Make()
 {
     return(AggregationMethodFactoryUtil.MakeFirstEver(Parent.HasFilter));
 }
示例#12
0
 public AggregationMethod Make()
 {
     var method = _aggregationFunctionFactory.NewAggregator();
     if (!_parent.IsDistinct) return method;
     return AggregationMethodFactoryUtil.MakeDistinctAggregator(method, false);
 }
 public AggregationMethod Make()
 {
     return AggregationMethodFactoryUtil.MakeLastEver(_parent.HasFilter);
 }
示例#14
0
 public AggregationMethod Make()
 {
     var method = MakeMinMaxAggregator(_parent.MinMaxTypeEnum, ResultType, _hasDataWindows, _parent.HasFilter);
     if (!_parent.IsDistinct) return method;
     return AggregationMethodFactoryUtil.MakeDistinctAggregator(method, _parent.HasFilter);
 }