java.lang.Object
io.ebean.typequery.TQProperty<R,Long>
io.ebean.typequery.TQPropertyBase<R,Long>
io.ebean.typequery.PBaseValueEqual<R,Long>
io.ebean.typequery.PBaseComparable<R,Long>
io.ebean.typequery.PBaseNumber<R,Long>
io.ebean.typequery.PLong<R>
- Type Parameters:
R- the root query bean type
- All Implemented Interfaces:
io.ebean.Query.Property<Long>
Long property.
-
Field Summary
Fields inherited from class io.ebean.typequery.TQProperty
_name, _root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbitwiseAll(long flags) Add expression for ALL of the given bit flags to be set.bitwiseAnd(long flags, long mask) Add bitwise AND expression of the given bit flags to compare with the match/mask.bitwiseAny(long flags) Add expression for ANY of the given bit flags to be set.bitwiseNot(long 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, ltMethods inherited from class io.ebean.typequery.PBaseComparable
between, betweenProperties, ge, ge, ge, geIfPresent, geOrNull, geSubQuery, greaterOrEqualTo, greaterThan, greaterThanOrNull, gt, gt, gt, gtIfPresent, gtOrNull, gtSubQuery, inRange, inRangeWith, inRangeWith, le, le, le, leIfPresent, leOrNull, lessOrEqualTo, lessThan, lessThanOrNull, leSubQuery, lt, lt, lt, ltIfPresent, ltOrNull, ltSubQueryMethods inherited from class io.ebean.typequery.PBaseValueEqual
asMapKey, eq, eq, eq, eqIfPresent, eqOrNull, eqSubQuery, equalTo, equalToOrNull, in, in, in, inOrEmpty, inSubQuery, isIn, isIn, isIn, ne, ne, ne, neSubQuery, notEqualTo, notIn, notIn, notIn, notInSubQueryMethods inherited from class io.ebean.typequery.TQPropertyBase
asc, descMethods inherited from class io.ebean.typequery.TQProperty
expr, isNotNull, isNull, propertyName, toString
-
Constructor Details
-
PLong
Construct with a property name and root instance.- Parameters:
name- property nameroot- the root query bean instance
-
PLong
Construct with additional path prefix.
-
-
Method Details
-
bitwiseAnd
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 long selectedFlags = BwFlags.HAS_BULK + BwFlags.HAS_SIZE; long mask = BwFlags.HAS_SIZE; // Only Size flag set bitwiseAnd(selectedFlags, mask)- Parameters:
flags- The flags we are looking for
-
bitwiseAll
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
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
Add expression for the given bit flags to be NOT set.bitwiseNot(BwFlags.HAS_COLOUR)- Parameters:
flags- The flags we are looking for
-