java.lang.Object
javatools.db.DbExpr
javatools.db.DbExprFuncDef
- All Implemented Interfaces:
- DbTableUser
- public class DbExprFuncDef
- extends DbExpr
An SQL expression of the form FUNCNAME(parameter....).
- Version:
- 0.7
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
func
java.lang.String func
- The function name.
args
java.lang.Object[] args
- The arguments for the function.
DbExprFuncDef
public DbExprFuncDef(DbDatabase db,
java.lang.String func)
- Constructor for the DbExprFuncDef object
DbExprFuncDef
public DbExprFuncDef(DbDatabase db,
java.lang.String func,
java.lang.Object arg1)
- Constructor for the DbExprFuncDef object
DbExprFuncDef
public DbExprFuncDef(DbDatabase db,
java.lang.String func,
java.lang.Object arg1,
java.lang.Object arg2)
- Constructor for the DbExprFuncDef object
setSqlValues
public int setSqlValues(java.sql.PreparedStatement ps,
int i)
throws DbException,
java.sql.SQLException
- Sets the sqlValues attribute of the DbExprFuncDef object
- Specified by:
setSqlValues in class DbExpr
getQueryString
public java.lang.String getQueryString()
throws DbException
- Gets the queryString attribute of the DbExprFuncDef object
- Specified by:
getQueryString in class DbExpr
usesTables
public void usesTables(java.util.Set coll)
- Description of the Method
- Specified by:
usesTables in interface DbTableUser- Overrides:
usesTables in class DbExpr