Interface OrderByNullPrecedence
- All Known Implementing Classes:
OrderByNullPrecedence.SqlStandardOrderByNullPrecedence
public interface OrderByNullPrecedence
Represents how the
Sort.NullHandling
option of an ORDER BY
sort expression is to be evaluated.- Since:
- 2.4
- Author:
- Chirag Tailor
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
AnOrderByNullPrecedence
implementation for databases conforming to the SQL standard which usesNULLS FIRST
andNULLS LAST
inORDER BY
sort expressions to make null values appear before or after non-null values in the result set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OrderByNullPrecedence
AnOrderByNullPrecedence
that can be used for databases that do not support the SQL standard usage ofNULLS FIRST
andNULLS LAST
inORDER BY
sort expressions to control where null values appear respective to non-null values in the result set.static final OrderByNullPrecedence
AnOrderByNullPrecedence
that can be used for databases conforming to the SQL standard which usesNULLS FIRST
andNULLS LAST
inORDER BY
sort expressions to make null values appear before or after non-null values in the result set. -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(Sort.NullHandling nullHandling) Converts aSort.NullHandling
option to the appropriate SQL text to be included anORDER BY
sort expression.
-
Field Details
-
SQL_STANDARD
AnOrderByNullPrecedence
that can be used for databases conforming to the SQL standard which usesNULLS FIRST
andNULLS LAST
inORDER BY
sort expressions to make null values appear before or after non-null values in the result set. -
NONE
AnOrderByNullPrecedence
that can be used for databases that do not support the SQL standard usage ofNULLS FIRST
andNULLS LAST
inORDER BY
sort expressions to control where null values appear respective to non-null values in the result set.
-
-
Method Details
-
evaluate
Converts aSort.NullHandling
option to the appropriate SQL text to be included anORDER BY
sort expression.
-