Class EntityFunction

  • All Implemented Interfaces:
    com.blazebit.persistence.spi.JpqlFunction

    public class EntityFunction
    extends Object
    implements com.blazebit.persistence.spi.JpqlFunction
    Since:
    1.3.0
    Author:
    Christian Beikov
    • Constructor Detail

      • EntityFunction

        public EntityFunction()
    • Method Detail

      • hasArguments

        public boolean hasArguments()
        Specified by:
        hasArguments in interface com.blazebit.persistence.spi.JpqlFunction
      • hasParenthesesIfNoArguments

        public boolean hasParenthesesIfNoArguments()
        Specified by:
        hasParenthesesIfNoArguments in interface com.blazebit.persistence.spi.JpqlFunction
      • getReturnType

        public Class<?> getReturnType​(Class<?> firstArgumentType)
        Specified by:
        getReturnType in interface com.blazebit.persistence.spi.JpqlFunction
      • render

        public void render​(com.blazebit.persistence.spi.FunctionRenderContext functionRenderContext)
        Specified by:
        render in interface com.blazebit.persistence.spi.JpqlFunction
      • appendSubqueryPart

        public static void appendSubqueryPart​(StringBuilder sb,
                                              String sqlQuery)
      • removeSyntheticPredicate

        public static void removeSyntheticPredicate​(StringBuilder sb,
                                                    String sqlQuery,
                                                    int end)