|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface 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. The Dialect and its sub-classes use this interface to provide details required for processing of the function.
Method Summary | |
---|---|
Type |
getReturnType(Type columnType,
Mapping mapping)
Deprecated. See http://opensource.atlassian.com/projects/hibernate/browse/HHH-5212 |
boolean |
hasArguments()
Does this function have any arguments? |
boolean |
hasParenthesesIfNoArguments()
If there are no arguments, are parens required? |
String |
render(List args,
SessionFactoryImplementor factory)
Deprecated. See http://opensource.atlassian.com/projects/hibernate/browse/HHH-5212 |
Method Detail |
---|
boolean hasArguments()
boolean hasParenthesesIfNoArguments()
Type getReturnType(Type columnType, Mapping mapping) throws QueryException
columnType
- the type of the first argumentmapping
- The mapping source.
QueryException
- Indicates an issue resolving the return type.String render(List args, SessionFactoryImplementor factory) throws QueryException
args
- The function argumentsfactory
- The SessionFactory
QueryException
- Indicates a problem rendering the
function call.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |