Class OrderByProcessorUtil
java.lang.Object
com.espertech.esper.common.internal.epl.resultset.order.OrderByProcessorUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventBean
determineLocalMinMaxWOrderKeys
(EventBean[] outgoingEvents, Object[] orderKeys, Comparator<Object> comparator) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic EventBean[]
sortGivenOutgoingAndSortKeys
(EventBean[] outgoingEvents, List<Object> sortValuesMultiKeys, Comparator<Object> comparator) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic EventBean[]
sortWOrderKeys
(EventBean[] outgoingEvents, Object[] orderKeys, Comparator<Object> comparator) NOTE: Code-generation-invoked method, method name and parameter order mattersstatic EventBean[]
sortWOrderKeysWLimit
(EventBean[] outgoingEvents, Object[] orderKeys, Comparator<Object> comparator, RowLimitProcessor rowLimitProcessor) NOTE: Code-generation-invoked method, method name and parameter order matters
-
Constructor Details
-
OrderByProcessorUtil
public OrderByProcessorUtil()
-
-
Method Details
-
sortGivenOutgoingAndSortKeys
public static EventBean[] sortGivenOutgoingAndSortKeys(EventBean[] outgoingEvents, List<Object> sortValuesMultiKeys, Comparator<Object> comparator) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
outgoingEvents
- outgoingsortValuesMultiKeys
- keyscomparator
- comparator- Returns:
- sorted
-
sortWOrderKeys
public static EventBean[] sortWOrderKeys(EventBean[] outgoingEvents, Object[] orderKeys, Comparator<Object> comparator) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
outgoingEvents
- eventsorderKeys
- keyscomparator
- comparator- Returns:
- sorted
-
determineLocalMinMaxWOrderKeys
public static EventBean determineLocalMinMaxWOrderKeys(EventBean[] outgoingEvents, Object[] orderKeys, Comparator<Object> comparator) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
outgoingEvents
- outgoingorderKeys
- keyscomparator
- comparator- Returns:
- min or max
-
sortWOrderKeysWLimit
public static EventBean[] sortWOrderKeysWLimit(EventBean[] outgoingEvents, Object[] orderKeys, Comparator<Object> comparator, RowLimitProcessor rowLimitProcessor) NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
outgoingEvents
- outgoingorderKeys
- keyscomparator
- comparatorrowLimitProcessor
- row limit- Returns:
- min or max
-