public AggregationForgeFactoryAccessCountMinSketchState(
     ExprAggMultiFunctionCountMinSketchNode parent,
     AggregationStateCountMinSketchForge stateFactory)
 {
     this.parent = parent;
     this.stateFactory = stateFactory;
 }
Пример #2
0
 public AggregatorAccessCountMinSketch(
     AggregationStateCountMinSketchForge forge,
     int col,
     CodegenCtor rowCtor,
     CodegenMemberCol membersColumnized,
     CodegenClassScope classScope)
 {
     this.forge = forge;
     state = membersColumnized.AddMember(col, typeof(CountMinSketchAggState), "state");
     spec = classScope.NamespaceScope.AddDefaultFieldUnshared(
         true,
         typeof(CountMinSketchSpec),
         forge.specification.CodegenMake(classScope.NamespaceScope.InitMethod, classScope));
     rowCtor.Block.AssignRef(state, ExprDotMethod(spec, "MakeAggState"));
 }