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 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()
|
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()
Deprecated.
- 2.5.0 [#1544] - This method will be removed from the
internal API. Do not reuse it, except through
Query.getSQL() |
String |
getSQL(boolean inline)
Deprecated.
- 2.5.0 [#1544] - This method will be removed from the
internal API. Do not reuse it, except through
Query.getSQL(boolean) |
void |
toSQL(RenderContext context)
Render this
QueryPart to a SQL string contained in
context.sql(). |
internalAPIvoid 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.@Deprecated String getSQL()
Query.getSQL()QueryPart
This method is exposed publicly in Query.getSQL()
@Deprecated String getSQL(boolean inline)
Query.getSQL(boolean)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 bindingDataAccessException - 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 - independentQueryPart was created with
This method is for JOOQ INTERNAL USE only. Do not reference directly
boolean declaresFields()
boolean declaresTables()
Copyright © 2013. All Rights Reserved.