Uses of Interface
org.hibernate.dialect.function.SQLFunction

Packages that use SQLFunction
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.hql.ast.tree   
org.hibernate.hql.ast.util   
 

Uses of SQLFunction in org.hibernate.cfg
 

Methods in org.hibernate.cfg with parameters of type SQLFunction
 void Configuration.addSqlFunction(String functionName, SQLFunction function)
           
 

Uses of SQLFunction in org.hibernate.criterion
 

Methods in org.hibernate.criterion that return SQLFunction
protected  SQLFunction RowCountProjection.getFunction(CriteriaQuery criteriaQuery)
           
protected  SQLFunction AggregateProjection.getFunction(CriteriaQuery criteriaQuery)
           
protected  SQLFunction AggregateProjection.getFunction(String functionName, CriteriaQuery criteriaQuery)
           
 

Uses of SQLFunction in org.hibernate.dialect
 

Methods in org.hibernate.dialect with parameters of type SQLFunction
protected  void Dialect.registerFunction(String name, SQLFunction function)
           
 

Uses of SQLFunction in org.hibernate.dialect.function
 

Classes in org.hibernate.dialect.function that implement SQLFunction
 class AbstractAnsiTrimEmulationFunction
          A SQLFunction providing 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 AnsiTrimEmulationFunction
          A SQLFunction implementation that emulates the ANSI SQL trim function on dialects which do not support the full definition.
 class AnsiTrimFunction
          Defines support for rendering according to ANSI SQL TRIM function specification.
 class AvgFunction
          The basic JPA spec compliant definition poAVG aggregation function.
 class AvgWithArgumentCastFunction
          Some databases strictly return the type of the of the aggregation value for AVG which is problematic in the case of averaging integers because the decimals will be dropped.
 class CastFunction
          ANSI-SQL style cast(foo as type) where the type is a Hibernate type
 class CharIndexFunction
          Emulation of locate() on Sybase
 class ClassicAvgFunction
          Classic AVG sqlfunction that return types as it was done in Hibernate 3.1
 class ClassicCountFunction
          Classic COUNT sqlfunction that return types as it was done in Hibernate 3.1
 class ClassicSumFunction
          Classic SUM sqlfunction that return types as it was done in Hibernate 3.1
 class ConditionalParenthesisFunction
          Essentially the same as StandardSQLFunction, except that here the parentheses are not included when no arguments are given.
 class ConvertFunction
          A Caché defintion of a convert function.
 class DerbyConcatFunction
          A 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 NoArgSQLFunction
          A function which takes no arguments
 class NvlFunction
          Emulation of coalesce() on Oracle, using multiple nvl() calls
 class PositionSubstringFunction
          Emulation of locate() on PostgreSQL
 class SQLFunctionTemplate
          Represents HQL functions that can have different representations in different SQL dialects.
 class StandardJDBCEscapeFunction
          Analogous to StandardSQLFunction except that standard JDBC escape sequences (i.e.
 class StandardSQLFunction
          Provides a standard implementation that supports the majority of the HQL functions that are translated to SQL.
 class TrimFunctionTemplate
          Defines the basic template support for TRIM functions
 class VarArgsSQLFunction
          Support for slightly more general templating than StandardSQLFunction, with an unlimited number of arguments.
 

Methods in org.hibernate.dialect.function that return SQLFunction
 SQLFunction SQLFunctionRegistry.findSQLFunction(String functionName)
           
protected  SQLFunction AnsiTrimEmulationFunction.resolveBothSpaceTrimFromFunction()
          Resolve the function definition which should be used to trim both leading and trailing spaces.
protected abstract  SQLFunction AbstractAnsiTrimEmulationFunction.resolveBothSpaceTrimFromFunction()
          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.resolveBothSpaceTrimFunction()
          Resolve the function definition which should be used to trim both leading and trailing spaces.
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.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.resolveLeadingSpaceTrimFunction()
          Resolve the function definition which should be used to trim leading spaces.
protected abstract  SQLFunction AbstractAnsiTrimEmulationFunction.resolveLeadingSpaceTrimFunction()
          Resolve the function definition which should be used to trim leading spaces.
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.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.resolveTrailingSpaceTrimFunction()
          Resolve the function definition which should be used to trim trailing spaces.
protected abstract  SQLFunction AbstractAnsiTrimEmulationFunction.resolveTrailingSpaceTrimFunction()
          Resolve the function definition which should be used to trim trailing spaces.
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.
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.
 

Uses of SQLFunction in org.hibernate.hql.ast.tree
 

Methods in org.hibernate.hql.ast.tree that return SQLFunction
 SQLFunction MethodNode.getSQLFunction()
           
 SQLFunction FunctionNode.getSQLFunction()
           
 SQLFunction AggregateNode.getSQLFunction()
           
 

Uses of SQLFunction in org.hibernate.hql.ast.util
 

Methods in org.hibernate.hql.ast.util that return SQLFunction
 SQLFunction SessionFactoryHelper.findSQLFunction(String functionName)
          Locate a registered sql function by name.
 

Methods in org.hibernate.hql.ast.util with parameters of type SQLFunction
 Type SessionFactoryHelper.findFunctionReturnType(String functionName, SQLFunction sqlFunction, antlr.collections.AST firstArgument)
           
 



Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.