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 Classes
    Modifier and Type
    Interface
    Description
    static class 
    An OrderByNullPrecedence implementation for databases conforming to the SQL standard which uses NULLS FIRST and NULLS LAST in ORDER BY sort expressions to make null values appear before or after non-null values in the result set.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    An OrderByNullPrecedence that can be used for databases that do not support the SQL standard usage of NULLS FIRST and NULLS LAST in ORDER BY sort expressions to control where null values appear respective to non-null values in the result set.
    An OrderByNullPrecedence that can be used for databases conforming to the SQL standard which uses NULLS FIRST and NULLS LAST in ORDER BY sort expressions to make null values appear before or after non-null values in the result set.
  • Method Summary

    Modifier and Type
    Method
    Description
    Converts a Sort.NullHandling option to the appropriate SQL text to be included an ORDER BY sort expression.
  • Field Details

    • SQL_STANDARD

      static final OrderByNullPrecedence SQL_STANDARD
      An OrderByNullPrecedence that can be used for databases conforming to the SQL standard which uses NULLS FIRST and NULLS LAST in ORDER BY sort expressions to make null values appear before or after non-null values in the result set.
    • NONE

      static final OrderByNullPrecedence NONE
      An OrderByNullPrecedence that can be used for databases that do not support the SQL standard usage of NULLS FIRST and NULLS LAST in ORDER BY sort expressions to control where null values appear respective to non-null values in the result set.
  • Method Details