public static class OrderByNullPrecedence.SqlStandardOrderByNullPrecedence extends Object implements OrderByNullPrecedence
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.OrderByNullPrecedence.SqlStandardOrderByNullPrecedence
NONE, SQL_STANDARD
Constructor and Description |
---|
SqlStandardOrderByNullPrecedence() |
Modifier and Type | Method and Description |
---|---|
String |
evaluate(org.springframework.data.domain.Sort.NullHandling nullHandling)
Converts a
Sort.NullHandling option to the appropriate SQL text to be included an ORDER BY sort
expression. |
public String evaluate(org.springframework.data.domain.Sort.NullHandling nullHandling)
OrderByNullPrecedence
Sort.NullHandling
option to the appropriate SQL text to be included an ORDER BY
sort
expression.evaluate
in interface OrderByNullPrecedence
Copyright © 2017–2023 Pivotal Software, Inc.. All rights reserved.