Also used :
Buckets(org.opensearch.client.opensearch._types.aggregations.Buckets)
Arrays(java.util.Arrays)
Aggregation(org.opensearch.client.opensearch._types.aggregations.Aggregation)
GetRequest(org.opensearch.client.opensearch.core.GetRequest)
HashMap(java.util.HashMap)
Aggregate(org.opensearch.client.opensearch._types.aggregations.Aggregate)
RangeBucket(org.opensearch.client.opensearch._types.aggregations.RangeBucket)
ValueCountAggregation(org.opensearch.client.opensearch._types.aggregations.ValueCountAggregation)
ObjectBuilder(org.opensearch.client.util.ObjectBuilder)
TotalHitsRelation(org.opensearch.client.opensearch.core.search.TotalHitsRelation)
ApiTypeHelper(org.opensearch.client.util.ApiTypeHelper)
Map(java.util.Map)
HitsMetadata(org.opensearch.client.opensearch.core.search.HitsMetadata)
Method(java.lang.reflect.Method)
Nullable(javax.annotation.Nullable)
ErrorCause(org.opensearch.client.opensearch._types.ErrorCause)
JsonData(org.opensearch.client.json.JsonData)
Test(org.junit.Test)
TotalHits(org.opensearch.client.opensearch.core.search.TotalHits)
Collectors(java.util.stream.Collectors)
IntervalsQuery(org.opensearch.client.opensearch._types.query_dsl.IntervalsQuery)
DateRangeAggregate(org.opensearch.client.opensearch._types.aggregations.DateRangeAggregate)
MissingRequiredPropertyException(org.opensearch.client.util.MissingRequiredPropertyException)
List(java.util.List)
SearchRequest(org.opensearch.client.opensearch.core.SearchRequest)
CardinalityAggregate(org.opensearch.client.opensearch._types.aggregations.CardinalityAggregate)
FieldAndFormat(org.opensearch.client.opensearch._types.query_dsl.FieldAndFormat)
Collections(java.util.Collections)
IntervalsQuery(org.opensearch.client.opensearch._types.query_dsl.IntervalsQuery)
Test(org.junit.Test)