Class DenseRankFunction
java.lang.Object
com.blazebit.persistence.impl.function.window.AbstractWindowFunction
com.blazebit.persistence.impl.function.window.denserank.DenseRankFunction
- All Implemented Interfaces:
JpqlFunction
public class DenseRankFunction extends AbstractWindowFunction
Rank of the current row without gaps; this function counts peer groups
- 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 Modifier and Type Field Description static String
FUNCTION_NAME
Fields inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
allowsFilterClause, functionName, nullIsSmallest, supportsFilterClause, supportsNullPrecedence
-
Constructor Summary
Constructors Constructor Description DenseRankFunction(DbmsDialect dbmsDialect)
-
Method Summary
Modifier and Type Method Description Class<?>
getReturnType(Class<?> firstArgumentType)
protected boolean
requiresOver()
Methods inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
appendEmulatedOrderByElementWithNulls, getCaseWhenPost, getCaseWhenPre, getWindowFunction, getWindowFunction, hasArguments, hasParenthesesIfNoArguments, optimizeNullPrecedence, processArgument, render, render, renderArgument, renderArguments, renderFilterExpressions, renderFrame, renderFramePosition, renderFunction, renderOrder, renderOrderBy, renderPartitions
-
Field Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getReturnType
- Specified by:
getReturnType
in interfaceJpqlFunction
- Overrides:
getReturnType
in classAbstractWindowFunction
-
requiresOver
protected boolean requiresOver()- Overrides:
requiresOver
in classAbstractWindowFunction
-