-
- 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
Queryis 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 classRenderContext.CastModeThe cast mode for bind values.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleaninline()Deprecated.- 3.1.0 - [#2414] - This method should no longer be used.@NotNull RenderContextinline(boolean inline)Deprecated.- 3.1.0 - [#2414] - This method should no longer be used.booleannamedParams()Deprecated.- 3.1.0 - [#2414] - This method should no longer be used.@NotNull RenderContextnamedParams(boolean renderNamedParams)Deprecated.- 3.1.0 - [#2414] - This method should no longer be used.@NotNull RenderContextsql(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_nameor 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().
-
-