|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context<C extends Context<C>>
A context type that is used for rendering SQL or for binding
This interface is for JOOQ INTERNAL USE only. Do not reference directly
BindContext
,
RenderContext
Method Summary | |
---|---|
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() |
Methods inherited from interface org.jooq.Configuration |
---|
getConnection, getData, getData, getDataSource, getDialect, getSchemaMapping, getSettings, setConnection, setData, setDataSource |
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |