|
||||||||||
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....).
Field Summary | |
(package private) java.lang.Object[] |
args
|
(package private) java.lang.String |
func
|
Fields inherited from class javatools.db.DbExpr |
db |
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, dateTrunc, equal, getString, greaterThan, greaterThanOrEqual, in, isNotNull, isNull, lessThan, lessThanOrEqual, like, lower, max, min, notEqual, notIn, or, setSqlValue, upper, usesTables |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.String func
java.lang.Object[] args
Constructor Detail |
public DbExprFuncDef(DbDatabase db, java.lang.String func)
db
- Description of Parameterfunc
- Description of Parameterpublic DbExprFuncDef(DbDatabase db, java.lang.String func, java.lang.Object arg1)
db
- Description of Parameterfunc
- Description of Parameterarg1
- Description of Parameterpublic DbExprFuncDef(DbDatabase db, java.lang.String func, java.lang.Object arg1, java.lang.Object arg2)
db
- Description of Parameterfunc
- Description of Parameterarg1
- Description of Parameterarg2
- Description of ParameterMethod Detail |
public int setSqlValues(java.sql.PreparedStatement ps, int i) throws DbException, java.sql.SQLException
setSqlValues
in class DbExpr
ps
- The new sqlValues valuei
- The new sqlValues value
DbException
- Description of Exception
java.sql.SQLException
- Description of Exceptionpublic java.lang.String getQueryString() throws DbException
getQueryString
in class DbExpr
DbException
- Description of Exceptionpublic void usesTables(java.util.Set coll)
usesTables
in class DbExpr
coll
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |