Uses of Interface
com.hazelcast.function.ComparatorEx
Package
Description
Serializable and exception-declaring variants of functional interfaces from
java.util.function
.Contains
AggregateOperation
and its several variants, as well
as a builder object for the aggregate operations.Jet's Core API.
The Pipeline API is Jet's high-level API to build and execute
distributed computation jobs.
-
Uses of ComparatorEx in com.hazelcast.function
Modifier and TypeMethodDescriptionstatic <T,
U extends Comparable<? super U>>
ComparatorEx<T>ComparatorEx.comparing
(FunctionEx<? super T, ? extends U> toKeyFn) Serializable
variant ofjava.util.Comparator#comparing(Function)
.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,
U extends Comparable<? super U>>
ComparatorEx<T>Serializable
variant ofjava.util.Comparator#comparing(Function)
.static <T,
U> ComparatorEx<T> ComparatorEx.comparing
(Function<? super T, ? extends U> toKeyFn, Comparator<? super U> keyComparator) Serializable
variant ofjava.util.Comparator#comparing(Function, Comparator)
.static <T> ComparatorEx<T>
ComparatorEx.comparingDouble
(ToDoubleFunctionEx<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#comparingDouble(ToDoubleFunction)
.static <T> ComparatorEx<T>
ComparatorEx.comparingDouble
(ToDoubleFunction<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#comparingDouble(ToDoubleFunction)
.static <T> ComparatorEx<T>
ComparatorEx.comparingInt
(ToIntFunctionEx<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#comparingInt(ToIntFunction)
.static <T> ComparatorEx<T>
ComparatorEx.comparingInt
(ToIntFunction<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#comparingInt(ToIntFunction)
.static <T> ComparatorEx<T>
ComparatorEx.comparingLong
(ToLongFunctionEx<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#comparingLong(ToLongFunction)
.static <T> ComparatorEx<T>
ComparatorEx.comparingLong
(ToLongFunction<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#comparingLong(ToLongFunction)
.static <T extends Comparable<? super T>>
ComparatorEx<T>ComparatorEx.naturalOrder()
Serializable
variant ofjava.util.Comparator#naturalOrder()
.static <T> ComparatorEx<T>
ComparatorEx.nullsFirst
(ComparatorEx<? super T> comparator) Serializable
variant ofjava.util.Comparator#nullsFirst(Comparator)
.static <T> ComparatorEx<T>
ComparatorEx.nullsFirst
(Comparator<? 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)
.static <T> ComparatorEx<T>
ComparatorEx.nullsLast
(Comparator<? super T> comparator) Serializable
variant ofjava.util.Comparator#nullsLast(Comparator)
.default ComparatorEx<T>
ComparatorEx.reversed()
Serializable
variant ofjava.util.Comparator#reversed()
static <T extends Comparable<? super T>>
ComparatorEx<T>ComparatorEx.reverseOrder()
Serializable
variant ofjava.util.Comparator#reverseOrder()
.default ComparatorEx<T>
ComparatorEx.thenComparing
(ComparatorEx<? super T> other) Serializable
variant ofjava.util.Comparator#thenComparing(Comparator)
.default <U extends Comparable<? super U>>
ComparatorEx<T>ComparatorEx.thenComparing
(FunctionEx<? super T, ? extends U> toKeyFn) Serializable
variant ofjava.util.Comparator#thenComparing(Function)
.default <U> ComparatorEx<T>
ComparatorEx.thenComparing
(FunctionEx<? super T, ? extends U> toKeyFn, ComparatorEx<? super U> keyComparator) Serializable
variant ofjava.util.Comparator#thenComparing(Function, Comparator)
.default ComparatorEx<T>
ComparatorEx.thenComparing
(Comparator<? super T> other) Serializable
variant ofjava.util.Comparator#thenComparing(Comparator)
.default <U extends Comparable<? super U>>
ComparatorEx<T>ComparatorEx.thenComparing
(Function<? super T, ? extends U> toKeyFn) Serializable
variant ofjava.util.Comparator#thenComparing(Function)
.default <U> ComparatorEx<T>
ComparatorEx.thenComparing
(Function<? super T, ? extends U> toKeyFn, Comparator<? super U> keyComparator) Serializable
variant ofjava.util.Comparator#thenComparing(Function, Comparator)
.default ComparatorEx<T>
ComparatorEx.thenComparingDouble
(ToDoubleFunctionEx<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#thenComparingDouble(ToDoubleFunction)
.default ComparatorEx<T>
ComparatorEx.thenComparingDouble
(ToDoubleFunction<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#thenComparingDouble(ToDoubleFunction)
.default ComparatorEx<T>
ComparatorEx.thenComparingInt
(ToIntFunctionEx<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#thenComparingInt(ToIntFunction)
.default ComparatorEx<T>
ComparatorEx.thenComparingInt
(ToIntFunction<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#thenComparingInt(ToIntFunction)
.default ComparatorEx<T>
ComparatorEx.thenComparingLong
(ToLongFunctionEx<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#thenComparingLong(ToLongFunction)
.default ComparatorEx<T>
ComparatorEx.thenComparingLong
(ToLongFunction<? super T> toKeyFn) Serializable
variant ofjava.util.Comparator#thenComparingLong(ToLongFunction)
.Modifier and TypeMethodDescriptionstatic <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
Modifier and TypeMethodDescriptionstatic <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
Modifier and TypeMethodDescriptionComparatorEx<?>
Edge.getOrderComparator()
Returns the comparator defined on this edge usingEdge.ordered(ComparatorEx)
.Modifier and TypeMethodDescriptionEdge.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
Modifier and TypeMethodDescriptionBatchStage.sort
(ComparatorEx<? super T> comparator) Attaches a stage that sorts the input items according to the supplied comparator.