| Package | Description | 
|---|---|
| org.hibernate.boot | This package contains the contracts that make up the Hibernate native
 bootstrapping API (building a SessionFactory). | 
| org.hibernate.boot.spi | |
| org.hibernate.cfg | 
        This package defines APIs for configuring Hibernate, and classes
        for building the Hibernate configuration-time metamodel. | 
| org.hibernate.criterion | 
        A framework for defining restriction criteria and order criteria. | 
| org.hibernate.dialect | 
        This package abstracts the SQL dialect of the underlying database. | 
| org.hibernate.dialect.function | 
        A framework for defining database-specific SQL functions
        that are available via the dialect. | 
| org.hibernate.spatial.dialect | 
    This package contains the Spatial Dialects supported by Hibnerate Spatial | 
| org.hibernate.spatial.dialect.hana | |
| org.hibernate.testing.boot | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,SQLFunction> | Metadata. getSqlFunctionMap() | 
| Modifier and Type | Method and Description | 
|---|---|
| MetadataBuilder | MetadataBuilder. applySqlFunction(String functionName,
                SQLFunction function) | 
| SessionFactoryBuilder | SessionFactoryBuilder. applySqlFunction(String registrationName,
                SQLFunction sqlFunction)Apply a SQLFunction to the underlying  SQLFunctionRegistry. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,SQLFunction> | SessionFactoryOptions. getCustomSqlFunctionMap() | 
| Map<String,SQLFunction> | AbstractDelegatingSessionFactoryOptions. getCustomSqlFunctionMap() | 
| Map<String,SQLFunction> | AbstractDelegatingMetadata. getSqlFunctionMap() | 
| Map<String,SQLFunction> | BootstrapContext. getSqlFunctions()Access to any SQL functions explicitly registered with the MetadataBuilder. | 
| Map<String,SQLFunction> | MetadataBuildingOptions. getSqlFunctions()Deprecated. 
 Use  BootstrapContext.getSqlFunctions()instead. | 
| Map<String,SQLFunction> | AbstractDelegatingMetadataBuildingOptions. getSqlFunctions() | 
| Modifier and Type | Method and Description | 
|---|---|
| T | AbstractDelegatingSessionFactoryBuilder. applySqlFunction(String registrationName,
                SQLFunction sqlFunction) | 
| MetadataBuilder | AbstractDelegatingMetadataBuilderImplementor. applySqlFunction(String functionName,
                SQLFunction function) | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,SQLFunction> | Configuration. getSqlFunctions() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Configuration. addSqlFunction(String functionName,
              SQLFunction function) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected SQLFunction | AggregateProjection. getFunction(CriteriaQuery criteriaQuery) | 
| protected SQLFunction | RowCountProjection. getFunction(CriteriaQuery criteriaQuery) | 
| protected SQLFunction | AggregateProjection. getFunction(String functionName,
           CriteriaQuery criteriaQuery) | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,SQLFunction> | Dialect. getFunctions()Retrieves a map of the dialect's registered functions
 (functionName =>  SQLFunction). | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | Dialect. registerFunction(String name,
                SQLFunction function) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractAnsiTrimEmulationFunctionA  SQLFunctionproviding support for implementing TRIM functionality
 (as defined by both the ANSI SQL and JPA specs) in cases where the dialect may not support the full trim
 function itself. | 
| class  | AnsiTrimEmulationFunctionA  SQLFunctionimplementation that emulates the ANSI SQL trim function
 on dialects which do not support the full definition. | 
| class  | AnsiTrimFunctionDefines support for rendering according to ANSI SQL TRIM function specification. | 
| class  | AvgWithArgumentCastFunctionSome databases strictly return the type of the aggregation value for AVG which is
 problematic in the case of averaging integers because the decimals will be dropped. | 
| class  | CastFunctionANSI-SQL style  cast(foo as type)where the type is a Hibernate type | 
| class  | CharIndexFunctionEmulation of locate() on Sybase | 
| class  | ConditionalParenthesisFunctionEssentially the same as  StandardSQLFunction,
 except that here the parentheses are not included when no arguments are given. | 
