public interface QueryPartInternal extends QueryPart
This interface is for JOOQ INTERNAL USE only. Do not reference directly
Modifier and Type | Method and Description |
---|---|
void |
bind(BindContext ctx)
Bind all parameters of this
QueryPart to a PreparedStatement
This method is for JOOQ INTERNAL USE only. |
Clause[] |
clauses(Context<?> ctx)
The
Clause s that are represented by this query part. |
boolean |
declaresFields()
Check whether this
QueryPart is able to declare fields in a
SELECT clause. |
boolean |
declaresTables()
|
boolean |
declaresWindows()
Check whether this
QueryPart is able to declare windows in a
WINDOW clause. |
void |
toSQL(RenderContext ctx)
Render this
QueryPart to a SQL string contained in
context.sql() . |
void toSQL(RenderContext ctx)
QueryPart
to a SQL string contained in
context.sql()
. The context
will contain
additional information about how to render this QueryPart
,
e.g. whether this QueryPart
should be rendered as a
declaration or reference, whether this QueryPart
's contained
bind variables should be inlined or replaced by '?'
, etc.void bind(BindContext ctx) throws DataAccessException
QueryPart
to a PreparedStatement
This method is for JOOQ INTERNAL USE only. Do not reference directly
ctx
- The context holding the next bind index and other information
for variable bindingDataAccessException
- If something went wrong while binding a
variableClause[] clauses(Context<?> ctx)
Clause
s that are represented by this query part.
QueryPart
s can specify several Clause
s for which an
event will be emitted before
(in forward
order) and after
(in reverse order) visiting
the the query part through Context.visit(QueryPart)
This method is for JOOQ INTERNAL USE only. Do not reference directly
Clause
s represented by this query part or
null
or an empty array if this query part does not
represent a clause.boolean declaresFields()
boolean declaresTables()
boolean declaresWindows()
Copyright © 2014. All Rights Reserved.