Uses of Interface
com.hazelcast.function.ComparatorEx
Package | Description |
---|---|
com.hazelcast.function |
Serializable and exception-declaring variants of functional interfaces from
java.util.function . |
com.hazelcast.jet.aggregate |
Contains
AggregateOperation and its several variants, as well
as a builder object for the aggregate operations. |
com.hazelcast.jet.core |
Jet's Core API.
|
com.hazelcast.jet.pipeline |
The Pipeline API is Jet's high-level API to build and execute
distributed computation jobs.
|
-
Uses of ComparatorEx in com.hazelcast.function
Methods in com.hazelcast.function with parameters of type ComparatorEx Modifier and Type Method Description static <T, U> ComparatorEx<T>
ComparatorEx. comparing(FunctionEx<? super T,? extends U> toKeyFn, ComparatorEx<? super U> keyComparator)
Serializable
variant ofjava.util.Comparator#comparing(Function, Comparator)
.static <T> ComparatorEx<T>
ComparatorEx. nullsFirst(ComparatorEx<? super T> comparator)
Serializable
variant ofjava.util.Comparator#nullsFirst(Comparator)
.static <T> ComparatorEx<T>
ComparatorEx. nullsLast(ComparatorEx<? super T> comparator)
Serializable
variant ofjava.util.Comparator#nullsLast(Comparator)
.default ComparatorEx<T>
ComparatorEx. thenComparing(ComparatorEx<? super T> other)
Serializable
variant ofjava.util.Comparator#thenComparing(Comparator)
.default <U> ComparatorEx<T>
ComparatorEx. thenComparing(FunctionEx<? super T,? extends U> toKeyFn, ComparatorEx<? super U> keyComparator)
Serializable
variant ofjava.util.Comparator#thenComparing(Function, Comparator)
. -
Uses of ComparatorEx in com.hazelcast.jet.aggregate
Methods in com.hazelcast.jet.aggregate with parameters of type ComparatorEx Modifier and Type Method Description static <T> AggregateOperation1<T,PriorityQueue<T>,List<T>>
AggregateOperations. bottomN(int n, ComparatorEx<? super T> comparator)
Returns an aggregate operation that finds the bottomn
items according to the givencomparator
.static <T> AggregateOperation1<T,MutableReference<T>,T>
AggregateOperations. maxBy(ComparatorEx<? super T> comparator)
Returns an aggregate operation that computes the greatest item according to the givencomparator
.static <T> AggregateOperation1<T,MutableReference<T>,T>
AggregateOperations. minBy(ComparatorEx<? super T> comparator)
Returns an aggregate operation that computes the least item according to the givencomparator
.static <T> AggregateOperation1<T,ArrayList<T>,List<T>>
AggregateOperations. sorting(ComparatorEx<? super T> comparator)
Returns an aggregate operation that accumulates all input items into anArrayList
and sorts it with the given comparator.static <T> AggregateOperation1<T,PriorityQueue<T>,List<T>>
AggregateOperations. topN(int n, ComparatorEx<? super T> comparator)
Returns an aggregate operation that finds the topn
items according to the givencomparator
. -
Uses of ComparatorEx in com.hazelcast.jet.core
Methods in com.hazelcast.jet.core that return ComparatorEx Modifier and Type Method Description ComparatorEx<?>
Edge. getOrderComparator()
Returns the comparator defined on this edge usingEdge.ordered(ComparatorEx)
.Methods in com.hazelcast.jet.core with parameters of type ComparatorEx Modifier and Type Method Description Edge
Edge. ordered(ComparatorEx<?> comparator)
Specifies that the data traveling on this edge is ordered according to the provided comparator. -
Uses of ComparatorEx in com.hazelcast.jet.pipeline
Methods in com.hazelcast.jet.pipeline with parameters of type ComparatorEx Modifier and Type Method Description BatchStage<T>
BatchStage. sort(ComparatorEx<? super T> comparator)
Attaches a stage that sorts the input items according to the supplied comparator.