public static class MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>
extends java.lang.Object
implements java.util.Comparator<B>
Constructor and Description |
---|
SubAggregationComparator(java.lang.String expression,
boolean asc) |
Modifier and Type | Method and Description |
---|---|
boolean |
asc() |
int |
compare(B b1,
B b2) |
AggregationPath |
path() |
public SubAggregationComparator(java.lang.String expression, boolean asc)
public boolean asc()
public AggregationPath path()
public int compare(B b1, B b2)
compare
in interface java.util.Comparator<B extends MultiBucketsAggregation.Bucket>