com.im.commons.db.dml
Class SQLWhereClauseStringElement
java.lang.Object
com.im.commons.db.dml.SQLWhereClauseLeafElement
com.im.commons.db.dml.SQLWhereClauseStringElement
- All Implemented Interfaces:
- SQLWhereClauseElement
public class SQLWhereClauseStringElement
- extends SQLWhereClauseLeafElement
A constant value to use in a where clause. The String is written to the SQL
as is. Can be used to write constant values (id = 3), or bind vars (id = ?)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLWhereClauseStringElement
protected SQLWhereClauseStringElement(String bindStr)
addJoins
public void addJoins(Set<SQLJoin> joins)
appendTo
public void appendTo(StringBuffer buf)
- Description copied from interface:
SQLWhereClauseElement
- Append the individual filter expression of the where clause
appendWhere
public void appendWhere(StringBuffer buf)
- Description copied from interface:
SQLWhereClauseElement
- Appends WHERE plus the individual elements
addRequiredTables
public void addRequiredTables(Set<SchemaQualifiedName> requiredTables)