Class LagFunction
java.lang.Object
com.blazebit.persistence.impl.function.window.AbstractWindowFunction
com.blazebit.persistence.impl.function.window.lag.LagFunction
- All Implemented Interfaces:
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_NAMEFields inherited from class com.blazebit.persistence.impl.function.window.AbstractWindowFunction
allowsFilterClause, functionName, nullIsSmallest, supportsFilterClause, supportsNullPrecedence -
Constructor Summary
Constructors Constructor Description LagFunction(DbmsDialect dbmsDialect) -
Method Summary
Modifier and Type Method Description protected voidrenderArgument(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 Details
-
FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
renderArgument
protected void renderArgument(FunctionRenderContext context, AbstractWindowFunction.WindowFunction windowFunction, String caseWhenPre, String caseWhenPost, String argument, int argumentIndex)- Overrides:
renderArgumentin classAbstractWindowFunction
-
requiresOver
protected boolean requiresOver()- Overrides:
requiresOverin classAbstractWindowFunction
-