reactivemongo.api

commands

package commands

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. commands
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AbstractCommand extends AnyRef

  2. trait AggregationFramework[P <: SerializationPack] extends ImplicitCommandHelpers[P] with GroupAggregation[P] with AggregationPipeline[P]

    Implements the Aggregation Framework.

  3. trait BoxedAnyVal[A <: AnyVal] extends AnyRef

  4. case class Capped(size: Long, max: Option[Int] = scala.None) extends Product with Serializable

  5. case class CollStats(scale: Option[Int] = scala.None) extends CollectionCommand with CommandWithResult[CollStatsResult] with Product with Serializable

  6. case class CollStatsResult(ns: String, count: Int, size: Double, averageObjectSize: Option[Double], storageSize: Double, numExtents: Option[Int], nindexes: Int, lastExtentSize: Option[Int], paddingFactor: Option[Double], systemFlags: Option[Int], userFlags: Option[Int], totalIndexSize: Int, sizePerIndex: List[(String, Int)], capped: Boolean, max: Option[Long], maxSize: Option[Double] = scala.None) extends Product with Serializable

    Various information about a collection.

  7. final class Collation extends AnyRef

    Represents a collection, view, index or operation specific collation.

  8. trait CollectionCommand extends AbstractCommand

  9. case class CollectionNames(names: List[String]) extends Product with Serializable

  10. trait Command extends AbstractCommand

  11. trait CommandError extends Exception with NoStackTrace

    Base definition for all the errors for the command execution errors.

  12. trait CommandWithPack[P <: SerializationPack] extends AnyRef

  13. trait CommandWithResult[R] extends AnyRef

  14. case class ConvertToCapped(capped: Capped) extends CollectionCommand with CommandWithResult[UnitBox.type] with Product with Serializable

  15. trait CountCommand[P <: SerializationPack] extends ImplicitCommandHelpers[P]

  16. case class Create(capped: Option[Capped] = scala.None, autoIndexId: Boolean = true, flags: Int = 1) extends CollectionCommand with CommandWithResult[UnitBox.type] with Product with Serializable

  17. case class CreateIndexes(db: String, indexes: List[Index]) extends CollectionCommand with CommandWithResult[WriteResult] with Product with Serializable

    Creates the given indexes on the specified collection.

  18. trait CreateUserCommand[P <: SerializationPack] extends ImplicitCommandHelpers[P]

  19. trait CursorFetcher[P <: SerializationPack, +C[_] <: Cursor[_]] extends AnyRef

    Fetches a cursor from MongoDB results.

  20. final case class DBHashResult(host: String, collectionHashes: Map[String, String], md5: String, timeMillis: Long) extends Product with Serializable

  21. case class DBUserRole(name: String, db: String) extends UserRole with Product with Serializable

  22. case class DefaultWriteResult(ok: Boolean, n: Int, writeErrors: Seq[WriteError], writeConcernError: Option[WriteConcernError], code: Option[Int], errmsg: Option[String]) extends WriteResult with Product with Serializable

  23. trait DeleteCommand[P <: SerializationPack] extends ImplicitCommandHelpers[P]

    Implements the delete command.

  24. trait DistinctCommand[P <: SerializationPack] extends ImplicitCommandHelpers[P]

    The distinct command.

  25. case class DropCollectionResult(dropped: Boolean) extends Product with Serializable

  26. case class DropIndexes(index: String) extends CollectionCommand with CommandWithResult[DropIndexesResult] with Product with Serializable

  27. case class DropIndexesResult(value: Int) extends BoxedAnyVal[Int] with Product with Serializable

  28. trait FindAndModifyCommand[P <: SerializationPack] extends ImplicitCommandHelpers[P]

  29. case class GetLastError(w: W, j: Boolean, fsync: Boolean, wtimeout: Option[Int] = scala.None) extends Command with CommandWithResult[LastError] with Product with Serializable

  30. trait ImplicitCommandHelpers[P <: SerializationPack] extends AnyRef

  31. trait InsertCommand[P <: SerializationPack] extends ImplicitCommandHelpers[P]

    Implements the insert command.

  32. trait IsMasterCommand[P <: SerializationPack] extends AnyRef

  33. case class LastError(ok: Boolean, errmsg: Option[String], code: Option[Int], lastOp: Option[Long], n: Int, singleShard: Option[String], updatedExisting: Boolean, upserted: Option[BSONValue], wnote: Option[W], wtimeout: Boolean, waited: Option[Int], wtime: Option[Int], writeErrors: Seq[WriteError] = immutable.this.Nil, writeConcernError: Option[WriteConcernError] = scala.None) extends Exception with DatabaseException with WriteResult with NoStackTrace with Product with Serializable

  34. case class ListIndexes(db: String) extends CollectionCommand with CommandWithResult[List[Index]] with Product with Serializable

    Lists the indexes of the specified collection.

  35. case class MultiBulkWriteResult(ok: Boolean, n: Int, nModified: Int, upserted: Seq[Upserted], writeErrors: Seq[WriteError], writeConcernError: Option[WriteConcernError], code: Option[Int], errmsg: Option[String], totalN: Int) extends Product with Serializable

  36. case class RenameCollection(fullyQualifiedCollectionName: String, fullyQualifiedTargetName: String, dropTarget: Boolean = false) extends Command with CommandWithResult[UnitBox.type] with Product with Serializable

  37. case class ReplSetMaintenance(enable: Boolean = true) extends Command with CommandWithResult[UnitBox.type] with Product with Serializable

    The replSetMaintenance command.

  38. case class ReplSetMember(_id: Long, name: String, health: Int, state: Int, stateStr: String, uptime: Long, optime: Long, lastHeartbeat: Option[Long], lastHeartbeatRecv: Option[Long], lastHeartbeatMessage: Option[String], electionTime: Option[Long], self: Boolean, pingMs: Option[Long], syncingTo: Option[String], configVersion: Option[Int]) extends Product with Serializable

    Replica set member.

  39. case class ReplSetStatus(name: String, time: Long, myState: Int, members: List[ReplSetMember]) extends Product with Serializable

    Result from the replSetGetStatus.

  40. final case class ResolvedCollectionCommand[C <: CollectionCommand](collection: String, command: C) extends Command with Product with Serializable

  41. case class ResponseResult[R](response: Response, numberToReturn: Int, value: R) extends Product with Serializable

  42. case class ResultCursor(cursorId: Long, fullCollectionName: String) extends Product with Serializable

  43. sealed trait ServerProcess extends AnyRef

  44. case class ServerStatusAsserts(regular: Int, warning: Int, msg: Int, user: Int, rollovers: Int) extends Product with Serializable

  45. case class ServerStatusBackgroundFlushing(flushes: Int, totalMs: Long, averageMs: Long, lastMs: Long, lastFinished: Long) extends Product with Serializable

    Only for the MMAPv1 storage engine.

  46. case class ServerStatusConnections(current: Int, available: Int, totalCreated: Long) extends Product with Serializable

  47. case class ServerStatusExtraInfo(heapUsageBytes: Int, pageFaults: Int) extends Product with Serializable

  48. case class ServerStatusGlobalLock(totalTime: Int, currentQueue: ServerStatusLock, activeClients: ServerStatusLock) extends Product with Serializable

  49. case class ServerStatusJournaling(commits: Int, journaledMB: Double, writeToDataFilesMB: Double, compression: Double, commitsInWriteLock: Int, earlyCommits: Int, timeMs: ServerStatusJournalingTime) extends Product with Serializable

    Only for the MMAPv1 storage engine with the journaling enabled.

  50. case class ServerStatusJournalingTime(dt: Long, prepLogBuffer: Long, writeToJournal: Long, writeToDataFiles: Long, remapPrivateView: Long, commits: Long, commitsInWriteLock: Long) extends Product with Serializable

    Only for the MMAPv1 storage engine with the journaling enabled.

  51. case class ServerStatusLock(total: Int, readers: Int, writers: Int) extends Product with Serializable

  52. case class ServerStatusNetwork(bytesIn: Int, bytesOut: Int, numRequests: Int) extends Product with Serializable

  53. case class ServerStatusResult(host: String, version: String, process: ServerProcess, pid: Long, uptime: Long, uptimeMillis: Long, uptimeEstimate: Long, localTime: Long, advisoryHostFQDNs: List[String], asserts: ServerStatusAsserts, backgroundFlushing: Option[ServerStatusBackgroundFlushing], connections: ServerStatusConnections, dur: Option[ServerStatusJournaling], extraInfo: Option[ServerStatusExtraInfo], globalLock: ServerStatusGlobalLock, network: ServerStatusNetwork) extends Product with Serializable

  54. trait UpdateCommand[P <: SerializationPack] extends ImplicitCommandHelpers[P]

    Implements the update command.

  55. case class UpdateWriteResult(ok: Boolean, n: Int, nModified: Int, upserted: Seq[Upserted], writeErrors: Seq[WriteError], writeConcernError: Option[WriteConcernError], code: Option[Int], errmsg: Option[String]) extends WriteResult with Product with Serializable

  56. case class Upserted(index: Int, _id: BSONValue) extends Product with Serializable

  57. class UserRole extends AnyRef

  58. type WriteConcern = GetLastError

  59. case class WriteConcernError(code: Int, errmsg: String) extends Product with Serializable

  60. case class WriteError(index: Int, code: Int, errmsg: String) extends Product with Serializable

  61. sealed trait WriteResult extends AnyRef

  62. trait Mongo26WriteCommand extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7)

