程序包 org.hibernate.dialect.function
A framework for defining database-specific SQL functions that are available via the dialect.
-
接口概要 接口 说明 SQLFunction Provides support routines for the HQL functions as used in the various SQL Dialects Provides an interface for supporting various HQL functions that are translated to SQL. -
类概要 类 说明 AbstractAnsiTrimEmulationFunction ASQLFunctionproviding 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.AnsiTrimEmulationFunction ASQLFunctionimplementation that emulates the ANSI SQL trim function on dialects which do not support the full definition.AnsiTrimFunction Defines support for rendering according to ANSI SQL TRIM function specification.AvgWithArgumentCastFunction Some 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.CastFunction ANSI-SQL stylecast(foo as type)where the type is a Hibernate typeCharIndexFunction Emulation of locate() on SybaseConditionalParenthesisFunction Essentially the same asStandardSQLFunction, except that here the parentheses are not included when no arguments are given.ConvertFunction A Caché definition of a convert function.DB2SubstringFunction When "substring" function is used for DB2, this implementation ofStandardSQLFunctionwill render "substr" or "substring", depending on the last argument being used.DerbyConcatFunction A specialized concat() function definition in which: we translate to use the concat operator ('||') wrap dynamic parameters in CASTs to VARCHARNoArgSQLFunction A function which takes no argumentsNvlFunction Emulation of coalesce() on Oracle, using multiple nvl() callsPositionSubstringFunction Emulation of locate() on PostgreSQLSQLFunctionRegistry Defines a registry for SQLFunction instancesSQLFunctionTemplate Represents HQL functions that can have different representations in different SQL dialects where that difference can be handled via a template/pattern.StandardAnsiSqlAggregationFunctions Centralized definition of standard ANSI SQL aggregation functionsStandardAnsiSqlAggregationFunctions.AvgFunction Definition of a standard ANSI SQL compliant AVG functionStandardAnsiSqlAggregationFunctions.CountFunction Definition of a standard ANSI SQL compliant COUNT functionStandardAnsiSqlAggregationFunctions.MaxFunction Definition of a standard ANSI SQL compliant MAX functionStandardAnsiSqlAggregationFunctions.MinFunction Definition of a standard ANSI SQL compliant MIN functionStandardAnsiSqlAggregationFunctions.SumFunction Definition of a standard ANSI SQL compliant SUM functionStandardJDBCEscapeFunction Analogous toStandardSQLFunctionexcept that standard JDBC escape sequences (i.e.StandardSQLFunction Provides a standard implementation that supports the majority of the HQL functions that are translated to SQL.StaticPrecisionFspTimestampFunction A function that returns aStandardBasicTypes.TIMESTAMPwith static fractional seconds precision (fsp).TemplateRenderer Delegate for handling function "templates".TrimFunctionTemplate Defines the basic template support for TRIM functionsTrimFunctionTemplate.Options TrimFunctionTemplate.Specification VarArgsSQLFunction Support for slightly more general templating thanStandardSQLFunction, with an unlimited number of arguments.