Uses of Class
org.apache.cayenne.query.ColumnSelect
Packages that use ColumnSelect
Package
Description
Cayenne data expression classes.
Property API
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of ColumnSelect in org.apache.cayenne.exp
Methods in org.apache.cayenne.exp with parameters of type ColumnSelectModifier and TypeMethodDescriptionstatic ExpressionExpressionFactory.all(ColumnSelect<?> subquery) static ExpressionExpressionFactory.any(ColumnSelect<?> subquery) static ExpressionExpressionFactory.inExp(Expression exp, ColumnSelect<?> subQuery) static ExpressionExpressionFactory.notInExp(Expression exp, ColumnSelect<?> subQuery) -
Uses of ColumnSelect in org.apache.cayenne.exp.property
Methods in org.apache.cayenne.exp.property that return ColumnSelectModifier and TypeMethodDescriptionSelfProperty.columnQuery(Property<?>... properties) <T> ColumnSelect<T>SelfProperty.columnQuery(Property<T> property) Methods in org.apache.cayenne.exp.property with parameters of type ColumnSelectModifier and TypeMethodDescriptiondefault ExpressionComparableProperty.gtAll(ColumnSelect<E> subquery) default ExpressionComparableProperty.gtAny(ColumnSelect<E> subquery) default ExpressionComparableProperty.gteAll(ColumnSelect<E> subquery) default ExpressionComparableProperty.gteAny(ColumnSelect<E> subquery) BaseProperty.in(ColumnSelect<? extends E> subquery) default ExpressionComparableProperty.ltAll(ColumnSelect<E> subquery) default ExpressionComparableProperty.ltAny(ColumnSelect<E> subquery) default ExpressionComparableProperty.lteAll(ColumnSelect<E> subquery) default ExpressionComparableProperty.lteAny(ColumnSelect<E> subquery) BaseProperty.nin(ColumnSelect<? extends E> subquery) -
Uses of ColumnSelect in org.apache.cayenne.query
Methods in org.apache.cayenne.query that return ColumnSelectModifier and TypeMethodDescription<E> ColumnSelect<Object[]>ColumnSelect.aggregate(BaseProperty<E> property, String function, Class<E> type) Select result of some function, that aggregates values.<E> ColumnSelect<E>ObjectSelect.aggregate(BaseProperty<E> property, String function, Class<E> type) Select result of some function, that aggregates values.ColumnSelect.avg(NumericProperty<?> property) Select average value of property<E extends Number>
ColumnSelect<E>ObjectSelect.avg(NumericProperty<E> property) Select average value of propertyprotected <E> ColumnSelect<E><E> ColumnSelect<E>Select one specific property.static ColumnSelect<Object[]>ObjectSelect.columnQuery(Class<?> entityType, Property<?>... columns) Creates a ColumnSelect that will fetch multiple columns of a givenObjEntitystatic <E> ColumnSelect<E>ObjectSelect.columnQuery(Class<?> entityType, Property<E> column) Creates a ColumnSelect that will fetch single property that can be resolved against a givenObjEntityclass.ColumnSelect.columns(Collection<Property<?>> properties) Add properties to select.Add properties to select.Select only specific properties.ColumnSelect.count()Shortcut forcolumns(Property[])columns}(Property.COUNT)ColumnSelect.count(BaseProperty<?> property) Select COUNT(property)ObjectSelect.count()Select COUNT(*)ObjectSelect.count(BaseProperty<?> property) Select COUNT(property)ColumnSelect.distinct()Explicitly request distinct in query.Appends a having qualifier expression of this query, using provided expression String and an array of position parameters.ColumnSelect.having(Expression expression) Appends a having qualifier expression of this query.<E> ColumnSelect<E>Maps result of this query by processing with a given function.ColumnSelect.max(ComparableProperty<?> property) Select maximum value of property<E> ColumnSelect<E>ObjectSelect.max(ComparableProperty<E> property) Select maximum value of property<E extends Number>
ColumnSelect<E>ObjectSelect.max(NumericProperty<E> property) Select maximum value of propertyColumnSelect.min(ComparableProperty<?> property) Select minimum value of property<E> ColumnSelect<E>ObjectSelect.min(ComparableProperty<E> property) Select minimum 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 valuesColumnSelect.suppressDistinct()Explicitly suppress distinct in query.