Klasse Avg

Alle implementierten Schnittstellen:
Column, SQLFunction

public class Avg extends AggregateFunction
SQL99 Standard Average function.
Version:
$Id: Avg.java 1848281 2018-12-06 10:48:36Z tv $
  • Konstruktordetails

    • Avg

      public Avg(Column column)
      Construct an AVG function class with the column to average over.
      Parameter:
      column - the Column to average over.
    • Avg

      public Avg(String sqlExpression)
      Construct an AVG function class with an SQL expression to average over.
      Parameter:
      sqlExpression - the SQL expression to average over.
    • Avg

      public Avg(Column column, boolean distinct)
      Construct an AVG function class with the column to average over and possibly a distinct modifier.
      Parameter:
      column - the Column to average over.
      distinct - whether to average only over distinct values.
  • Methodendetails