private ChainedFullAggregatorDeclarer aggregate(Fields inputFields, Aggregator agg, Fields functionFields, boolean isCombiner) { if (isCombiner) { if (_type == null) { _type = AggType.FULL_COMBINE; } } else { _type = AggType.FULL; } _aggs.add(new AggSpec(inputFields, agg, functionFields)); return this; }
public ChainedPartitionAggregatorDeclarer partitionAggregate(Fields inputFields, Aggregator agg, Fields functionFields) { _type = AggType.PARTITION; _aggs.add(new AggSpec(inputFields, agg, functionFields)); return this; }
private ChainedFullAggregatorDeclarer aggregate(Fields inputFields, Aggregator agg, Fields functionFields, boolean isCombiner) { if(isCombiner) { if(_type == null) { _type = AggType.FULL_COMBINE; } } else { _type = AggType.FULL; } _aggs.add(new AggSpec(inputFields, agg, functionFields)); return this; }
private ChainedFullAggregatorDeclarer aggregate(Fields inputFields, Aggregator agg, Fields functionFields, boolean isCombiner) { if (isCombiner) { if (_type == null) { _type = AggType.FULL_COMBINE; } } else { _type = AggType.FULL; } _aggs.add(new AggSpec(inputFields, agg, functionFields)); return this; }
public ChainedPartitionAggregatorDeclarer partitionAggregate(Fields inputFields, Aggregator agg, Fields functionFields) { _type = AggType.PARTITION; _aggs.add(new AggSpec(inputFields, agg, functionFields)); return this; }
public ChainedPartitionAggregatorDeclarer partitionAggregate(Fields inputFields, Aggregator agg, Fields functionFields) { _type = AggType.PARTITION; _aggs.add(new AggSpec(inputFields, agg, functionFields)); return this; }