Class PagePositionFunction

    • Field Detail

      • renderer

        protected final com.blazebit.persistence.spi.TemplateRenderer renderer
    • Constructor Detail

      • PagePositionFunction

        public PagePositionFunction()
      • PagePositionFunction

        public PagePositionFunction​(String template)
    • Method Detail

      • getRownumFunction

        protected String getRownumFunction()
      • 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 context)
        Specified by:
        render in interface com.blazebit.persistence.spi.JpqlFunction
      • renderPagePosition

        protected void renderPagePosition​(com.blazebit.persistence.spi.FunctionRenderContext functionRenderContext,
                                          String idName)