|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ejdb.driver.EJDBQuery
public class EJDBQuery
EJDB Query object.
Field Summary | |
---|---|
protected static int |
JBQRYCOUNT
|
Method Summary | |
---|---|
int |
count()
Convenient count(*) operation |
int |
count(java.io.OutputStream log)
Convenient count(*) operation |
protected org.ejdb.driver.EJDBQuery.QResult |
execute(BSONObject query,
BSONObject[] qors,
BSONObject hints,
int flags,
java.io.OutputStream log)
|
protected org.ejdb.driver.EJDBQuery.QResult |
execute(BSONObject hints,
int flags,
java.io.OutputStream log)
|
EJDBResultSet |
find()
Execute query |
EJDBResultSet |
find(java.io.OutputStream log)
Execute query |
BSONObject |
findOne()
Same as find() but retrieves only one matching JSON object. |
BSONObject |
findOne(java.io.OutputStream log)
Same as find() but retrieves only one matching JSON object. |
int |
update()
Executes update query |
int |
update(java.io.OutputStream log)
Executes update query |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int JBQRYCOUNT
Method Detail |
---|
public EJDBResultSet find() throws EJDBException
EJDBException
public EJDBResultSet find(java.io.OutputStream log) throws EJDBException, java.io.IOException
EJDBException
java.io.IOException
public BSONObject findOne() throws EJDBException
find()
but retrieves only one matching JSON object.
EJDBException
public BSONObject findOne(java.io.OutputStream log) throws EJDBException, java.io.IOException
find()
but retrieves only one matching JSON object.
EJDBException
java.io.IOException
public int update() throws EJDBException
EJDBException
public int update(java.io.OutputStream log) throws EJDBException, java.io.IOException
EJDBException
java.io.IOException
public int count() throws EJDBException
EJDBException
public int count(java.io.OutputStream log) throws EJDBException, java.io.IOException
EJDBException
java.io.IOException
protected org.ejdb.driver.EJDBQuery.QResult execute(BSONObject hints, int flags, java.io.OutputStream log) throws EJDBException, java.io.IOException
EJDBException
java.io.IOException
protected org.ejdb.driver.EJDBQuery.QResult execute(BSONObject query, BSONObject[] qors, BSONObject hints, int flags, java.io.OutputStream log) throws EJDBException, java.io.IOException
EJDBException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |