java.lang.Object
io.ebean.typequery.TQProperty<R,T>
io.ebean.typequery.TQPropertyBase<R,T>
io.ebean.typequery.PBaseValueEqual<R,T>
io.ebean.typequery.PBaseComparable<R,T>
io.ebean.typequery.PBaseNumber<R,T>
- Type Parameters:
R- the root query bean typeT- the property type
- All Implemented Interfaces:
io.ebean.Query.Property<T>
- Direct Known Subclasses:
PBigDecimal,PBigInteger,PDayOfWeek,PDouble,PDuration,PFloat,PInteger,PLong,PShort,PYear
Base property for number types.
-
Field Summary
Fields inherited from class io.ebean.typequery.TQProperty
_name, _root -
Constructor Summary
ConstructorsConstructorDescriptionPBaseNumber(String name, R root) Construct with a property name and root instance.PBaseNumber(String name, R root, String prefix) Construct with additional path prefix. -
Method Summary
Modifier and TypeMethodDescriptionfinal Rbetween(int lower, int upper) Between lower and upper values.final Req(int value) Is equal to.final RequalTo(int value) Is equal to.final RgreaterThan(int value) Greater than.final Rgt(int value) Greater than.final RlessThan(int value) Less than.final Rlt(int value) Less than.Methods 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
-
PBaseNumber
Construct with a property name and root instance.- Parameters:
name- property nameroot- the root query bean instance
-
PBaseNumber
Construct with additional path prefix.
-
-
Method Details
-
equalTo
Is equal to.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
greaterThan
Greater than.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
lessThan
Less than.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
eq
Is equal to.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
gt
Greater than.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
lt
Less than.- Parameters:
value- the equal to bind value- Returns:
- the root query bean instance
-
between
Between lower and upper values.- Parameters:
lower- the lower bind valueupper- the upper bind value- Returns:
- the root query bean instance
-