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
public static class StandardAnsiSqlAggregationFunctions.CountFunction
- extends StandardSQLFunction
Definition of a standard ANSI SQL compliant COUNT function
INSTANCE
public static final StandardAnsiSqlAggregationFunctions.CountFunction INSTANCE
StandardAnsiSqlAggregationFunctions.CountFunction
public StandardAnsiSqlAggregationFunctions.CountFunction()
render
public String render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory)
- Description copied from class:
StandardSQLFunction
- Render the function call as SQL fragment.
Note, the 'firstArgumentType' parameter should match the one passed into
SQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping)
- Specified by:
render
in interface SQLFunction
- Overrides:
render
in class StandardSQLFunction
- Parameters:
firstArgumentType
- The type of the first argumentarguments
- The function argumentsfactory
- The SessionFactory
- Returns:
- The rendered function call
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.