# Uses of Class
org.apache.cayenne.exp.property.NumericProperty

Packages that use NumericProperty
Package
Description
org.apache.cayenne.exp.property
Property API
org.apache.cayenne.query
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.property
  Modifier and Type
  Class
  Description
  `class`
  `NumericIdProperty<E extends Number>`
  Property that represents numeric PK
  Fields in org.apache.cayenne.exp.property declared as NumericProperty
  Modifier and Type
  Field
  Description
  `static final NumericProperty<Long>`
  PropertyFactory.`COUNT`
  Property that can be used to select `COUNT(*)`
  Methods in org.apache.cayenne.exp.property that return NumericProperty
  Modifier and Type
  Method
  Description
  `NumericProperty<E>`
  NumericProperty.`abs()`
  `NumericProperty<E>`
  NumericProperty.`add(E value)`
  `NumericProperty<E>`
  NumericProperty.`add(NumericProperty<?> value)`
  `NumericProperty<E>`
  NumericProperty.`alias(String alias)`
  Creates alias with different name for this property
  `NumericProperty<E>`
  NumericProperty.`avg()`
  `NumericProperty<Long>`
  BaseProperty.`count()`
  `NumericProperty<Long>`
  BaseProperty.`countDistinct()`
  `static <T extends Number>
  NumericProperty<T>`
  PropertyFactory.`createNumeric(String name, Class<T> type)`
  Create numeric property
  `static <T extends Number>
  NumericProperty<T>`
  PropertyFactory.`createNumeric(String name, Expression expression, Class<T> type)`
  Create numeric property
  `static <T extends Number>
  NumericProperty<T>`
  PropertyFactory.`createNumeric(Expression expression, Class<T> type)`
  Create numeric property
  `static <T extends Number>
  NumericProperty<T>`
  PropertyFactory.`createNumeric(CayennePath path, Expression expression, Class<T> type)`
  Create numeric property
  `NumericProperty<Integer>`
  DateProperty.`dayOfMonth()`
  It is a caller responsibility to check that underlying attribute has day component
  `NumericProperty<Integer>`
  DateProperty.`dayOfYear()`
  It is a caller responsibility to check that underlying attribute has day component
  `NumericProperty<E>`
  NumericProperty.`div(E value)`
  `NumericProperty<E>`
  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<E>`
  NumericProperty.`enclosing()`
  `NumericProperty<Integer>`
  DateProperty.`hour()`
  It is a caller responsibility to check that underlying attribute has time component
  `NumericProperty<Integer>`
  StringProperty.`length()`
  `NumericProperty<Integer>`
  StringProperty.`locate(String string)`
  `NumericProperty<Integer>`
  StringProperty.`locate(StringProperty<? extends String> property)`
  `NumericProperty<E>`
  NumericProperty.`max()`
  `NumericProperty<E>`
  NumericProperty.`min()`
  `NumericProperty<Integer>`
  DateProperty.`minute()`
  It is a caller responsibility to check that underlying attribute has time component
  `NumericProperty<E>`
  NumericProperty.`mod(Number number)`
  `NumericProperty<E>`
  NumericProperty.`mod(NumericProperty<?> number)`
  `NumericProperty<Integer>`
  DateProperty.`month()`
  It is a caller responsibility to check that underlying attribute has month component
  `NumericProperty<E>`
  NumericProperty.`mul(E value)`
  `NumericProperty<E>`
  NumericProperty.`mul(NumericProperty<?> value)`
  `NumericProperty<E>`
  NumericProperty.`neg()`
  `NumericProperty<Integer>`
  DateProperty.`second()`
  It is a caller responsibility to check that underlying attribute has time component
  `NumericProperty<E>`
  NumericProperty.`sqrt()`
  `NumericProperty<E>`
  NumericProperty.`sub(E value)`
  `NumericProperty<E>`
  NumericProperty.`sub(NumericProperty<?> value)`
  `NumericProperty<E>`
  NumericProperty.`sum()`
  `NumericProperty<Integer>`
  DateProperty.`year()`
  It is a caller responsibility to check that underlying attribute has year component
  Methods in org.apache.cayenne.exp.property with parameters of type NumericProperty
  Modifier and Type
  Method
  Description
  `NumericProperty<E>`
  NumericProperty.`add(NumericProperty<?> value)`
  `NumericProperty<E>`
  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<E>`
  NumericProperty.`mod(NumericProperty<?> number)`
  `NumericProperty<E>`
  NumericProperty.`mul(NumericProperty<?> value)`
  `NumericProperty<E>`
  NumericProperty.`sub(NumericProperty<?> value)`
  `StringProperty<String>`
  StringProperty.`substring(NumericProperty<?> offset, NumericProperty<?> length)`

- ## Uses of NumericProperty in org.apache.cayenne.query

  Methods in org.apache.cayenne.query with parameters of type NumericProperty
  Modifier and Type
  Method
  Description
  `ColumnSelect<Object[]>`
  ColumnSelect.`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