- java.lang.Object
-
- io.ebean.typequery.TQProperty<R>
-
- io.ebean.typequery.TQPropertyBase<R>
-
- io.ebean.typequery.PBaseValueEqual<R,T>
-
- io.ebean.typequery.PBaseCompareable<R,T>
-
- io.ebean.typequery.PBaseNumber<R,Integer>
-
- io.ebean.typequery.PInteger<R>
-
- Type Parameters:
R- the root query bean type
public final class PInteger<R> extends PBaseNumber<R,Integer>
Integer property.
-
-
Field Summary
-
Fields inherited from class io.ebean.typequery.TQProperty
_name, _root
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RbitwiseAll(int flags)Add expression for ALL of the given bit flags to be set.RbitwiseAnd(int flags, int mask)Add bitwise AND expression of the given bit flags to compare with the match/mask.RbitwiseAny(int flags)Add expression for ANY of the given bit flags to be set.RbitwiseNot(int flags)Add expression for the given bit flags to be NOT set.-
Methods inherited from class io.ebean.typequery.PBaseNumber
between, eq, equalTo, greaterThan, gt, lessThan, lt
-
Methods inherited from class io.ebean.typequery.PBaseCompareable
between, ge, geOrNull, greaterOrEqualTo, greaterThan, greaterThanOrNull, gt, gtOrNull, inRange, inRangeWith, le, leOrNull, lessOrEqualTo, lessThan, lessThanOrNull, lt, ltOrNull
-
Methods inherited from class io.ebean.typequery.PBaseValueEqual
asMapKey, eq, eqOrNull, equalTo, equalToOrNull, in, in, in, inOrEmpty, isIn, isIn, isIn, ne, notEqualTo, notIn, notIn
-
Methods inherited from class io.ebean.typequery.TQPropertyBase
asc, desc
-
Methods inherited from class io.ebean.typequery.TQProperty
expr, isNotNull, isNull, propertyName, toString
-
-
-
-
Method Detail
-
bitwiseAnd
public R bitwiseAnd(int flags, int mask)
Add bitwise AND expression of the given bit flags to compare with the match/mask.// Flags Bulk + Size = Size // ... meaning Bulk is not set and Size is set int selectedFlags = BwFlags.HAS_BULK + BwFlags.HAS_SIZE; int mask = BwFlags.HAS_SIZE; // Only Size flag set bitwiseAnd(selectedFlags, mask)- Parameters:
flags- The flags we are looking for
-
bitwiseAll
public R bitwiseAll(int flags)
Add expression for ALL of the given bit flags to be set.bitwiseAll(BwFlags.HAS_BULK + BwFlags.HAS_COLOUR)- Parameters:
flags- The flags we are looking for
-
bitwiseAny
public R bitwiseAny(int flags)
Add expression for ANY of the given bit flags to be set.bitwiseAny(BwFlags.HAS_BULK + BwFlags.HAS_COLOUR)- Parameters:
flags- The flags we are looking for
-
bitwiseNot
public R bitwiseNot(int flags)
Add expression for the given bit flags to be NOT set.bitwiseNot(BwFlags.HAS_COLOUR)- Parameters:
flags- The flags we are looking for
-
-