Value Members

  1. object Collation

  2. object Command

  3. object CommandError extends Serializable

  4. object DropCollection extends CollectionCommand with CommandWithResult[DropCollectionResult]

  5. object DropDatabase extends Command with CommandWithResult[UnitBox.type]

  6. object EmptyCapped extends CollectionCommand with CommandWithResult[UnitBox.type]

  7. object GetLastError extends Serializable

  8. object ListCollectionNames extends Command with CommandWithResult[CollectionNames]

    List the names of DB collections.

  9. object MongodProcess extends ServerProcess with Product with Serializable

  10. object MongosProcess extends ServerProcess with Product with Serializable

  11. object MultiBulkWriteResult extends Serializable

  12. object PingCommand extends Command with CommandWithResult[Boolean] with Product with Serializable

    The ping command.

  13. object ReplSetGetStatus extends Command with CommandWithResult[ReplSetStatus] with Product with Serializable

    The command replSetGetStatus

  14. object Resync extends Command with CommandWithResult[ResyncResult.type]

    The command resync

  15. object ResyncResult extends BoxedAnyVal[Unit]

  16. object ServerProcess

  17. object ServerStatus extends Command with CommandWithResult[ServerStatusResult] with Product with Serializable

    Server status

  18. object UnitBox extends BoxedAnyVal[Unit]

  19. object UserRole

    User role extractor

  20. val WriteConcern: GetLastError.type

  21. object WriteResult

  22. package bson

Deprecated Value Members

  1. object Drop extends CollectionCommand with CommandWithResult[UnitBox.type]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use DropCollection

Inherited from AnyRef

Inherited from Any

Ungrouped