public ReaderAggregator(BytesValues.WithOrdinals values) { this.values = values; this.counts = CacheRecycler.popIntArray(values.ordinals().getNumOrds()); }
public ReaderAggregator(ShortFieldData fieldData) { this.values = fieldData.values(); this.counts = CacheRecycler.popIntArray(fieldData.values().length); }