|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.commons.db.dml.SQLWhereClauseLeafElement
com.im.commons.db.dml.SQLWhereClauseTermElement
public final class SQLWhereClauseTermElement
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 |
|---|
protected SQLWhereClauseTermElement(SQLWriter sqlWriter,
TableColumn tableColumn,
DBDatabaseInfo.ColumnSQLType columnType,
SQLWhereClauseTermElement.SQL_OPERATORS operator,
Object[] values)
protected SQLWhereClauseTermElement(SQLWriter sqlWriter,
TableColumn tableColumn,
DBDatabaseInfo.ColumnSQLType columnType,
SQLWhereClauseTermElement.SQL_OPERATORS operator,
List values)
| Method Detail |
|---|
public void addRequiredTables(Set<SchemaQualifiedName> requiredTables)
public void addJoins(Set<SQLJoin> joins)
public void appendWhere(StringBuffer buf)
SQLWhereClauseElement
public void appendTo(StringBuffer buf)
SQLWhereClauseElement
|
com.im.commons.db 5.9.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||