|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QueryPartInternal
Base functionality declaration for all query objects
This interface is for JOOQ INTERNAL USE only. Do not reference directly
| Method Summary | |
|---|---|
void |
bind(BindContext context)
Bind all parameters of this QueryPart to a PreparedStatement
This method is for JOOQ INTERNAL USE only. |
boolean |
declaresFields()
Check whether this QueryPart is able to declare fields in a
SELECT clause. |
boolean |
declaresTables()
Check whether this QueryPart is able to declare tables in a
FROM clause or JOIN clause. |
List<Object> |
getBindValues()
Retrieve the bind values that will be bound by this QueryPart
This method is exposed publicly in Query.getBindValues() |
SQLDialect |
getDialect()
Deprecated. - 2.0.2 - The attached SQL dialect of a QueryPart
should no longer be referenced, as query parts become more
and more Configuration - independent |
Param<?> |
getParam(String name)
Retrieve a named parameter that will be bound by this QueryPart
This method is exposed publicly in Query.getParam(String) |
Map<String,Param<?>> |
getParams()
Retrieve the named parameters that will be bound by this QueryPart
This method is exposed publicly in Query.getParams() |
String |
getSQL()
Retrieve the SQL that will be rendered by this QueryPart
This method is exposed publicly in Query.getSQL() |
String |
getSQL(boolean inline)
Retrieve the SQL that will be rendered by this QueryPart
This method is exposed publicly in Query.getSQL(boolean) |
void |
toSQL(RenderContext context)
Render this QueryPart to a SQL string contained in
context.sql(). |
| Methods inherited from interface org.jooq.Attachable |
|---|
attach |
| Methods inherited from interface org.jooq.Adapter |
|---|
internalAPI |
| Method Detail |
|---|
void toSQL(RenderContext context)
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.
String getSQL()
QueryPart
This method is exposed publicly in Query.getSQL()
String getSQL(boolean inline)
QueryPart
This method is exposed publicly in Query.getSQL(boolean)
List<Object> getBindValues()
QueryPart
This method is exposed publicly in Query.getBindValues()
Map<String,Param<?>> getParams()
QueryPart
This method is exposed publicly in Query.getParams()
Param<?> getParam(String name)
QueryPart
This method is exposed publicly in Query.getParam(String)
void bind(BindContext context)
throws DataAccessException
QueryPart to a PreparedStatement
This method is for JOOQ INTERNAL USE only. Do not reference directly
context - The context holding the next bind index and other
information for variable binding
DataAccessException - If something went wrong while binding a
variable@Deprecated SQLDialect getDialect()
QueryPart
should no longer be referenced, as query parts become more
and more Configuration - independent
QueryPart was created with
This method is for JOOQ INTERNAL USE only. Do not reference directly
boolean declaresFields()
QueryPart is able to declare fields in a
SELECT clause.
This method can be used by any Context to check how a certain SQL
clause should be rendered.
This method is for JOOQ INTERNAL USE only. Do not reference directly
boolean declaresTables()
QueryPart is able to declare tables in a
FROM clause or JOIN clause.
This method can be used by any Context to check how a certain SQL
clause should be rendered.
This method is for JOOQ INTERNAL USE only. Do not reference directly
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||