Class HibernateJpqlFunctionAdapter

java.lang.Object
com.blazebit.persistence.integration.hibernate.base.function.HibernateJpqlFunctionAdapter
All Implemented Interfaces:
org.hibernate.dialect.function.SQLFunction

public class HibernateJpqlFunctionAdapter
extends Object
implements org.hibernate.dialect.function.SQLFunction
Since:
1.0.0
Author:
Christian Beikov
  • Constructor Details

  • Method Details

    • unwrap

      public JpqlFunction unwrap()
    • hasArguments

      public boolean hasArguments()
      Specified by:
      hasArguments in interface org.hibernate.dialect.function.SQLFunction
    • hasParenthesesIfNoArguments

      public boolean hasParenthesesIfNoArguments()
      Specified by:
      hasParenthesesIfNoArguments in interface org.hibernate.dialect.function.SQLFunction
    • getReturnType

      public org.hibernate.type.Type getReturnType​(org.hibernate.type.Type firstArgumentType, org.hibernate.engine.spi.Mapping mapping) throws org.hibernate.QueryException
      Specified by:
      getReturnType in interface org.hibernate.dialect.function.SQLFunction
      Throws:
      org.hibernate.QueryException
    • render

      public String render​(org.hibernate.type.Type firstArgumentType, List args, org.hibernate.engine.spi.SessionFactoryImplementor factory) throws org.hibernate.QueryException
      Specified by:
      render in interface org.hibernate.dialect.function.SQLFunction
      Throws:
      org.hibernate.QueryException