Class PagePositionFunction
java.lang.Object
com.blazebit.persistence.impl.function.pageposition.PagePositionFunction
- All Implemented Interfaces:
JpqlFunction
- Direct Known Subclasses:
MySQLPagePositionFunction,OraclePagePositionFunction,TransactSQLPagePositionFunction
public class PagePositionFunction extends Object implements JpqlFunction
- Since:
- 1.0.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static StringFUNCTION_NAMEprotected TemplateRendererrenderer -
Constructor Summary
Constructors Constructor Description PagePositionFunction()PagePositionFunction(String template) -
Method Summary
Modifier and Type Method Description Class<?>getReturnType(Class<?> firstArgumentType)protected StringgetRownumFunction()booleanhasArguments()booleanhasParenthesesIfNoArguments()voidrender(FunctionRenderContext context)protected voidrenderPagePosition(FunctionRenderContext functionRenderContext, String idName)
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
renderer
-
-
Constructor Details
-
PagePositionFunction
public PagePositionFunction() -
PagePositionFunction
-
-
Method Details
-
getRownumFunction
-
hasArguments
public boolean hasArguments()- Specified by:
hasArgumentsin interfaceJpqlFunction
-
hasParenthesesIfNoArguments
public boolean hasParenthesesIfNoArguments()- Specified by:
hasParenthesesIfNoArgumentsin interfaceJpqlFunction
-
getReturnType
- Specified by:
getReturnTypein interfaceJpqlFunction
-
render
- Specified by:
renderin interfaceJpqlFunction
-
renderPagePosition
-