@Test public void testMissingAggregation() throws IOException { ElasticResponse response = mapper.readValue("{}", ElasticResponse.class); assertNull(response.getAggregations()); }
public Map<String, ElasticAggregation> getAggregations() { return aggregations; }
ElasticResponse { public Map<String, ElasticAggregation> getAggregations() { return aggregations; } }
ElasticResponse { public Map<String, ElasticAggregation> getAggregations() { return aggregations; }  }
ElasticResponse { public Map<String, ElasticAggregation> getAggregations() { return aggregations; }  ElasticResults getResults(); Map<String, ElasticAggregation> getAggregations(); String getScrollId(); @JsonIgnore List<ElasticHit> getHits(); int getNumHits(); long getTotalNumHits(); float getMaxScore(); @Override String toString(); }
ElasticResponse { public Map<String, ElasticAggregation> getAggregations() { return aggregations; }  ElasticResults getResults(); Map<String, ElasticAggregation> getAggregations(); String getScrollId(); @JsonIgnore List<ElasticHit> getHits(); int getNumHits(); long getTotalNumHits(); float getMaxScore(); @Override String toString();  }