Type Parameters:
T - The return type of the expression result.
All Implemented Interfaces:
Aliasable, ColumnExpressionSpec, DelegateExpressionSpec, ExpressionSpec, TypeOverride<T>, TypeOverrideExpressionSpec<T>

public final class AvgSpec<T> extends AbstractTODelegateExpressionSpec<T>
AVG(): Returns the average value of a column.
  • Constructor Details

    • AvgSpec

      public AvgSpec(ColumnExpressionSpec target, Class<T> returnType)
      Creates a new AvgSpec instance.
      Parameters:
      target - The target nested expression
      returnType - The return type of the expression result.