Top Description Methods
org.jooq

public Interface AggregateFunction<T>

extends AggregateFilterStep<T>
Known Direct Subinterfaces
org.jooq.GroupConcatSeparatorStep, org.jooq.impl.QOM.RatioToReport, org.jooq.impl.QOM.Mode, org.jooq.impl.QOM.MultisetAgg, org.jooq.impl.QOM.ArrayAgg, org.jooq.impl.QOM.XMLAgg, org.jooq.impl.QOM.JSONArrayAgg, org.jooq.impl.QOM.JSONObjectAgg, org.jooq.impl.QOM.CountTable, org.jooq.impl.QOM.AnyValue, org.jooq.impl.QOM.Avg, org.jooq.impl.QOM.BitAndAgg, org.jooq.impl.QOM.BitOrAgg, org.jooq.impl.QOM.BitXorAgg, org.jooq.impl.QOM.BitNandAgg, org.jooq.impl.QOM.BitNorAgg, org.jooq.impl.QOM.BitXNorAgg, org.jooq.impl.QOM.BoolAnd, org.jooq.impl.QOM.BoolOr, org.jooq.impl.QOM.Corr, org.jooq.impl.QOM.Count, org.jooq.impl.QOM.CovarSamp, org.jooq.impl.QOM.CovarPop, org.jooq.impl.QOM.Max, org.jooq.impl.QOM.Median, org.jooq.impl.QOM.Min, org.jooq.impl.QOM.Product, org.jooq.impl.QOM.RegrAvgX, org.jooq.impl.QOM.RegrAvgY, org.jooq.impl.QOM.RegrCount, org.jooq.impl.QOM.RegrIntercept, org.jooq.impl.QOM.RegrR2, org.jooq.impl.QOM.RegrSlope, org.jooq.impl.QOM.RegrSxx, org.jooq.impl.QOM.RegrSxy, org.jooq.impl.QOM.RegrSyy, org.jooq.impl.QOM.StddevPop, org.jooq.impl.QOM.StddevSamp, org.jooq.impl.QOM.Sum, org.jooq.impl.QOM.VarPop, org.jooq.impl.QOM.VarSamp
Known Direct Implementers
org.jooq.impl.AbstractAggregateFunction
Imports
java.util.Collection, org.jooq.impl.DSL, .QOM, org.jetbrains.annotations.ApiStatus.Experimental, .NotNull, .Nullable

Deprecated

as a consequence of AggregateFilterStep being deprecated. See corresponding docs for further information.

An aggregate function.

An aggregate function is a special field that is usually used in a GROUP BY context. It is also the base for window function construction.

Example:


// Assuming import static org.jooq.impl.DSL.*;

using(configuration)
   .select(ACTOR.LAST_NAME, count())
   .from(ACTOR)
   .groupBy(ACTOR.LAST_NAME)
   .orderBy(count().desc())
   .fetch();

Instances can be created using various DSL methods and their overloads, such as DSL#count() or DSL#countDistinct(Field).

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @Nullable Condition
$filterWhere()

Deprecated as a consequence of Condition being deprecated.
Experimental query object model accessor method, see also QOM.
Inherited from org.jooq.AggregateFilterStep:
filterWherefilterWherefilterWherefilterWherefilterWherefilterWherefilterWherefilterWhere

Method Detail

$filterWhereback to summary
public @Nullable Condition $filterWhere()

Deprecated

as a consequence of Condition being deprecated. See corresponding docs for further information.

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Experimental
@Nullable