public static class CompatibleTermsAggregationBuilder.CompoundOrder
extends org.elasticsearch.search.aggregations.InternalOrder
org.elasticsearch.search.aggregations.InternalOrder.Aggregation, org.elasticsearch.search.aggregations.InternalOrder.CompoundOrder, org.elasticsearch.search.aggregations.InternalOrder.Parser, org.elasticsearch.search.aggregations.InternalOrder.Streams| 构造器和说明 |
|---|
CompoundOrder(byte id,
String key,
boolean asc,
Comparator<org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket> comparator,
List<org.elasticsearch.search.aggregations.BucketOrder> orderElements) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<org.elasticsearch.search.aggregations.BucketOrder> |
orderElements() |
org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
comparator, equals, hashCode, isCountDesc, isKeyAsc, isKeyDesc, isKeyOrder, validatepublic CompoundOrder(byte id,
String key,
boolean asc,
Comparator<org.elasticsearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket> comparator,
List<org.elasticsearch.search.aggregations.BucketOrder> orderElements)
public List<org.elasticsearch.search.aggregations.BucketOrder> orderElements()
BucketOrders to sort on.public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws IOException
toXContent 在接口中 org.elasticsearch.common.xcontent.ToXContenttoXContent 在类中 org.elasticsearch.search.aggregations.InternalOrderIOExceptionCopyright © 2021. All rights reserved.