Package io.objectbox.query
Class OrderFlags
- java.lang.Object
-
- io.objectbox.query.OrderFlags
-
public final class OrderFlags extends java.lang.Object
Not really an enum, but binary flags to use across languages
-
-
Field Summary
Fields Modifier and Type Field Description static int
CASE_SENSITIVE
Makes upper case letters (e.g.static int
DESCENDING
Reverts the order from ascending (default) to descending.static int
NULLS_LAST
null values will be put last.static int
NULLS_ZERO
null values should be treated equal to zero (scalars only).static int
UNSIGNED
For scalars only: changes the comparison to unsigned (default is signed).
-
-
-
Field Detail
-
DESCENDING
public static final int DESCENDING
Reverts the order from ascending (default) to descending.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
UNSIGNED
public static final int UNSIGNED
For scalars only: changes the comparison to unsigned (default is signed).- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
NULLS_ZERO
public static final int NULLS_ZERO
null values should be treated equal to zero (scalars only).- See Also:
- Constant Field Values
-
-