|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javatools.db.DbExpr
|
+--javatools.db.DbExprFuncDef
An SQL expression of the form FUNCNAME(parameter....).
| Constructor Summary | |
DbExprFuncDef(DbDatabase db,
java.lang.String func)
Constructor for the DbExprFuncDef object |
|
DbExprFuncDef(DbDatabase db,
java.lang.String func,
java.lang.Object arg1)
Constructor for the DbExprFuncDef object |
|
DbExprFuncDef(DbDatabase db,
java.lang.String func,
java.lang.Object arg1,
java.lang.Object arg2)
Constructor for the DbExprFuncDef object |
|
| Method Summary | |
java.lang.String |
getQueryString()
Gets the queryString attribute of the DbExprFuncDef object |
int |
setSqlValues(java.sql.PreparedStatement ps,
int i)
Sets the sqlValues attribute of the DbExprFuncDef object |
void |
usesTables(java.util.Set coll)
Description of the Method |
| Methods inherited from class javatools.db.DbExpr |
and, containsAllStrings, containsAllStrings, count, dateTrunc, equal, greaterThan, greaterThanOrEqual, in, in, isNotNull, isNull, lessThan, lessThanOrEqual, like, lower, max, min, notEqual, notIn, notIn, or, upper, usesTables |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DbExprFuncDef(DbDatabase db,
java.lang.String func)
db - The database that will be used.func - The function which will be used.
public DbExprFuncDef(DbDatabase db,
java.lang.String func,
java.lang.Object arg1)
db - The database that will be used.func - The function that will be used.arg1 - The first argument.
public DbExprFuncDef(DbDatabase db,
java.lang.String func,
java.lang.Object arg1,
java.lang.Object arg2)
db - The database that will be used.func - The function that will be used.arg1 - The first argument.arg2 - The second argument.| Method Detail |
public int setSqlValues(java.sql.PreparedStatement ps,
int i)
throws DbException,
java.sql.SQLException
setSqlValues in class DbExprps - The PreparedStatement.i - The new sqlValues value
DbException - If something goes wrong.
java.sql.SQLException - If something goes wrong.
public java.lang.String getQueryString()
throws DbException
getQueryString in class DbExprDbException - If something goes wrong.public void usesTables(java.util.Set coll)
usesTables in interface DbTableUserusesTables in class DbExprcoll - Description of Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||