|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WhereClausePsPartBuilder
Builds a PreparedStatementPart from a WhereClauseExpression.
Method Summary | |
---|---|
PreparedStatementPart |
buildPs(WhereClauseExpression whereClauseExpression,
boolean ignoreCase,
Adapter adapter)
Builds a PreparedStatementPart from a WhereClauseExpression. |
boolean |
isApplicable(WhereClauseExpression whereClauseExpression,
Adapter adapter)
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression. |
Method Detail |
---|
PreparedStatementPart buildPs(WhereClauseExpression whereClauseExpression, boolean ignoreCase, Adapter adapter) throws TorqueException
whereClauseExpression
- the part of the where clause to build.
Can be modified in this method.ignoreCase
- If true and columns represent Strings, the appropriate
function defined for the database will be used to ignore
differences in case.adapter
- The adapter for the database for which the SQL
should be created, not null.
TorqueException
- when rendering fails.boolean isApplicable(WhereClauseExpression whereClauseExpression, Adapter adapter)
whereClauseExpression
- the WhereClauseExpression in question.adapter
- The adapter for the database for which the SQL
should be created, not null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |