Package io.objectbox.query
Class OrderFlags
java.lang.Object
io.objectbox.query.OrderFlags
Not really an enum, but binary flags to use across languages
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Makes upper case letters (e.g.static final int
Reverts the order from ascending (default) to descending.static final int
null values will be put last.static final int
null values should be treated equal to zero (scalars only).static final int
For scalars only: changes the comparison to unsigned (default is signed). -
Method Summary
-
Field Details
-
DESCENDING
public static final int DESCENDINGReverts the order from ascending (default) to descending.- See Also:
-
CASE_SENSITIVE
public static final int CASE_SENSITIVEMakes 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 UNSIGNEDFor scalars only: changes the comparison to unsigned (default is signed).- See Also:
-
NULLS_LAST
public static final int NULLS_LASTnull 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_ZEROnull values should be treated equal to zero (scalars only).- See Also:
-