-
- All Superinterfaces:
Context<RenderContext>
,Scope
public interface RenderContext extends Context<RenderContext>
The render context is used for renderingQueryPart
's to SQL.A new render context is instantiated every time a
Query
is rendered.QueryPart
's will then pass the same context to their components- Author:
- Lukas Eder
- See Also:
BindContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
RenderContext.CastMode
The cast mode for bind values.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
inline()
Deprecated.- 3.1.0 - [#2414] - This method should no longer be used.@NotNull RenderContext
inline(boolean inline)
Deprecated.- 3.1.0 - [#2414] - This method should no longer be used.boolean
namedParams()
Deprecated.- 3.1.0 - [#2414] - This method should no longer be used.@NotNull RenderContext
namedParams(boolean renderNamedParams)
Deprecated.- 3.1.0 - [#2414] - This method should no longer be used.@NotNull RenderContext
sql(QueryPart part)
Deprecated.- 3.2.0 - [#2666] - UseContext.visit(QueryPart)
instead-
Methods inherited from interface org.jooq.Context
bindValue, cast, castMode, castMode, castModeIf, castModeSome, declareAliases, declareAliases, declareCTE, declareCTE, declareFields, declareFields, declareTables, declareTables, declareWindows, declareWindows, end, format, format, formatIndentEnd, formatIndentEnd, formatIndentLockEnd, formatIndentLockStart, formatIndentStart, formatIndentStart, formatNewLine, formatNewLineAfterPrintMargin, formatPrintMargin, formatSeparator, keyword, literal, nextAlias, nextIndex, paramType, paramType, paramTypeIf, peekAlias, peekIndex, qualify, qualify, qualifyCatalog, qualifyCatalog, qualifySchema, qualifySchema, quote, quote, render, render, scopeEnd, scopeMarkEnd, scopeMarkStart, scopeRegister, scopeRegister, scopeStart, separatorRequired, separatorRequired, sql, sql, sql, sql, sql, sql, sql, start, statement, stringLiteral, stringLiteral, subquery, subquery, subqueryLevel, visit
-
-
-
-
Method Detail
-
sql
@NotNull @Deprecated @NotNull RenderContext sql(QueryPart part)
Deprecated.- 3.2.0 - [#2666] - UseContext.visit(QueryPart)
insteadRecurse rendering.
-
inline
@Deprecated boolean inline()
Deprecated.- 3.1.0 - [#2414] - This method should no longer be used. UseContext.paramType()
instead.Whether bind variables should be inlined, rather than rendered as'?'
.
-
inline
@NotNull @Deprecated @NotNull RenderContext inline(boolean inline)
Deprecated.- 3.1.0 - [#2414] - This method should no longer be used. UseContext.paramType(ParamType)
instead.Set the new context value forinline()
.
-
namedParams
@Deprecated boolean namedParams()
Deprecated.- 3.1.0 - [#2414] - This method should no longer be used. UseContext.paramType()
instead.Whether bind variables should be rendered as named parameters:
:1, :2, :custom_name
or as JDBC bind variables
?
-
namedParams
@NotNull @Deprecated @NotNull RenderContext namedParams(boolean renderNamedParams)
Deprecated.- 3.1.0 - [#2414] - This method should no longer be used. UseContext.paramType(ParamType)
instead.Set the new context value fornamedParams()
.
-
-