Package org.hibernate.dialect.function
Class StandardAnsiSqlAggregationFunctions.CountFunction
java.lang.Object
org.hibernate.dialect.function.StandardSQLFunction
org.hibernate.dialect.function.StandardAnsiSqlAggregationFunctions.CountFunction
- All Implemented Interfaces:
SQLFunction
- Enclosing class:
StandardAnsiSqlAggregationFunctions
Definition of a standard ANSI SQL compliant COUNT function
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrender(Type firstArgumentType, List arguments, SessionFactoryImplementor factory) Render the function call as SQL fragment.Methods inherited from class org.hibernate.dialect.function.StandardSQLFunction
getName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CountFunction
public CountFunction()
-
-
Method Details
-
render
Description copied from class:StandardSQLFunctionRender the function call as SQL fragment. Note, the 'firstArgumentType' parameter should match the one passed intoSQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.Mapping)- Specified by:
renderin interfaceSQLFunction- Overrides:
renderin classStandardSQLFunction- Parameters:
firstArgumentType- The type of the first argumentarguments- The function argumentsfactory- The SessionFactory- Returns:
- The rendered function call
-