Uses of Class
com.mongodb.CommandResult

Packages that use CommandResult
com.mongodb Main package with core files. 
 

Uses of CommandResult in com.mongodb
 

Fields in com.mongodb declared as CommandResult
protected  CommandResult AggregationOutput._commandResult
           
 

Methods in com.mongodb that return CommandResult
 CommandResult DB.authenticateCommand(String username, char[] password)
          Authenticates to db with the given name and password
 CommandResult DB.command(DBObject cmd)
          Executes a database command.
 CommandResult DB.command(DBObject cmd, DBEncoder encoder)
          Executes a database command.
 CommandResult DB.command(DBObject cmd, int options)
          Executes a database command.
 CommandResult DB.command(DBObject cmd, int options, DBEncoder encoder)
          Executes a database command.
 CommandResult DB.command(DBObject cmd, int options, ReadPreference readPrefs)
          Executes a database command.
 CommandResult DB.command(DBObject cmd, int options, ReadPreference readPrefs, DBEncoder encoder)
          Executes a database command.
 CommandResult DB.command(String cmd)
          Executes a database command.
 CommandResult DB.command(String cmd, int options)
          Executes a database command.
 CommandResult DB.doEval(String code, Object... args)
          evaluates a function on the database.
 CommandResult Mongo.fsync(boolean async)
          Forces the master server to fsync the RAM data to disk This is done automatically by the server at intervals, but can be forced for better reliability.
 CommandResult Mongo.fsyncAndLock()
          Forces the master server to fsync the RAM data to disk, then lock all writes.
 CommandResult WriteResult.getCachedLastError()
          Gets the last result from getLastError()
 CommandResult MapReduceOutput.getCommandResult()
           
 CommandResult AggregationOutput.getCommandResult()
          returns the command result of the aggregation
 CommandResult DB.getLastError()
          Gets the the error (if there is one) from the previous operation on this connection.
 CommandResult WriteResult.getLastError()
          calls WriteResult.getLastError(com.mongodb.WriteConcern) with concern=null
 CommandResult DB.getLastError(int w, int wtimeout, boolean fsync)
           
 CommandResult DB.getLastError(WriteConcern concern)
           
 CommandResult WriteResult.getLastError(WriteConcern concern)
          This method does following: - returns the existing CommandResult if concern is null or less strict than the concern it was obtained with - otherwise attempts to obtain a CommandResult by calling getLastError with the concern
 CommandResult DB.getPreviousError()
          Returns the last error that occurred since start of database or a call to resetError() The return object will look like
 CommandResult DB.getStats()
          Returns the result of "dbstats" command
 CommandResult DBCollection.getStats()
          gets the collections statistics ("collstats" command)
 

Constructors in com.mongodb with parameters of type CommandResult
AggregationOutput(DBObject cmd, CommandResult raw)
           
MapReduceOutput(DBCollection from, DBObject cmd, CommandResult raw)