java.lang.Object
io.ebean.typequery.TQProperty<R,Short>
io.ebean.typequery.TQPropertyBase<R,Short>
io.ebean.typequery.PBaseValueEqual<R,Short>
io.ebean.typequery.PBaseComparable<R,Short>
io.ebean.typequery.PBaseNumber<R,Short>
io.ebean.typequery.PShort<R>
- Type Parameters:
R- the root query bean type
- All Implemented Interfaces:
io.ebean.Query.Property<Short>
Short property.
-
Field Summary
Fields inherited from class io.ebean.typequery.TQProperty
_name, _root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbitwiseAll(short flags) Add expression for ALL of the given bit flags to be set.bitwiseAnd(short flags, short mask) Add bitwise AND expression of the given bit flags to compare with the match/mask.bitwiseAny(short flags) Add expression for ANY of the given bit flags to be set.bitwiseNot(short 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
-
PShort
Construct with a property name and root instance.- Parameters:
name- property nameroot- the root query bean instance
-
PShort
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 short selectedFlags = BwFlags.HAS_BULK + BwFlags.HAS_SIZE; short 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
-