public class AggregationParsingUtil {
public static AggregationResult[] parseAggregationResults(JSONObject aggregations)
public class AggregationParsingUtil {
public static AggregationResult[] parseAggregationResults(JSONObject aggregations)
AggregationBucket[] aggBuckets = new AggregationBucket[buckets.size()];
for (int i = 0; i < buckets.size(); i++) {
AggregationBucket aggBucket = new AggregationBucket();
AggregationBucket[] aggBuckets = new AggregationBucket[buckets.size()];
for (int i = 0; i < buckets.size(); i++) {
AggregationBucket aggBucket = new AggregationBucket();