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. class DBUserRole extends UserRole with Product2[String, String] with Serializable

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

  12. class LastError extends Exception with DatabaseException with WriteResult with NoStackTrace with Product14[Boolean, Option[String], Option[Int], Option[Long], Int, Option[String], Boolean, Option[BSONValue], Option[W], Boolean, Option[Int], Option[Int], Seq[WriteError], Option[WriteConcernError]] with Serializable

  13. class ReplSetMember extends Product15[Long, String, Int, Int, String, Long, Long, Option[Long], Option[Long], Option[String], Option[Long], Boolean, Option[Long], Option[String], Option[Int]] with Serializable

    Replica set member.

  14. class ReplSetStatus extends Product4[String, Long, Int, List[ReplSetMember]] with Serializable

    Result from the replSetGetStatus.

  15. class ResultCursor extends Product2[Long, String] with Serializable

  16. sealed trait ServerProcess extends AnyRef

  17. abstract class Upserted extends Product with Serializable

  18. class UserRole extends AnyRef

    User role

  19. class WriteConcernError extends Product2[Int, String] with Serializable

  20. class WriteError extends Product3[Int, Int, String] with Serializable

  21. sealed trait WriteResult extends AnyRef

  22. sealed trait AbstractCommand extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Will be removed; See Command

  23. class Capped extends Product with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

  26. type Collation = api.Collation

    Annotations
    @deprecated
    Deprecated

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

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

    Annotations
    @deprecated
    Deprecated

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

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

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

    Creates the given indexes on the specified collection.

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

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

    Implements the delete command.

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

    The distinct command.

  36. class DropCollectionResult extends Product with Serializable

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

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

    Implements the insert command.

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Lists the indexes of the specified collection.

  44. trait Mongo26WriteCommand extends AnyRef

    Annotations
    @deprecated
    Deprecated

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

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

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

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

    The replSetMaintenance command.

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

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

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

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

    Only for the MMAPv1 storage engine.

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

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

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

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

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

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

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

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

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

    Implements the update command.

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  62. type WriteConcern = GetLastError

    Annotations
    @deprecated
    Deprecated

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

Value Members

  1. object AuthenticationRestriction

  2. object Capped extends AbstractFunction2[Long, Option[Int], Capped] with Serializable

  3. object CollStats extends AbstractFunction1[Option[Int], CollStats] with Serializable

  4. object Command

  5. object CommandError extends Serializable

  6. object ConvertToCapped extends AbstractFunction1[Capped, ConvertToCapped] with Serializable

  7. object DBUserRole extends AbstractFunction2[String, String, DBUserRole] with Serializable

  8. object DropCollectionResult extends AbstractFunction1[Boolean, DropCollectionResult] with Serializable

  9. object FindAndModifyCommand

  10. object LastError extends AbstractFunction14[Boolean, Option[String], Option[Int], Option[Long], Int, Option[String], Boolean, Option[BSONValue], Option[W], Boolean, Option[Int], Option[Int], Seq[WriteError], Option[WriteConcernError], LastError] with Serializable

  11. object MongodProcess extends ServerProcess with Product with Serializable

  12. object MongosProcess extends ServerProcess with Product with Serializable

  13. object ReplSetMember extends AbstractFunction15[Long, String, Int, Int, String, Long, Long, Option[Long], Option[Long], Option[String], Option[Long], Boolean, Option[Long], Option[String], Option[Int], ReplSetMember] with Serializable

  14. object ReplSetStatus extends AbstractFunction4[String, Long, Int, List[ReplSetMember], ReplSetStatus] with Serializable

  15. object ResultCursor extends AbstractFunction2[Long, String, ResultCursor] with Serializable

  16. object ResyncResult extends BoxedAnyVal[Unit]

  17. object ServerProcess

  18. object UnitBox extends BoxedAnyVal[Unit]

  19. object Upserted extends AbstractFunction2[Int, BSONValue, Upserted] with Serializable

  20. object UserRole

    User role extractor

  21. object WriteConcernError extends AbstractFunction2[Int, String, WriteConcernError] with Serializable

  22. object WriteError extends AbstractFunction3[Int, Int, String, WriteError] with Serializable

  23. object WriteResult

  24. package bson

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