|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.db.sql.Query
com.caucho.db.sql.SelectQuery
com.caucho.db.sql.ExistsQuery
public class ExistsQuery
Field Summary |
---|
Fields inherited from class com.caucho.db.sql.Query |
---|
_whereExpr |
Constructor Summary | |
---|---|
protected |
ExistsQuery(Database db,
java.lang.String sql)
|
Method Summary | |
---|---|
void |
execute(QueryContext queryCtx,
DbTransaction xa)
Executes the query. |
boolean |
exists(QueryContext context,
DbTransaction xa)
Executes the query. |
Methods inherited from class com.caucho.db.sql.SelectQuery |
---|
bind, executeCursor, isSelect, nextCursor, setGroupResult, setLimit, toString |
Methods inherited from class com.caucho.db.sql.Query |
---|
bind, freeRows, generateWhere, getDatabase, getDataFields, getFromItems, getParamExprs, getParent, getSubSelect, getWhereExprs, isGroup, isReadOnly, nextTuple, setDataFields, setFromItems, setFromItems, setGroup, setParams, setParent, setSubSelect, setWhereExpr, setWhereExprs, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected ExistsQuery(Database db, java.lang.String sql) throws java.sql.SQLException
java.sql.SQLException
Method Detail |
---|
public boolean exists(QueryContext context, DbTransaction xa) throws java.sql.SQLException
java.sql.SQLException
public void execute(QueryContext queryCtx, DbTransaction xa) throws java.sql.SQLException
execute
in class SelectQuery
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |