Interface Orders
public interface Orders
Collection of methods used to specify Orders for
PipelineStage.sortBy(Function)
stage.- Since:
- 14.0 - Caribou Lou
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionBuilds an ascending order with nulls values evaluated as the lowest value.Builds an ascending order with nulls values evaluated as the highest value.Builds a descending order with nulls values evaluated as the lowest value.Builds a descending order with nulls values evaluated as the highest value.
-
Method Details
-
ascNullsFirst
Builds an ascending order with nulls values evaluated as the lowest value.- Parameters:
e
- the expression on which is defined the order- Returns:
- the built order
- Since:
- 14.0 - Caribou Lou
-
ascNullsLast
Builds an ascending order with nulls values evaluated as the highest value.- Parameters:
e
- the expression on which is defined the order- Returns:
- the built order
- Since:
- 14.0 - Caribou Lou
-
descNullsFirst
Builds a descending order with nulls values evaluated as the lowest value.- Parameters:
e
- the expression on which is defined the order- Returns:
- the built order
- Since:
- 14.0 - Caribou Lou
-
descNullsLast
Builds a descending order with nulls values evaluated as the highest value.- Parameters:
e
- the expression on which is defined the order- Returns:
- the built order
- Since:
- 14.0 - Caribou Lou
-