org.hibernate.dialect.function.SQLFunction
public class HibernateJpqlFunctionAdapter
extends java.lang.Object
implements org.hibernate.dialect.function.SQLFunction
Constructor | Description |
---|---|
HibernateJpqlFunctionAdapter(com.blazebit.persistence.spi.JpqlFunction function) |
Modifier and Type | Method | Description |
---|---|---|
org.hibernate.type.Type |
getReturnType(org.hibernate.type.Type firstArgumentType,
org.hibernate.engine.spi.Mapping mapping) |
|
boolean |
hasArguments() |
|
boolean |
hasParenthesesIfNoArguments() |
|
java.lang.String |
render(org.hibernate.type.Type firstArgumentType,
java.util.List args,
org.hibernate.engine.spi.SessionFactoryImplementor factory) |
|
com.blazebit.persistence.spi.JpqlFunction |
unwrap() |
public HibernateJpqlFunctionAdapter(com.blazebit.persistence.spi.JpqlFunction function)
public com.blazebit.persistence.spi.JpqlFunction unwrap()
public boolean hasArguments()
hasArguments
in interface org.hibernate.dialect.function.SQLFunction
public boolean hasParenthesesIfNoArguments()
hasParenthesesIfNoArguments
in interface org.hibernate.dialect.function.SQLFunction
public org.hibernate.type.Type getReturnType(org.hibernate.type.Type firstArgumentType, org.hibernate.engine.spi.Mapping mapping) throws org.hibernate.QueryException
getReturnType
in interface org.hibernate.dialect.function.SQLFunction
org.hibernate.QueryException
public java.lang.String render(org.hibernate.type.Type firstArgumentType, java.util.List args, org.hibernate.engine.spi.SessionFactoryImplementor factory) throws org.hibernate.QueryException
render
in interface org.hibernate.dialect.function.SQLFunction
org.hibernate.QueryException
Copyright © 2014–2019 Blazebit. All rights reserved.