public static class

StandardAnsiSqlAggregationFunctions.CountFunction

extends StandardSQLFunction
java.lang.Object
   ↳ org.hibernate.dialect.function.StandardSQLFunction
     ↳ org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions.CountFunction

Class Overview

Definition of a standard ANSI SQL compliant COUNT function

Summary

Fields
public static final StandardAnsiSqlAggregationFunctions.CountFunction INSTANCE
Public Constructors
StandardAnsiSqlAggregationFunctions.CountFunction()
Public Methods
String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)
Render the function call as SQL fragment.
[Expand]
Inherited Methods
From class org.hibernate.dialect.function.StandardSQLFunction
From class java.lang.Object
From interface org.hibernate.dialect.function.SQLFunction

Fields

Public Constructors

public StandardAnsiSqlAggregationFunctions.CountFunction ()

Public Methods

public String render (Type firstArgumentType, List arguments, SessionFactoryImplementor factory)

Render the function call as SQL fragment.

Note, the 'firstArgumentType' parameter should match the one passed into getReturnType(Type, Mapping)

Parameters
firstArgumentType The type of the first argument
arguments The function arguments
factory The SessionFactory
Returns
  • The rendered function call