| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| public static final DefaultNullOrdering | FIRST
NULL values are sorted before other values, no matter if ascending or descending order is used. |
| public static final DefaultNullOrdering | HIGH
NULL values are considered as larger than other values during sorting. |
| public static final DefaultNullOrdering | LAST
NULL values are sorted after other values, no matter if ascending or descending order is used. |
| public static final DefaultNullOrdering | LOW
NULL values are considered as smaller than other values during sorting. |
| private final int | |
| private final int | |
| private static final DefaultNullOrdering[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: bit mask withorg. or org.
explicitly setsort type bit mask sortType)Returns a sort type bit mask with |
| public int | Returns: the result of the comparison (-1 meaning the first expression should appear before the second, 0 if they are equal)whether the first expression is null aNull, int the sort bit mask to use sortType)Compare two expressions where one of them is NULL. |
| public static DefaultNullOrdering | |
| public static DefaultNullOrdering | Returns: default ordering of NULL values for the specified ordinal numberordinal number ordinal)Returns default ordering of NULL values for the specified ordinal number. |
| public static DefaultNullOrdering[] |
| defaultAscNulls | back to summary |
|---|---|
| private final int defaultAscNulls | |
| defaultDescNulls | back to summary |
|---|---|
| private final int defaultDescNulls | |
| FIRST | back to summary |
|---|---|
| public static final DefaultNullOrdering FIRST NULL values are sorted before other values, no matter if ascending or descending order is used. | |
| HIGH | back to summary |
|---|---|
| public static final DefaultNullOrdering HIGH NULL values are considered as larger than other values during sorting. | |
| LAST | back to summary |
|---|---|
| public static final DefaultNullOrdering LAST NULL values are sorted after other values, no matter if ascending or descending order is used. | |
| LOW | back to summary |
|---|---|
| public static final DefaultNullOrdering LOW NULL values are considered as smaller than other values during sorting. | |
| nullAsc | back to summary |
|---|---|
| private final int nullAsc | |
| nullDesc | back to summary |
|---|---|
| private final int nullDesc | |
| VALUES | back to summary |
|---|---|
| private static final DefaultNullOrdering[] VALUES | |
| DefaultNullOrdering | back to summary |
|---|---|
| private DefaultNullOrdering(int defaultAscNulls, int defaultDescNulls) | |
| addExplicitNullOrdering | back to summary |
|---|---|
| public int addExplicitNullOrdering(int sortType) Returns a sort type bit mask with
| |
| compareNull | back to summary |
|---|---|
| public int compareNull(boolean aNull, int sortType) Compare two expressions where one of them is NULL.
| |
| valueOf | back to summary |
|---|---|
| public static DefaultNullOrdering valueOf(String name) | |
| valueOf | back to summary |
|---|---|
| public static DefaultNullOrdering valueOf(int ordinal) Returns default ordering of NULL values for the specified ordinal number.
| |
| values | back to summary |
|---|---|
| public static DefaultNullOrdering[] values() | |