Class RowNumberFunction
java.lang.Object
com.blazebit.persistence.impl.function.window.AbstractWindowFunction
com.blazebit.persistence.impl.function.window.row.RowNumberFunction
- All Implemented Interfaces:
JpqlFunction
Number of the current row within its partition, counting from 1.
Syntax: row_number()
- Since:
- 1.4.0
- Author:
- Jan-Willem Gmelig Meyling, Sayra Ranjha
-
Nested Class Summary
Nested classes/interfaces inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
AbstractWindowFunction.WindowFunction
-
Field Summary
Fields inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
allowsFilterClause, functionName, nullIsSmallest, supportsFilterClause, supportsNullPrecedence
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getReturnType
(Class<?> firstArgumentType) protected void
renderArguments
(FunctionRenderContext context, AbstractWindowFunction.WindowFunction windowFunction) protected boolean
Methods inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
appendEmulatedOrderByElementWithNulls, getCaseWhenPost, getCaseWhenPre, getWindowFunction, getWindowFunction, hasArguments, hasParenthesesIfNoArguments, optimizeNullPrecedence, processArgument, render, render, renderArgument, renderFilterExpressions, renderFrame, renderFramePosition, renderFunction, renderOrder, renderOrderBy, renderPartitions, renderWithinGroup
-
Field Details
-
FUNCTION_NAME
- See Also:
-
-
Constructor Details
-
RowNumberFunction
-
-
Method Details
-
getReturnType
- Specified by:
getReturnType
in interfaceJpqlFunction
- Overrides:
getReturnType
in classAbstractWindowFunction
-
renderArguments
protected void renderArguments(FunctionRenderContext context, AbstractWindowFunction.WindowFunction windowFunction) - Overrides:
renderArguments
in classAbstractWindowFunction
-
requiresOver
protected boolean requiresOver()- Overrides:
requiresOver
in classAbstractWindowFunction
-