public static class JpaSort.JpaOrder extends Sort.Order
Order that keeps a flag to indicate unsafe property handling, i.e. the String provided is not
necessarily a property but can be an arbitrary expression piped into the query execution. We also keep an
additional ignoreCase flag around as the constructor of the superclass is private currently.| Modifier and Type | Method and Description |
|---|---|
JpaSort.JpaOrder |
ignoreCase() |
boolean |
isIgnoreCase() |
boolean |
isUnsafe() |
JpaSort.JpaOrder |
with(Sort.Direction order) |
JpaSort.JpaOrder |
with(Sort.NullHandling nullHandling) |
Sort |
withUnsafe(String... properties)
Creates new
Sort with potentially unsafe Order instances. |
equals, getDirection, getNullHandling, getProperty, hashCode, isAscending, isDescending, nullsFirst, nullsLast, nullsNative, toString, withProperties, withPropertypublic JpaSort.JpaOrder with(Sort.Direction order)
with in class Sort.Orderpublic JpaSort.JpaOrder with(Sort.NullHandling nullHandling)
with in class Sort.Orderpublic Sort withUnsafe(String... properties)
Sort with potentially unsafe Order instances.properties - must not be null.public JpaSort.JpaOrder ignoreCase()
ignoreCase in class Sort.Orderpublic boolean isIgnoreCase()
isIgnoreCase in class Sort.Orderpublic boolean isUnsafe()
JpaSort.JpaOrder created withUnsafe(String...).Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.