| Modifier and Type | Class and Description |
|---|---|
| public static class | StandardAnsiSqlAggregationFunctions.AvgFunction
Definition of a standard ANSI SQL compliant AVG function |
| public static class | StandardAnsiSqlAggregationFunctions.CountFunction
Definition of a standard ANSI SQL compliant COUNT function |
| public static class | |
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void |
| StandardAnsiSqlAggregationFunctions | back to summary |
|---|---|
| public StandardAnsiSqlAggregationFunctions() | |
| primeFunctionMap | back to summary |
|---|---|
| public static void primeFunctionMap(Map<String, SQLFunction> functionMap) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final int | |
| public String | render(Type
The type of the first argument firstArgumentType, List<E> The function arguments arguments, SessionFactoryImplementor The SessionFactory factory)Overrides org. Implements org. |
| protected String | |
| protected String |
| INSTANCE | back to summary |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. | |
| AvgFunction | back to summary |
|---|---|
| public AvgFunction() | |
| determineJdbcTypeCode | back to summary |
|---|---|
| protected final int determineJdbcTypeCode(Type firstArgumentType, SessionFactoryImplementor factory) throws QueryException | |
| render | back to summary |
|---|---|
| protected String render(int firstArgumentJdbcType, String argument, SessionFactoryImplementor factory) | |
| renderArgument | back to summary |
|---|---|
| protected String renderArgument(String argument, int firstArgumentJdbcType) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | render(Type
The type of the first argument firstArgumentType, List<E> The function arguments arguments, SessionFactoryImplementor The SessionFactory factory)Overrides org. Implements org. |
| private String |
| INSTANCE | back to summary |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. | |
| CountFunction | back to summary |
|---|---|
| public CountFunction() | |
| render | back to summary |
|---|---|
| public String render(Type firstArgumentType, List<E> arguments, SessionFactoryImplementor factory) Overrides org. Implements org. Doc from org. Render the function call as SQL fragment.
Note, the 'firstArgumentType' parameter should match the one passed into
| |
| renderCountDistinct | back to summary |
|---|---|
| private String renderCountDistinct(List<E> arguments) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. |
| Access | Constructor and Description |
|---|---|
| public |
| INSTANCE | back to summary |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. | |
| MaxFunction | back to summary |
|---|---|
| public MaxFunction() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. |
| Access | Constructor and Description |
|---|---|
| public |
| INSTANCE | back to summary |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. | |
| MinFunction | back to summary |
|---|---|
| public MinFunction() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final int | |
| public Type | getReturnType(Type
The type of the first argument firstArgumentType, Mapping The mapping source. mapping)Overrides org. Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final StandardAnsiSqlAggregationFunctions. | |
| SumFunction | back to summary |
|---|---|
| public SumFunction() | |
| determineJdbcTypeCode | back to summary |
|---|---|
| protected final int determineJdbcTypeCode(Type type, Mapping mapping) throws QueryException | |
| getReturnType | back to summary |
|---|---|
| public Type getReturnType(Type firstArgumentType, Mapping mapping) Overrides org. Implements org. Doc from org. The return type of the function. May be either a concrete type which is preset, or variable depending upon the type of the first function argument.
Note, the 'firstArgumentType' parameter should match the one passed into
| |