com.im.commons.db 5.9.2

com.im.commons.db.dml
Class SQLWhereClauseTermElement

java.lang.Object
  extended by com.im.commons.db.dml.SQLWhereClauseLeafElement
      extended by com.im.commons.db.dml.SQLWhereClauseTermElement
All Implemented Interfaces:
SQLWhereClauseElement

public final class SQLWhereClauseTermElement
extends SQLWhereClauseLeafElement

Represents a simple SQL filter term. e.g. "MOLWEIGHT < 500".


Nested Class Summary
static class SQLWhereClauseTermElement.SQL_OPERATORS
           
 
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 SQLWhereClauseTermElement(SQLWriter sqlWriter, TableColumn tableColumn, DBDatabaseInfo.ColumnSQLType columnType, SQLWhereClauseTermElement.SQL_OPERATORS operator, List values)
           
protected SQLWhereClauseTermElement(SQLWriter sqlWriter, TableColumn tableColumn, DBDatabaseInfo.ColumnSQLType columnType, SQLWhereClauseTermElement.SQL_OPERATORS operator, Object[] values)
           
 
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

SQLWhereClauseTermElement

protected SQLWhereClauseTermElement(SQLWriter sqlWriter,
                                    TableColumn tableColumn,
                                    DBDatabaseInfo.ColumnSQLType columnType,
                                    SQLWhereClauseTermElement.SQL_OPERATORS operator,
                                    Object[] values)

SQLWhereClauseTermElement

protected SQLWhereClauseTermElement(SQLWriter sqlWriter,
                                    TableColumn tableColumn,
                                    DBDatabaseInfo.ColumnSQLType columnType,
                                    SQLWhereClauseTermElement.SQL_OPERATORS operator,
                                    List values)
Method Detail

addRequiredTables

public void addRequiredTables(Set<SchemaQualifiedName> requiredTables)

addJoins

public void addJoins(Set<SQLJoin> joins)

appendWhere

public void appendWhere(StringBuffer buf)
Description copied from interface: SQLWhereClauseElement
Appends WHERE plus the individual elements


appendTo

public void appendTo(StringBuffer buf)
Description copied from interface: SQLWhereClauseElement
Append the individual filter expression of the where clause


com.im.commons.db 5.9.2