public static class MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket> extends Object implements Comparator<B>
Constructor and Description |
---|
SubAggregationComparator(String expression,
boolean asc) |
Modifier and Type | Method and Description |
---|---|
boolean |
asc() |
int |
compare(B b1,
B b2) |
AggregationPath |
path() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public SubAggregationComparator(String expression, boolean asc)
public boolean asc()
public AggregationPath path()
public int compare(B b1, B b2)
compare
in interface Comparator<B extends MultiBucketsAggregation.Bucket>
Copyright © 2009–2016. All rights reserved.