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

  5. final class Collation extends AnyRef

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

  6. trait CollectionCommand extends AbstractCommand

  7. trait Command extends AbstractCommand

  8. trait CommandError extends Exception with NoStackTrace

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

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

  10. trait CommandWithResult[R] extends AnyRef

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

    Fetches a cursor from MongoDB results.

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

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

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

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

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

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

    Result from the replSetGetStatus.

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

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

  20. sealed trait ServerProcess extends AnyRef

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

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

    Only for the MMAPv1 storage engine.

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

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

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

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

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

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

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

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

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

  32. abstract class Upserted extends Product with Serializable

  33. class UserRole extends AnyRef

    User role

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

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

  36. sealed trait WriteResult extends AnyRef

  37. sealed trait AbstractCommand extends AnyRef

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Will be removed; See Command

  38. class Capped extends Product with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

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

    Annotations
    @deprecated
    Deprecated

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

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

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

    Creates the given indexes on the specified collection.

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.4) Will be removed

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

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

    Implements the delete command.

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

    The distinct command.

  50. class DropCollectionResult extends Product with Serializable

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

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

    Implements the insert command.

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Lists the indexes of the specified collection.

  58. trait Mongo26WriteCommand extends AnyRef

    Annotations
    @deprecated
    Deprecated

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

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

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

    The replSetMaintenance command.

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

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

    Implements the update command.

  63. type WriteConcern = GetLastError

    Annotations
    @deprecated
    Deprecated

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

Deprecated Value Members

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  2. object DropCollection extends CollectionCommand with CommandWithResult[DropCollectionResult]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

  6. object GetLastError extends Serializable

    Annotations
    @deprecated
    Deprecated

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

  7. object ListCollectionNames extends Command with CommandWithResult[CollectionNames]

    List the names of DB collections.

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.16.0) Internal: will be made private

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

    The ping command.

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

    The command replSetGetStatus

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0) Internal: will be made private

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

    The command resync

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

    Server status

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