| class  | ConvertFunctionA Caché definition of a convert function. | 
| class  | DB2SubstringFunctionWhen "substring" function is used for DB2, this implementation of  StandardSQLFunctionwill render "substr" or "substring", depending on the last argument being used. | 
| class  | DerbyConcatFunctionA specialized concat() function definition in which:
     we translate to use the concat operator ('||')
     wrap dynamic parameters in CASTs to VARCHAR
 
 
 This last spec is to deal with a limitation on DB2 and variants (e.g. | 
| class  | NoArgSQLFunctionA function which takes no arguments | 
| class  | NvlFunctionEmulation of coalesce() on Oracle, using multiple nvl() calls | 
| class  | PositionSubstringFunctionEmulation of locate() on PostgreSQL | 
| class  | SQLFunctionTemplateRepresents HQL functions that can have different representations in different SQL dialects where that
 difference can be handled via a template/pattern. | 
| static class  | StandardAnsiSqlAggregationFunctions.AvgFunctionDefinition of a standard ANSI SQL compliant AVG function | 
| static class  | StandardAnsiSqlAggregationFunctions.CountFunctionDefinition of a standard ANSI SQL compliant COUNT function | 
| static class  | StandardAnsiSqlAggregationFunctions.MaxFunctionDefinition of a standard ANSI SQL compliant MAX function | 
| static class  | StandardAnsiSqlAggregationFunctions.MinFunctionDefinition of a standard ANSI SQL compliant MIN function | 
| static class  | StandardAnsiSqlAggregationFunctions.SumFunctionDefinition of a standard ANSI SQL compliant SUM function | 
| class  | StandardJDBCEscapeFunctionAnalogous to  StandardSQLFunctionexcept that standard JDBC escape sequences (i.e. | 
| class  | StandardSQLFunctionProvides a standard implementation that supports the majority of the HQL
 functions that are translated to SQL. | 
| class  | StaticPrecisionFspTimestampFunctionA function that returns a  StandardBasicTypes.TIMESTAMPwith static fractional seconds precision (fsp). | 
| class  | TrimFunctionTemplateDefines the basic template support for TRIM functions | 
| class  | VarArgsSQLFunctionSupport for slightly more general templating than  StandardSQLFunction, with an unlimited number of arguments. | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLFunction | SQLFunctionRegistry. findSQLFunction(String functionName)Find a SQLFunction by name | 
| protected abstract SQLFunction | AbstractAnsiTrimEmulationFunction. resolveBothSpaceTrimFromFunction()Resolve the function definition which should be used to trim both leading and trailing spaces. | 
| protected SQLFunction | AnsiTrimEmulationFunction. resolveBothSpaceTrimFromFunction()Resolve the function definition which should be used to trim both leading and trailing spaces. | 
| protected abstract SQLFunction | AbstractAnsiTrimEmulationFunction. resolveBothSpaceTrimFunction()Resolve the function definition which should be used to trim both leading and trailing spaces. | 
| protected SQLFunction | AnsiTrimEmulationFunction. resolveBothSpaceTrimFunction()Resolve the function definition which should be used to trim both leading and trailing spaces. | 
| protected abstract SQLFunction | AbstractAnsiTrimEmulationFunction. resolveBothTrimFunction()Resolve the function definition which should be used to trim the specified character from both the
 beginning (leading) and end (trailing) of the trim source. | 
| protected SQLFunction | AnsiTrimEmulationFunction. resolveBothTrimFunction()Resolve the function definition which should be used to trim the specified character from both the
 beginning (leading) and end (trailing) of the trim source. | 
| protected abstract SQLFunction | AbstractAnsiTrimEmulationFunction. resolveLeadingSpaceTrimFunction()Resolve the function definition which should be used to trim leading spaces. | 
| protected SQLFunction | AnsiTrimEmulationFunction. resolveLeadingSpaceTrimFunction()Resolve the function definition which should be used to trim leading spaces. | 
| protected abstract SQLFunction | AbstractAnsiTrimEmulationFunction. resolveLeadingTrimFunction()Resolve the function definition which should be used to trim the specified character from the
 beginning (leading) of the trim source. | 
| protected SQLFunction | AnsiTrimEmulationFunction. resolveLeadingTrimFunction()Resolve the function definition which should be used to trim the specified character from the
 beginning (leading) of the trim source. | 
| protected abstract SQLFunction | AbstractAnsiTrimEmulationFunction. resolveTrailingSpaceTrimFunction()Resolve the function definition which should be used to trim trailing spaces. | 
| protected SQLFunction | AnsiTrimEmulationFunction. resolveTrailingSpaceTrimFunction()Resolve the function definition which should be used to trim trailing spaces. | 
| protected abstract SQLFunction | AbstractAnsiTrimEmulationFunction. resolveTrailingTrimFunction()Resolve the function definition which should be used to trim the specified character from the
 end (trailing) of the trim source. | 
| protected SQLFunction | AnsiTrimEmulationFunction. resolveTrailingTrimFunction()Resolve the function definition which should be used to trim the specified character from the
 end (trailing) of the trim source. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | StandardAnsiSqlAggregationFunctions. primeFunctionMap(Map<String,SQLFunction> functionMap)Push the functions defined on StandardAnsiSqlAggregationFunctions into the given map | 
| Constructor and Description | 
|---|
| SQLFunctionRegistry(Dialect dialect,
                   Map<String,SQLFunction> userFunctionMap)Constructs a SQLFunctionRegistry | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,SQLFunction> | SpatialFunctionsRegistry. functionMap | 
| Modifier and Type | Method and Description | 
|---|---|
| SQLFunction | SpatialFunctionsRegistry. get(String functionName) | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterator<Map.Entry<String,SQLFunction>> | SpatialFunctionsRegistry. iterator() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SpatialFunctionsRegistry. put(String name,
   SQLFunction function) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HANASpatialAggregate | 
| class  | HANASpatialFunction | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,SQLFunction> | BootstrapContextImpl. getSqlFunctions() | 
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.