java.lang.Object
javatools.db.DbExpr
javatools.db.DbValueList
- All Implemented Interfaces:
- DbTableUser
- public class DbValueList
- extends DbExpr
This class represents a set of values to be used in an expression.
- Version:
- 0.1.0
| Fields inherited from class javatools.db.DbExpr |
db |
| Methods inherited from class javatools.db.DbExpr |
and, containsAllStrings, containsAllStrings, count, dateTrunc, equal, getString, greaterThan, greaterThanOrEqual, in, in, isNotNull, isNull, lessThan, lessThanOrEqual, like, lower, max, min, notEqual, notIn, notIn, or, setSqlValue, upper, usesTables, usesTables |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
valueList
private java.util.Collection valueList
DbValueList
public DbValueList(DbDatabase db,
java.util.Collection pValueList)
- Creates new DbValueList
getQueryString
public java.lang.String getQueryString()
throws DbException
- Any DbExpr needs to be able to convert into the SQL string equivilent.
- Specified by:
getQueryString in class DbExpr
setSqlValues
public int setSqlValues(java.sql.PreparedStatement ps,
int i)
throws DbException,
java.sql.SQLException
- Any DbExpr needs to be able to substitute any parameters as per JDBC "?"
substitutions.
- Specified by:
setSqlValues in class DbExpr