예제 #1
0
 public override void InitMethodForge(
     int col,
     CodegenCtor rowCtor,
     CodegenMemberCol membersColumnized,
     CodegenClassScope classScope)
 {
     var distinctType = !parent.IsDistinct ? null : countedValueType;
     aggregator = new AggregatorCount(
         this,
         col,
         rowCtor,
         membersColumnized,
         classScope,
         distinctType,
         parent.HasFilter,
         parent.OptionalFilter,
         false);
 }
예제 #2
0
 public override void InitMethodForge(
     int col,
     CodegenCtor rowCtor,
     CodegenMemberCol membersColumnized,
     CodegenClassScope classScope)
 {
     var distinctType = !parent.IsDistinct ? null : parent.ChildNodes[0].Forge.EvaluationType;
     aggregator = new AggregatorCount(
         this,
         col,
         rowCtor,
         membersColumnized,
         classScope,
         distinctType,
         parent.OptionalFilter != null,
         parent.OptionalFilter,
         true);
 }
        public override void InitMethodForge(
            int col,
            CodegenCtor rowCtor,
            CodegenMemberCol membersColumnized,
            CodegenClassScope classScope)
        {
            Type distinctType = !_parent.IsDistinct ? null : _childType;

            _aggregator = new AggregatorCount(
                this,
                col,
                rowCtor,
                membersColumnized,
                classScope,
                distinctType,
                _distinctSerde,
                _parent.OptionalFilter != null,
                _parent.OptionalFilter,
                true);
        }