Package io.objectbox.query
Class OrderFlags
- java.lang.Object
-
- io.objectbox.query.OrderFlags
-
public final class OrderFlags extends java.lang.ObjectNot really an enum, but binary flags to use across languages
-
-
Field Summary
Fields Modifier and Type Field Description static intCASE_SENSITIVEMakes upper case letters (e.g.static intDESCENDINGReverts the order from ascending (default) to descending.static java.lang.String[]namesstatic intNULLS_LASTnull values will be put last.static intNULLS_ZEROnull values should be treated equal to zero (scalars only).static intUNSIGNEDFor scalars only: changes the comparison to unsigned (default is signed).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringname(int e)
-
-
-
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
-
names
public static final java.lang.String[] names
-
-