@Test void response_is_aggregation_when_aggregation_not_empty() { when(esResponse.getAggregations()).thenReturn(aggregations); ElasticsearchResponse response = new ElasticsearchResponse(esResponse, factory); assertTrue(response.isAggregationResponse()); }
public boolean isAggregationResponse() { return aggregations != null; }
ElasticsearchResponse implements Iterable<ExprValue> { public boolean isAggregationResponse() { return aggregations != null; } }
ElasticsearchResponse implements Iterable<ExprValue> { public boolean isAggregationResponse() { return aggregations != null; } ElasticsearchResponse(SearchResponse esResponse,
                               ElasticsearchExprValueFactory exprValueFactory);  ElasticsearchResponse(SearchHits hits, ElasticsearchExprValueFactory exprValueFactory); }
ElasticsearchResponse implements Iterable<ExprValue> { public boolean isAggregationResponse() { return aggregations != null; } ElasticsearchResponse(SearchResponse esResponse,
                               ElasticsearchExprValueFactory exprValueFactory);  ElasticsearchResponse(SearchHits hits, ElasticsearchExprValueFactory exprValueFactory); boolean isEmpty(); boolean isAggregationResponse(); Iterator<ExprValue> iterator(); }
ElasticsearchResponse implements Iterable<ExprValue> { public boolean isAggregationResponse() { return aggregations != null; } ElasticsearchResponse(SearchResponse esResponse,
                               ElasticsearchExprValueFactory exprValueFactory);  ElasticsearchResponse(SearchHits hits, ElasticsearchExprValueFactory exprValueFactory); boolean isEmpty(); boolean isAggregationResponse(); Iterator<ExprValue> iterator();  }