Class OrderByUtils

java.lang.Object
io.micronaut.data.processor.visitors.finders.OrderByUtils

@Internal public final class OrderByUtils extends Object
Utils for reading OrderBy annotation values.
Since:
5.2
Author:
Denis Stepanov
  • Method Details

    • getNullPrecedence

      public static jakarta.persistence.criteria.Nulls getNullPrecedence(io.micronaut.core.annotation.AnnotationValue<?> orderByAnnotation)
      Reads the null precedence requested by an OrderBy annotation value.
      Parameters:
      orderByAnnotation - The order by annotation value
      Returns:
      The null precedence, Nulls.NONE when unspecified