public static class StandardAnsiSqlAggregationFunctions.CountFunction extends StandardSQLFunction
Definition of a standard ANSI SQL compliant <tt>COUNT</tt> function
| Modifier and Type | Field and Description |
|---|---|
static StandardAnsiSqlAggregationFunctions.CountFunction |
INSTANCE
Singleton access
|
| Modifier | Constructor and Description |
|---|---|
protected |
CountFunction() |
| Modifier and Type | Method and Description |
|---|---|
String |
render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
getName, getRenderedName, getReturnType, getType, hasArguments, hasParenthesesIfNoArguments, toStringpublic static final StandardAnsiSqlAggregationFunctions.CountFunction INSTANCE
Singleton access
public String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)
SQLFunctionRender the function call as SQL fragment.
<p/>
Note, the 'firstArgumentType' parameter should match the one passed into SQLFunction.getReturnType(org.hibernate.type.Type, org.hibernate.engine.spi.Mapping)
render in interface SQLFunctionrender in class StandardSQLFunctionfirstArgumentType - The type of the first argumentarguments - The function argumentsfactory - The SessionFactoryCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.