Class LagFunction
- java.lang.Object
-
- com.blazebit.persistence.impl.function.window.AbstractWindowFunction
-
- com.blazebit.persistence.impl.function.window.lag.LagFunction
-
- All Implemented Interfaces:
com.blazebit.persistence.spi.JpqlFunction
public class LagFunction extends AbstractWindowFunction
- 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 StringFUNCTION_NAME-
Fields inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
allowsFilterClause, functionName, nullIsSmallest, supportsFilterClause, supportsNullPrecedence
-
-
Constructor Summary
Constructors Constructor Description LagFunction(com.blazebit.persistence.spi.DbmsDialect dbmsDialect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidrenderArgument(com.blazebit.persistence.spi.FunctionRenderContext context, AbstractWindowFunction.WindowFunction windowFunction, String caseWhenPre, String caseWhenPost, String argument, int argumentIndex)protected booleanrequiresOver()-
Methods inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
appendEmulatedOrderByElementWithNulls, getCaseWhenPost, getCaseWhenPre, getReturnType, getWindowFunction, getWindowFunction, hasArguments, hasParenthesesIfNoArguments, optimizeNullPrecedence, processArgument, render, render, renderArguments, renderFilterExpressions, renderFrame, renderFramePosition, renderFunction, renderOrder, renderOrderBy, renderPartitions
-
-
-
-
Field Detail
-
FUNCTION_NAME
public static final String FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
renderArgument
protected void renderArgument(com.blazebit.persistence.spi.FunctionRenderContext context, AbstractWindowFunction.WindowFunction windowFunction, String caseWhenPre, String caseWhenPost, String argument, int argumentIndex)- Overrides:
renderArgumentin classAbstractWindowFunction
-
requiresOver
protected boolean requiresOver()
- Overrides:
requiresOverin classAbstractWindowFunction
-
-