java.lang.Object
org.litebridgedb.orm.meta.QueryField
org.litebridgedb.orm.meta.NumericQueryField
- All Implemented Interfaces:
ExpressionSpec
Metamodel field for querying numeric-based columns in a type-safe manner.
This class extends the capabilities of QueryField
by providing methods for common numeric operations, such as retrieving average, maximum,
or minimum values.
-
Field Summary
Fields inherited from class org.litebridgedb.orm.meta.QueryField
dtoClass, field -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.litebridgedb.orm.meta.QueryField
convert, toString
-
Constructor Details
-
NumericQueryField
-
-
Method Details
-
avg
AVG(): Returns the average value of a column/field.- Returns:
- a
ProtoNestableTOExprexpression instance to select the average value of a column/field.
-
max
MAX(): Returns the highest or largest value within a specified field.- Returns:
- a
ProtoNestableTOExprexpression instance to select the maximum value of a field.
-
min
MIN(): Returns the lowest or smallest value within a specified column or expression- Returns:
- a
ProtoNestableTOExprexpression instance to select the maximum value of a column/field.
-