com.im.commons.db 5.9.2

com.im.commons.db.dml
Class SQLWhereClauseStringElement

java.lang.Object
  extended by com.im.commons.db.dml.SQLWhereClauseLeafElement
      extended by 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 = ?)


Nested Class Summary
 
Nested classes/interfaces inherited from class com.im.commons.db.dml.SQLWhereClauseLeafElement
SQLWhereClauseLeafElement.None
 
Field Summary
 
Fields inherited from class com.im.commons.db.dml.SQLWhereClauseLeafElement
NONE
 
Constructor Summary
protected SQLWhereClauseStringElement(String bindStr)
           
 
Method Summary
 void addJoins(Set<SQLJoin> joins)
           
 void addRequiredTables(Set<SchemaQualifiedName> requiredTables)
           
 void appendTo(StringBuffer buf)
          Append the individual filter expression of the where clause
 void appendWhere(StringBuffer buf)
          Appends WHERE plus the individual elements
 
Methods inherited from class com.im.commons.db.dml.SQLWhereClauseLeafElement
addElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLWhereClauseStringElement

protected SQLWhereClauseStringElement(String bindStr)
Method Detail

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)

com.im.commons.db 5.9.2