com.blazebit.persistence.spi.JpqlFunctionpublic class LimitFunction
extends java.lang.Object
implements com.blazebit.persistence.spi.JpqlFunction
| Modifier and Type | Field | Description |
|---|---|---|
protected com.blazebit.persistence.spi.DbmsDialect |
dbmsDialect |
|
protected boolean |
limitIncludesOffset |
| Constructor | Description |
|---|---|
LimitFunction(com.blazebit.persistence.spi.DbmsDialect dbmsDialect) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Class<?> |
getReturnType(java.lang.Class<?> firstArgumentType) |
|
boolean |
hasArguments() |
|
boolean |
hasParenthesesIfNoArguments() |
|
void |
render(com.blazebit.persistence.spi.FunctionRenderContext functionRenderContext) |
|
protected void |
renderLimitOffset(com.blazebit.persistence.spi.FunctionRenderContext functionRenderContext) |
|
protected void |
renderLimitOnly(com.blazebit.persistence.spi.FunctionRenderContext functionRenderContext) |
protected final com.blazebit.persistence.spi.DbmsDialect dbmsDialect
protected final boolean limitIncludesOffset
public LimitFunction(com.blazebit.persistence.spi.DbmsDialect dbmsDialect)
public boolean hasArguments()
hasArguments in interface com.blazebit.persistence.spi.JpqlFunctionpublic boolean hasParenthesesIfNoArguments()
hasParenthesesIfNoArguments in interface com.blazebit.persistence.spi.JpqlFunctionpublic java.lang.Class<?> getReturnType(java.lang.Class<?> firstArgumentType)
getReturnType in interface com.blazebit.persistence.spi.JpqlFunctionpublic void render(com.blazebit.persistence.spi.FunctionRenderContext functionRenderContext)
render in interface com.blazebit.persistence.spi.JpqlFunctionprotected void renderLimitOffset(com.blazebit.persistence.spi.FunctionRenderContext functionRenderContext)
protected void renderLimitOnly(com.blazebit.persistence.spi.FunctionRenderContext functionRenderContext)
Copyright © 2014–2020 Blazebit. All rights reserved.