Uses of Class
org.ejdb.driver.EJDBException

Packages that use EJDBException
org.ejdb.driver   
 

Uses of EJDBException in org.ejdb.driver
 

Methods in org.ejdb.driver that throw EJDBException
protected  BSONObject EJDBResultSet._get(int position)
          Returns object by position
protected  EJDBQueryBuilder EJDBQueryBuilder.addHint(java.lang.String name, java.lang.Object value)
          Adds pair name->value to hints BSON object.
 void EJDBCollection.beginTransaction()
          Begin collection transaction.
protected  void EJDBQueryBuilder.checkHintsAvailable()
          Checks hints section allowed.
 void EJDB.close()
          Close database.
 void EJDBResultSet.close()
          
 void EJDBCollection.commitTransaction()
          Commit collection transaction.
 int EJDBQuery.count()
          Convenient count(*) operation
 int EJDBQuery.count(java.io.OutputStream log)
          Convenient count(*) operation
 void EJDBCollection.drop()
          Drop collection.
 void EJDBCollection.drop(boolean prune)
          Drop collection.
 void EJDBCollection.dropArrayIndex(java.lang.String path)
          Drop index of Array type for BSON field path.
 void EJDB.dropCollection(java.lang.String cname)
          Drop collection by name.
 void EJDB.dropCollection(java.lang.String cname, boolean prune)
          Drop collection.
 void EJDBCollection.dropIndexes(java.lang.String path)
          Drops indexes of all types for BSON field path.
 void EJDBCollection.dropIStringIndex(java.lang.String path)
          Drop case insensitive String index for BSON field path.
 void EJDBCollection.dropNumderIndex(java.lang.String path)
          Drop index of Number type for BSON field path.
 void EJDBCollection.dropStringIndex(java.lang.String path)
          Drop index of String type for BSON field path.
 void EJDBCollection.ensureArrayIndex(java.lang.String path)
          Ensure index presence of Array type for BSON field path
 EJDBCollection EJDB.ensureCollection(java.lang.String cname)
          Automatically creates new collection if it does't exists with using default collection options
 EJDBCollection EJDB.ensureCollection(java.lang.String cname, EJDBCollection.Options opts)
          Automatically creates new collection if it does't exists.
 void EJDBCollection.ensureExists()
          Automatically creates new collection if it does't exists with using default collection options.
 void EJDBCollection.ensureExists(EJDBCollection.Options opts)
          Automatically creates new collection if it does't exists.
 void EJDBCollection.ensureIStringIndex(java.lang.String path)
          Ensure case insensitive String index for BSON field path
 void EJDBCollection.ensureNumderIndex(java.lang.String path)
          Ensure index presence of Number type for BSON field path
 void EJDBCollection.ensureStringIndex(java.lang.String path)
          Ensure index presence of String type for BSON field path
protected  org.ejdb.driver.EJDBQuery.QResult EJDBQuery.execute(BSONObject query, BSONObject[] qors, BSONObject hints, int flags, java.io.OutputStream log)
           
protected  org.ejdb.driver.EJDBQuery.QResult EJDBQuery.execute(BSONObject hints, int flags, java.io.OutputStream log)
           
 BSONObject EJDB.executeCommand(BSONObject command)
          Executes ejdb database command.
 EJDBResultSet EJDBQuery.find()
          Execute query
 EJDBResultSet EJDBQuery.find(java.io.OutputStream log)
          Execute query
 BSONObject EJDBQuery.findOne()
          Same as EJDBQuery.find() but retrieves only one matching JSON object.
 BSONObject EJDBQuery.findOne(java.io.OutputStream log)
          Same as EJDBQuery.find() but retrieves only one matching JSON object.
 BSONObject EJDBResultSet.get(int position)
          Returns object by position
 EJDBCollection EJDB.getCollection(java.lang.String cname)
          Returns collection object (without automatical creation)
 EJDBCollection EJDB.getCollection(java.lang.String cname, boolean ecreate)
          Returns collection object
 EJDBCollection EJDB.getCollection(java.lang.String cname, boolean ecreate, EJDBCollection.Options opts)
          Returns collection object
 boolean EJDBCollection.isTransactionActive()
          Get collection transaction status.
 BSONObject EJDBCollection.load(ObjectId oid)
          Loads BSON object identified by OID from the collection.
 BSONObject EJDBResultSet.next()
          
 void EJDB.open(java.lang.String path)
          Open database using default open mode.
 void EJDB.open(java.lang.String path, int mode)
          Open database.
 void EJDBCollection.optimizeIndexes(java.lang.String path)
          Optimize indexes of all types for BSON field path
 EJDBQueryBuilder EJDBQueryBuilder.or()
          Add OR joined query restrictions.
 void EJDBCollection.rebuildArrayIndex(java.lang.String path)
          Rebuild index of Array type for BSON field path.
 void EJDBCollection.rebuildIStringIndex(java.lang.String path)
          Rebuild case insensitive String index for BSON field path.
 void EJDBCollection.rebuildNumderIndex(java.lang.String path)
          Rebuild index of Number type for BSON field path.
 void EJDBCollection.rebuildStringIndex(java.lang.String path)
          Rebuild index of String type for BSON field path.
 void EJDBCollection.remove(ObjectId oid)
          Remove BSON object from collection by OID
 void EJDBCollection.rollbackTransaction()
          Abort collection transaction.
 ObjectId EJDBCollection.save(BSONObject object)
          Save/update specified BSON object in the collection.
 java.util.List<ObjectId> EJDBCollection.save(java.util.List<BSONObject> objects)
          Save/update specified BSON objects in the collection.
protected  void EJDBCollection.setIndex(java.lang.String path, int flags)
           
 void EJDB.sync()
          Synchronize entire EJDB database and all its collections with storage.
 void EJDBCollection.sync()
          Synchronize entire collection with storage.
protected  boolean EJDBCollection.txControl(int mode)
           
 int EJDBQuery.update()
          Executes update query
 int EJDBQuery.update(java.io.OutputStream log)
          Executes update query
 void EJDB.updateMeta()
          Update description of EJDB database and its collections.
 void EJDBCollection.updateMeta()
          Update collection metainformation from storage