Klasse VerbatimSqlConditionBuilder
java.lang.Object
org.apache.torque.sql.whereclausebuilder.VerbatimSqlConditionBuilder
- Alle implementierten Schnittstellen:
WhereClausePsPartBuilder
Builds a PreparedStatementPart from a WhereClauseExpression containing
a verbatim SQL condition.
- Version:
- $Id: VerbatimSqlConditionBuilder.java 1839288 2018-08-27 09:48:33Z tv $
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuildPs
(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.boolean
isApplicable
(WhereClauseExpression whereClauseExpression, Adapter adapter) Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
-
Konstruktordetails
-
VerbatimSqlConditionBuilder
public VerbatimSqlConditionBuilder()
-
-
Methodendetails
-
buildPs
public PreparedStatementPart buildPs(WhereClauseExpression whereClausePart, boolean ignoreCase, Query query, Adapter adapter) throws TorqueException Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.- Angegeben von:
buildPs
in SchnittstelleWhereClausePsPartBuilder
- Parameter:
whereClausePart
- the part of the where clause to build. Can be modified in this method.ignoreCase
- is ignored here.query
- the query which is currently builtadapter
- The adapter for the database for which the SQL should be created, not null.- Gibt zurück:
- the rendered SQL for the WhereClauseExpression
- Löst aus:
TorqueException
- when rendering fails.
-
isApplicable
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.- Angegeben von:
isApplicable
in SchnittstelleWhereClausePsPartBuilder
- Parameter:
whereClauseExpression
- the WhereClauseExpression in question.adapter
- The adapter for the database for which the SQL should be created, not null.- Gibt zurück:
- true if applicable, false otherwise.
-