public interface Context<C extends Context<C>> extends Configuration
This interface is for JOOQ INTERNAL USE only. Do not reference directly
BindContext
,
RenderContext
Modifier and Type | Method and Description |
---|---|
boolean |
declareFields()
Whether the current context is rendering a SQL field declaration (e.g. a
Field in the SELECT clause of the query). |
C |
declareFields(boolean declareFields)
Set the new context value for
declareFields() |
boolean |
declareTables()
Whether the current context is rendering a SQL table declaration (e.g. a
Table in the FROM or JOIN clause of the
query). |
C |
declareTables(boolean declareTables)
Set the new context value for
declareTables() |
int |
nextIndex()
Get the next bind index.
|
int |
peekIndex()
Peek the next bind index.
|
boolean |
subquery()
Whether the current context is rendering a sub-query (nested query)
|
C |
subquery(boolean subquery)
Set the new context value for
subquery() |
getConnection, getData, getData, getDataSource, getDialect, getSchemaMapping, getSettings, setConnection, setData, setDataSource
boolean declareFields()
Field
in the SELECT
clause of the query).C declareFields(boolean declareFields)
declareFields()
boolean declareTables()
Table
in the FROM
or JOIN
clause of the
query).C declareTables(boolean declareTables)
declareTables()
boolean subquery()
C subquery(boolean subquery)
subquery()
int nextIndex()
PreparedStatement
. Client code
must assure that calling nextIndex()
is followed by setting a
bind value to BindContext.statement()
RenderContext.namedParams()
being to true
int peekIndex()
nextIndex()
Copyright © 2013. All Rights Reserved.