Package org.elasticsearch.search.sort
Class MinAndMax<T extends <? super T>>
org.elasticsearch.search.sort.MinAndMax<T>
- All Implemented Interfaces:
Writeable
A class that encapsulates a minimum and a maximum, that are of the same type and .
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <MinAndMax<?>>
getComparator(SortOrder order)
getMax()
Return the maximum value.getMin()
Return the minimum value.void
writeTo(StreamOutput out)
Write this into the StreamOutput.Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
MinAndMax
-
MinAndMax
- Throws:
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
getMin
Return the minimum value. -
getMax
Return the maximum value. -
getComparator
-