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.
|
Modifier and Type | Class and Description |
---|---|
class |
NumericIdProperty<E extends Number>
Property that represents numeric PK
|
Modifier and Type | Field and Description |
---|---|
static NumericProperty<Long> |
PropertyFactory.COUNT
Property that can be used to select
COUNT(*) |
Modifier and Type | Method and 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> |
PropertyFactory.createNumeric(Expression expression,
Class<T> type)
Create numeric property
|
static <T extends Number> |
PropertyFactory.createNumeric(String name,
Class<T> type)
Create numeric property
|
static <T extends Number> |
PropertyFactory.createNumeric(String name,
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> |
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
|
Modifier and Type | Method and Description |
---|---|
NumericProperty<E> |
NumericProperty.add(NumericProperty<?> value) |
NumericProperty<E> |
NumericProperty.div(NumericProperty<?> value) |
default <T extends Number> |
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) |
StringProperty<String> |
StringProperty.substring(NumericProperty<?> offset,
NumericProperty<?> length) |
Modifier and Type | Method and Description |
---|---|
ColumnSelect<Object[]> |
ColumnSelect.avg(NumericProperty<?> property)
Select average value of property
|
<E extends Number> |
ObjectSelect.avg(NumericProperty<E> property)
Select average value of property
|
<E extends Number> |
ObjectSelect.max(NumericProperty<E> property)
Select maximum value of property
|
<E extends Number> |
ObjectSelect.min(NumericProperty<E> property)
Select minimum value of property
|
<E extends Number> |
ColumnSelect.sum(NumericProperty<E> property)
Select sum of values
|
<E extends Number> |
ObjectSelect.sum(NumericProperty<E> property)
Select sum of values
|
Copyright © 2001–2021 Apache Cayenne. All rights reserved.