Class OrderFlags

java.lang.Object
io.objectbox.query.OrderFlags

public final class OrderFlags extends Object
Not really an enum, but binary flags to use across languages
  • Field Details

    • DESCENDING

      public static final int DESCENDING
      Reverts the order from ascending (default) to descending.
      See Also:
    • CASE_SENSITIVE

      public static final int CASE_SENSITIVE
      Makes upper case letters (e.g. "Z") be sorted before lower case letters (e.g. "a"). If not specified, the default is case insensitive for ASCII characters.
      See Also:
    • UNSIGNED

      public static final int UNSIGNED
      For scalars only: changes the comparison to unsigned (default is signed).
      See Also:
    • NULLS_LAST

      public static final int NULLS_LAST
      null values will be put last. If not specified, by default null values will be put first.
      See Also:
    • NULLS_ZERO

      public static final int NULLS_ZERO
      null values should be treated equal to zero (scalars only).
      See Also: