reactivemongo.api

commands

package commands

Linear Supertypes
AnyRef, Any
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. trait AggregationFramework[P <: SerializationPack] extends ImplicitCommandHelpers[P] with GroupAggregation[P] with SliceAggregation[P] with SortAggregation[P] with AggregationPipeline[P]

    Implements the Aggregation Framework.

  2. sealed trait AuthenticationRestriction extends AnyRef

    Authentication restriction for user (since MongoDB 3.

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

  4. trait CollectionCommand extends AbstractCommand

  5. trait Command extends AbstractCommand

  6. trait CommandError extends Exception with NoStackTrace

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

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

  8. trait CommandWithResult[R] extends AnyRef

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

    Fetches a cursor from MongoDB results.

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

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

  12. 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

  13. 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.

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

    Result from the replSetGetStatus.

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

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

  17. sealed trait ServerProcess extends AnyRef

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

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

    Only for the MMAPv1 storage engine.

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

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

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

  23. 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.

  24. 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.

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

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

  27. 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

  28. 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

  29. abstract class Upserted extends Product with Serializable

  30. class UserRole extends AnyRef

    User role

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

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

  33. sealed trait WriteResult extends AnyRef

  34. sealed trait AbstractCommand extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Will be removed; See Command

  35. class Capped extends Product with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  36. class CollStats extends Product with Serializable with CollectionCommand with CommandWithResult[CollStatsResult]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  37. 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.

  38. type Collation = api.Collation

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.8) Will be replaced by reactivemongo.api.Collation

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  40. class ConvertToCapped extends Product with Serializable with CollectionCommand with CommandWithResult[UnitBox.type]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Use new reactivemongo.api.collections.CountOp

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  43. class CreateIndexes extends Product with Serializable with CollectionCommand with CommandWithResult[WriteResult]

    Creates the given indexes on the specified collection.

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  45. 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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Implements the delete command.

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

    The distinct command.

  48. class DropCollectionResult extends Product with Serializable

  49. class DropIndexes extends Product with Serializable with CollectionCommand with CommandWithResult[DropIndexesResult]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

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

    Implements the insert command.

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  55. class ListIndexes extends Product with Serializable with CollectionCommand with CommandWithResult[List[Index]]

    Lists the indexes of the specified collection.

  56. trait Mongo26WriteCommand extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Will be removed as EOL for 2.6

  57. 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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.8) Will be replaced by reactivemongo.api.MultiWriteResult

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  59. class ReplSetMaintenance extends Product with Serializable with Command with CommandWithResult[UnitBox.type]

    The replSetMaintenance command.

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

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

    Implements the update command.

  62. type WriteConcern = GetLastError

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Will be replaced by reactivemongo.api.commands.WriteConcern

Deprecated Value Members

  1. val Collation: api.Collation.type

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.8) Will be replaced by reactivemongo.api.Collation

  2. object CreateIndexes extends AbstractFunction2[String, List[Index], CreateIndexes] with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  3. object DropCollection extends CollectionCommand with CommandWithResult[DropCollectionResult]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  5. object DropIndexes extends AbstractFunction1[String, DropIndexes] with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  7. object GetLastError extends Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Will be replaced by reactivemongo.api.commands.WriteConcern

  8. object ListCollectionNames extends Command with CommandWithResult[CollectionNames]

    List the names of DB collections.

  9. object ListIndexes extends AbstractFunction1[String, ListIndexes] with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  10. object MultiBulkWriteResult extends Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.8) Will be replaced by reactivemongo.api.MultiWriteResult

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

    The ping command.

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

    The command replSetGetStatus

  13. object ReplSetMaintenance extends AbstractFunction1[Boolean, ReplSetMaintenance] with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0) Internal: will be made private

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

    The command resync

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

    Server status

  16. val WriteConcern: GetLastError.type

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Will be replaced by reactivemongo.api.commands.WriteConcern

Inherited from AnyRef

Inherited from Any

Ungrouped