@Override public Aggregator[] newAggregators() { Aggregator[] aggregators = new Aggregator[functions.length]; for (int i = 0; i < functions.length; i++) { aggregators[i] = functions[i].newClientAggregator(); } return aggregators; }
private SingleAggregateFunction(List<Expression> children, boolean isConstant) { super(children); this.isConstant = isConstant; this.aggregator = newClientAggregator(); }
@Override public Aggregator[] newAggregators() { Aggregator[] aggregators = new Aggregator[functions.length]; for (int i = 0; i < functions.length; i++) { aggregators[i] = functions[i].newClientAggregator(); } return aggregators; }
private SingleAggregateFunction(List<Expression> children, boolean isConstant) { super(children); this.isConstant = isConstant; this.aggregator = newClientAggregator(); }
@Override public Aggregator[] newAggregators() { Aggregator[] aggregators = new Aggregator[functions.length]; for (int i = 0; i < functions.length; i++) { aggregators[i] = functions[i].newClientAggregator(); } return aggregators; }
private SingleAggregateFunction(List<Expression> children, boolean isConstant) { super(children); this.isConstant = isConstant; this.aggregator = newClientAggregator(); }