| Package | Description | 
|---|---|
| org.apache.cayenne.exp | Cayenne data expression classes. | 
| org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create
custom queries. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Property<Long> | Property. COUNTProperty that can be used in COUNT(*) queries | 
| Modifier and Type | Method and Description | 
|---|---|
| Property<E> | Property. abs() | 
| Property<E> | Property. alias(String alias)Creates alias with different name for this property | 
| Property<E> | Property. avg() | 
| Property<String> | Property. concat(Object... args)Arguments will be converted as follows:
 
      if argument is a  Propertythan its expression will be used
      if argument is aExpressionthan it will be used as is 
      all other values will be converted to String | 
| Property<Long> | Property. count() | 
| static <T> Property<T> | Property. create(Expression expression,
      Class<? super T> type)Creates property with expression and type | 
| static <T> Property<T> | Property. create(String name,
      Class<? super T> type)Creates property with name and type | 
| static <T> Property<T> | Property. create(String name,
      Expression expression,
      Class<? super T> type)Creates property with name, expression and type | 
| static <T extends Persistent> | Property. createSelf(Class<? super T> type)
 Creates "self" Property for persistent class. | 
| <T> Property<T> | Property. dot(Property<T> property)Constructs a new property path by appending the argument to the existing property separated by a dot. | 
| Property<Object> | Property. dot(String property)Constructs a property path by appending the argument to the existing property separated by a dot. | 
| <T extends Persistent> | Property. flat(Class<? super T> tClass)Create new "flat" property for toMany relationship. | 
| Property<Integer> | Property. length() | 
| Property<Integer> | Property. locate(Property<? extends String> property) | 
| Property<Integer> | Property. locate(String string) | 
| Property<String> | Property. lower() | 
| Property<E> | Property. max() | 
| Property<E> | Property. min() | 
| Property<E> | Property. mod(Number number) | 
| Property<E> | Property. outer()Returns a version of this property that represents an OUTER join. | 
| Property<E> | Property. sqrt() | 
| Property<String> | Property. substring(int offset,
         int length) | 
| Property<E> | Property. sum() | 
| Property<String> | Property. trim() | 
| Property<String> | Property. upper() | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> Property<T> | Property. dot(Property<T> property)Constructs a new property path by appending the argument to the existing property separated by a dot. | 
| Expression | Property. eq(Property<?> value) | 
| Expression | Property. gt(Property<?> value) | 
| Expression | Property. gte(Property<?> value) | 
| Property<Integer> | Property. locate(Property<? extends String> property) | 
| Expression | Property. lt(Property<?> value) | 
| Expression | Property. lte(Property<?> value) | 
| Expression | Property. ne(Property<?> value) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Collection<Property<?>> | SelectQuery. columns | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<Property<?>> | ColumnSelect. getColumns() | 
| Collection<Property<?>> | SelectQuery. getColumns() | 
| Modifier and Type | Method and Description | 
|---|---|
| ColumnSelect<Object[]> | ColumnSelect. avg(Property<?> property)Select average value of property | 
| <E> ColumnSelect<E> | ObjectSelect. avg(Property<E> property)Select average value of property | 
| protected <E> ColumnSelect<E> | ColumnSelect. column(Property<E> property) | 
| <E> ColumnSelect<E> | ObjectSelect. column(Property<E> property)Select one specific property. | 
| static ColumnSelect<Object[]> | ObjectSelect. columnQuery(Class<?> entityType,
           Property<?> firstColumn,
           Property<?>... otherColumns)Creates a ColumnSelect that will fetch multiple columns of a given  ObjEntity | 
| static ColumnSelect<Object[]> | ObjectSelect. columnQuery(Class<?> entityType,
           Property<?> firstColumn,
           Property<?>... otherColumns)Creates a ColumnSelect that will fetch multiple columns of a given  ObjEntity | 
| static <E> ColumnSelect<E> | ObjectSelect. columnQuery(Class<?> entityType,
           Property<E> column)Creates a ColumnSelect that will fetch single property that can be resolved
 against a given  ObjEntityclass. | 
| ColumnSelect<Object[]> | ColumnSelect. columns(Property<?> firstProperty,
       Property<?>... otherProperties)Add properties to select. | 
| ColumnSelect<Object[]> | ColumnSelect. columns(Property<?> firstProperty,
       Property<?>... otherProperties)Add properties to select. | 
| ColumnSelect<Object[]> | ObjectSelect. columns(Property<?> firstProperty,
       Property<?>... properties)Select only specific properties. | 
| ColumnSelect<Object[]> | ObjectSelect. columns(Property<?> firstProperty,
       Property<?>... properties)Select only specific properties. | 
| ColumnSelect<Object[]> | ColumnSelect. count(Property<?> property)Select COUNT(property) | 
| ColumnSelect<Long> | ObjectSelect. count(Property<?> property)Select COUNT(property) | 
| ColumnSelect<Object[]> | ColumnSelect. max(Property<?> property)Select maximum value of property | 
| <E> ColumnSelect<E> | ObjectSelect. max(Property<E> property)Select maximum value of property | 
| ColumnSelect<Object[]> | ColumnSelect. min(Property<?> property)Select minimum value of property | 
| <E> ColumnSelect<E> | ObjectSelect. min(Property<E> property)Select minimum value of property | 
| void | SelectQuery. setColumns(Property<?>... columns) | 
| <E extends Number> | ColumnSelect. sum(Property<E> property)Select sum of values | 
| <E extends Number> | ObjectSelect. sum(Property<E> property)Select sum of values | 
| Modifier and Type | Method and Description | 
|---|---|
| ColumnSelect<Object[]> | ColumnSelect. columns(Collection<Property<?>> properties)Add properties to select. | 
| void | SelectQuery. setColumns(Collection<Property<?>> columns) | 
Copyright © 2001–2023 Apache Cayenne. All rights reserved.