| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | DefaultRenderContext.ForceInlineSignal
A query execution interception signal. |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final QueryPartList | |
| pack-priv String | |
| pack-priv int | |
| pack-priv String | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv RenderKeywordCase | |
| pack-priv RenderNameCase | |
| pack-priv RenderQuotedNames | |
| private static final Pattern | |
| private int | |
| private Deque | |
| private static final JooqLogger | |
| private static final Pattern | |
| private boolean | |
| private boolean | |
| private boolean | |
| pack-priv final StringBuilder | |
| private static final Set |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final String | |
| private final void | |
| public final BindContext | bindValue(Object value, Field<?> field)
Implements org.
Deprecated
as a consequence of
Bind a value using a specific type.
Field being deprecated.
|
| pack-priv final QueryPartList | |
| private final void | |
| public final RenderContext | format(boolean format)
Implements org. Settings#isRenderFormatted().
|
| public final boolean | |
| public final RenderContext | formatIndentEnd()
Implements org. Settings#isRenderFormatted() is set to true.
|
| public final RenderContext | formatIndentEnd(int i)
Implements org. Settings#isRenderFormatted() is set to true.
|
| public final RenderContext | formatIndentLockEnd()
Implements org. Settings#isRenderFormatted() is set to true.
|
| public final RenderContext | formatIndentLockStart()
Implements org. Settings#isRenderFormatted() is set to true.
|
| public final RenderContext | formatIndentStart()
Implements org. Settings#isRenderFormatted() is set to true.
|
| public final RenderContext | formatIndentStart(int i)
Implements org. Settings#isRenderFormatted() is set to true.
|
| public final RenderContext | formatNewLine()
Implements org. Settings#isRenderFormatted()
is set to true).
|
| public final RenderContext | formatNewLineAfterPrintMargin()
Implements org. Settings#isRenderFormatted()
is set to true, and the formatPrintMargin(int) has
been exceeded).
|
| public final RenderContext | formatPrintMargin(int margin)
Implements org. Settings#isRenderFormatted() is set to true.
|
| public final RenderContext | formatSeparator()
Implements org. Settings#isRenderFormatted()
is set to true), or a whitespace separator character
otherwise.
|
| private final String | |
| private final Deque | |
| public final RenderContext | keyword(String keyword)
Implements org. StringBuilder.
|
| public final RenderContext | literal(String literal)
Implements org. StringBuilder.
|
| public final String | nextAlias()
Implements org. |
| public final String | peekAlias()
Implements org. nextAlias().
|
| public final String | |
| public final String | render(QueryPart part)
Implements org. |
| private final void | |
| pack-priv void | |
| public QueryPart | scopeMapping(QueryPart part)
Overrides org. Implements org. |
| pack-priv void | |
| pack-priv void | |
| public RenderContext | scopeRegister(QueryPart part, boolean forceNew, QueryPart mapped)
Overrides org. Implements org. |
| pack-priv void | |
| public final RenderContext | separatorRequired(boolean separatorRequired)
Implements org. visit(QueryPart) call, but leave the decision whether to
generate a formatSeparator() or just a whitespace to that next
QueryPart.
|
| public final boolean | separatorRequired()
Implements org. QueryPart.
|
| public final RenderContext | sql(String s)
Implements org. StringBuilder.
|
| public final RenderContext | sql(String s, boolean literal)
Implements org. StringBuilder.
|
| public final RenderContext | sql(char c)
Implements org. StringBuilder.
|
| public final RenderContext | sql(int i)
Implements org. StringBuilder.
|
| public final RenderContext | sql(long l)
Implements org. StringBuilder.
|
| public final RenderContext | sql(float f)
Implements org. StringBuilder.
|
| public final RenderContext | sql(double d)
Implements org. StringBuilder.
|
| public final RenderContext | sqlIndentEnd(String c)
Implements org. StringBuilder preceded
by the usual calls to formatIndentEnd() and
formatNewLine().
|
| public final RenderContext | sqlIndentEnd()
Implements org. StringBuilder preceded
by the usual calls to formatIndentEnd() and
formatNewLine().
|
| public final RenderContext | sqlIndentEnd(char c)
Implements org. StringBuilder preceded
by the usual calls to formatIndentEnd() and
formatNewLine().
|
| public final RenderContext | sqlIndentStart(String c)
Implements org. StringBuilder,
followed by the usual calls to formatIndentStart() and
formatNewLine().
|
| public final RenderContext | sqlIndentStart()
Implements org. StringBuilder,
followed by the usual calls to formatIndentStart() and
formatNewLine().
|
| public final RenderContext | sqlIndentStart(char c)
Implements org. StringBuilder,
followed by the usual calls to formatIndentStart() and
formatNewLine().
|
| public String | |
| protected final void |
| alias | back to summary |
|---|---|
| private int alias | |
| bindValues | back to summary |
|---|---|
| private final QueryPartList<Param<?>> bindValues | |
| cachedIndentation | back to summary |
|---|---|
| pack-priv String cachedIndentation | |
| cachedIndentWidth | back to summary |
|---|---|
| pack-priv int cachedIndentWidth | |
| cachedNewline | back to summary |
|---|---|
| pack-priv String cachedNewline | |
| cachedPrintMargin | back to summary |
|---|---|
| pack-priv int cachedPrintMargin | |
| cachedRenderFormatted | back to summary |
|---|---|
| pack-priv boolean cachedRenderFormatted | |
| cachedRenderKeywordCase | back to summary |
|---|---|
| pack-priv RenderKeywordCase cachedRenderKeywordCase | |
| cachedRenderNameCase | back to summary |
|---|---|
| pack-priv RenderNameCase cachedRenderNameCase | |
| cachedRenderQuotedNames | back to summary |
|---|---|
| pack-priv RenderQuotedNames cachedRenderQuotedNames | |
| IDENTIFIER_PATTERN | back to summary |
|---|---|
| private static final Pattern IDENTIFIER_PATTERN | |
| indent | back to summary |
|---|---|
| private int indent | |
| indentLock | back to summary |
|---|---|
| private Deque<Integer> indentLock | |
| log | back to summary |
|---|---|
| private static final JooqLogger log | |
| NEWLINE | back to summary |
|---|---|
| private static final Pattern NEWLINE | |
| newline | back to summary |
|---|---|
| private boolean newline | |
| separator | back to summary |
|---|---|
| private boolean separator | |
| separatorRequired | back to summary |
|---|---|
| private boolean separatorRequired | |
| sql | back to summary |
|---|---|
| pack-priv final StringBuilder sql | |
| SQLITE_KEYWORDS | back to summary |
|---|---|
| private static final Set<String> SQLITE_KEYWORDS | |
| DefaultRenderContext | back to summary |
|---|---|
| pack-priv DefaultRenderContext(Configuration configuration, ExecuteContext ctx) | |
| DefaultRenderContext | back to summary |
|---|---|
| pack-priv DefaultRenderContext(RenderContext context) | |
| DefaultRenderContext | back to summary |
|---|---|
| pack-priv DefaultRenderContext(RenderContext context, boolean copyLocalState) | |
| applyNameCase | back to summary |
|---|---|
| pack-priv final String applyNameCase(String literal) Overrides org.
| |
| applyNewLine | back to summary |
|---|---|
| private final void applyNewLine() | |
| bindValue | back to summary |
|---|---|
| public final BindContext bindValue(Object value, Field<?> field) throws DataAccessException Implements org. Doc from org. Deprecated as a consequence of Bind a value using a specific type. This will also increment the internal counter.
| |
| bindValues | back to summary |
|---|---|
| pack-priv final QueryPartList | |
| checkForceInline | back to summary |
|---|---|
| private final void checkForceInline(int max) throws ForceInlineSignal | |
| format | back to summary |
|---|---|
| public final RenderContext format(boolean format) Implements org. Doc from org. Override the value of
| |
| format | back to summary |
|---|---|
| public final boolean format() Implements org. Doc from org. The value of
| |
| formatIndentEnd | back to summary |
|---|---|
| public final RenderContext formatIndentEnd() Implements org. Doc from org. Stop indenting subsequent SQL by one level (two characters), if
This is the same as calling
| |
| formatIndentEnd | back to summary |
|---|---|
| public final RenderContext formatIndentEnd(int i) Implements org. Doc from org. Stop indenting subsequent SQL by a number of characters, if
| |
| formatIndentLockEnd | back to summary |
|---|---|
| public final RenderContext formatIndentLockEnd() Implements org. Doc from org. Stop indenting subsequent SQL at the same level as the current line, if
| |
| formatIndentLockStart | back to summary |
|---|---|
| public final RenderContext formatIndentLockStart() Implements org. Doc from org. Start indenting subsequent SQL at the same level as the current line, if
| |
| formatIndentStart | back to summary |
|---|---|
| public final RenderContext formatIndentStart() Implements org. Doc from org. Start indenting subsequent SQL by one level (two characters), if
This is the same as calling
| |
| formatIndentStart | back to summary |
|---|---|
| public final RenderContext formatIndentStart(int i) Implements org. Doc from org. Start indenting subsequent SQL by a number of characters, if
| |
| formatNewLine | back to summary |
|---|---|
| public final RenderContext formatNewLine() Implements org. Doc from org. Render a new line character (only if
| |
| formatNewLineAfterPrintMargin | back to summary |
|---|---|
| public final RenderContext formatNewLineAfterPrintMargin() Implements org. Doc from org. Render a new line character (only if
| |
| formatPrintMargin | back to summary |
|---|---|
| public final RenderContext formatPrintMargin(int margin) Implements org. Doc from org. Set a print margin that will be applied to formatted SQL, if
The default print margin is
The print margin is applied to any of these
| |
| formatSeparator | back to summary |
|---|---|
| public final RenderContext formatSeparator() Implements org. Doc from org. Render a new line character (only if
| |
| indentation | back to summary |
|---|---|
| private final String indentation() | |
| indentLock | back to summary |
|---|---|
| private final Deque | |
| keyword | back to summary |
|---|---|
| public final RenderContext keyword(String keyword) Implements org. Doc from org. Append a SQL keyword to the context's contained
Use this to have your SQL keyword rendered in
| |
| literal | back to summary |
|---|---|
| public final RenderContext literal(String literal) Implements org. Doc from org. Append some literal to the context's contained
| |
| nextAlias | back to summary |
|---|---|
| public final String nextAlias() Implements org. Doc from org. Return a new alias that is unique for the scope of one query. These aliases are sometimes needed when unaliased projections are defined in subqueries, which can lead to syntax errors.
| |
| peekAlias | back to summary |
|---|---|
| public final String peekAlias() Implements org. Doc from org. Peek the next alias that will be generated by
| |
| render | back to summary |
|---|---|
| public final String render() Implements org. Doc from org. Render the context's underlying SQL statement.
| |
| render | back to summary |
|---|---|
| public final String render(QueryPart part) Implements org. Doc from org. Render a query part in a new context derived from this one. The rendered SQL will not be appended to this context.
| |
| resetSeparatorFlags | back to summary |
|---|---|
| private final void resetSeparatorFlags() | |
| scopeEnd0 | back to summary |
|---|---|
| pack-priv void scopeEnd0() Overrides org.
| |
| scopeMapping | back to summary |
|---|---|
| public QueryPart scopeMapping(QueryPart part) Overrides org. Implements org. Doc from org. Retrieve the registered mapping for a query part in the current scope.
If no such mapping exists, the argument
| |
| scopeMarkEnd0 | back to summary |
|---|---|
| pack-priv void scopeMarkEnd0(QueryPart part) Overrides org.
| |
| scopeMarkStart0 | back to summary |
|---|---|
| pack-priv void scopeMarkStart0(QueryPart part) Overrides org.
| |
| scopeRegister | back to summary |
|---|---|
| public RenderContext scopeRegister(QueryPart part, boolean forceNew, QueryPart mapped) Overrides org. Implements org. Doc from org. Register a "special" query part in the scope, allowing to force registering the object in the new scope, if a higher scope already has the object, as well as providing a mapped part to map the original part to. [#10716] When wrapping parts of a query in a derived table, additional table mappings may be needed.
| |
| scopeStart0 | back to summary |
|---|---|
| pack-priv void scopeStart0() Overrides org.
| |
| separatorRequired | back to summary |
|---|---|
| public final RenderContext separatorRequired(boolean separatorRequired) Implements org. Doc from org. Specify that a separator will be required before the next
| |
| separatorRequired | back to summary |
|---|---|
| public final boolean separatorRequired() Implements org. Doc from org. Whether some sort of separator is required before rendering the next
| |
| sql | back to summary |
|---|---|
| public final RenderContext sql(String s) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sql | back to summary |
|---|---|
| public final RenderContext sql(String s, boolean literal) Implements org. Doc from org. Append some SQL to the context's contained
Set
| |
| sql | back to summary |
|---|---|
| public final RenderContext sql(char c) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sql | back to summary |
|---|---|
| public final RenderContext sql(int i) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sql | back to summary |
|---|---|
| public final RenderContext sql(long l) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sql | back to summary |
|---|---|
| public final RenderContext sql(float f) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sql | back to summary |
|---|---|
| public final RenderContext sql(double d) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sqlIndentEnd | back to summary |
|---|---|
| public final RenderContext sqlIndentEnd(String c) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sqlIndentEnd | back to summary |
|---|---|
| public final RenderContext sqlIndentEnd() Implements org. Doc from org. Append some SQL to the context's contained
| |
| sqlIndentEnd | back to summary |
|---|---|
| public final RenderContext sqlIndentEnd(char c) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sqlIndentStart | back to summary |
|---|---|
| public final RenderContext sqlIndentStart(String c) Implements org. Doc from org. Append some SQL to the context's contained
| |
| sqlIndentStart | back to summary |
|---|---|
| public final RenderContext sqlIndentStart() Implements org. Doc from org. Append some SQL to the context's contained
| |
| sqlIndentStart | back to summary |
|---|---|
| public final RenderContext sqlIndentStart(char c) Implements org. Doc from org. Append some SQL to the context's contained
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| visit0 | back to summary |
|---|---|
| protected final void visit0(QueryPartInternal internal) Implements abstract org.
| |
This exception is used as a signal for jOOQ's internals to abort query execution, and return generated SQL back to batch execution.
| Access | Constructor and Description |
|---|---|
| public |
| ForceInlineSignal | back to summary |
|---|---|
| public ForceInlineSignal() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv QueryPartList | |
| pack-priv int | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| bindValues | back to summary |
|---|---|
| pack-priv QueryPartList<Param<?>> bindValues | |
| skipUpdateCounts | back to summary |
|---|---|
| pack-priv int skipUpdateCounts | |
| sql | back to summary |
|---|---|
| pack-priv String sql | |
| Rendered | back to summary |
|---|---|
| pack-priv Rendered(String sql, QueryPartList<Param<?>> bindValues, int skipUpdateCounts) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |