Uses of Class
org.apache.cayenne.exp.property.NumericProperty
Packages that use NumericProperty
Package
Description
Property API
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of NumericProperty in org.apache.cayenne.exp.property
Subclasses of NumericProperty in org.apache.cayenne.exp.propertyModifier and TypeClassDescriptionclassNumericIdProperty<E extends Number>Property that represents numeric PKFields in org.apache.cayenne.exp.property declared as NumericPropertyModifier and TypeFieldDescriptionstatic final NumericProperty<Long> PropertyFactory.COUNTProperty that can be used to selectCOUNT(*)Methods in org.apache.cayenne.exp.property that return NumericPropertyModifier and TypeMethodDescriptionNumericProperty.abs()NumericProperty.add(NumericProperty<?> value) Creates alias with different name for this propertyNumericProperty.avg()BaseProperty.count()BaseProperty.countDistinct()static <T extends Number>
NumericProperty<T> PropertyFactory.createNumeric(String name, Class<T> type) Create numeric propertystatic <T extends Number>
NumericProperty<T> PropertyFactory.createNumeric(String name, Expression expression, Class<T> type) Create numeric propertystatic <T extends Number>
NumericProperty<T> PropertyFactory.createNumeric(Expression expression, Class<T> type) Create numeric propertystatic <T extends Number>
NumericProperty<T> PropertyFactory.createNumeric(CayennePath path, Expression expression, Class<T> type) Create numeric propertyDateProperty.dayOfMonth()It is a caller responsibility to check that underlying attribute has day componentDateProperty.dayOfYear()It is a caller responsibility to check that underlying attribute has day componentNumericProperty.div(NumericProperty<?> value) default <T extends Number>
NumericProperty<T> PathProperty.dot(NumericProperty<T> property) Constructs a new property path by appending the argument to the existing property separated by a dot.NumericProperty.enclosing()DateProperty.hour()It is a caller responsibility to check that underlying attribute has time componentStringProperty.length()StringProperty.locate(StringProperty<? extends String> property) NumericProperty.max()NumericProperty.min()DateProperty.minute()It is a caller responsibility to check that underlying attribute has time componentNumericProperty.mod(NumericProperty<?> number) DateProperty.month()It is a caller responsibility to check that underlying attribute has month componentNumericProperty.mul(NumericProperty<?> value) NumericProperty.neg()DateProperty.second()It is a caller responsibility to check that underlying attribute has time componentNumericProperty.sqrt()NumericProperty.sub(NumericProperty<?> value) NumericProperty.sum()DateProperty.year()It is a caller responsibility to check that underlying attribute has year componentMethods in org.apache.cayenne.exp.property with parameters of type NumericPropertyModifier and TypeMethodDescriptionNumericProperty.add(NumericProperty<?> value) NumericProperty.div(NumericProperty<?> value) default <T extends Number>
NumericProperty<T> PathProperty.dot(NumericProperty<T> property) Constructs a new property path by appending the argument to the existing property separated by a dot.NumericProperty.mod(NumericProperty<?> number) NumericProperty.mul(NumericProperty<?> value) NumericProperty.sub(NumericProperty<?> value) StringProperty.substring(NumericProperty<?> offset, NumericProperty<?> length) -
Uses of NumericProperty in org.apache.cayenne.query
Methods in org.apache.cayenne.query with parameters of type NumericPropertyModifier and TypeMethodDescriptionColumnSelect.avg(NumericProperty<?> property) Select average value of property<E extends Number>
ColumnSelect<E> ObjectSelect.avg(NumericProperty<E> property) Select average value of property<E extends Number>
ColumnSelect<E> ObjectSelect.max(NumericProperty<E> property) Select maximum value of property<E extends Number>
ColumnSelect<E> ObjectSelect.min(NumericProperty<E> property) Select minimum value of property<E extends Number>
ColumnSelect<Object[]> ColumnSelect.sum(NumericProperty<E> property) Select sum of values<E extends Number>
ColumnSelect<E> ObjectSelect.sum(NumericProperty<E> property) Select sum of values