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. sealed trait AbstractCommand extends AnyRef

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

    Implements the Aggregation Framework.

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

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

  5. case class CollStats(scale: Option[Int] = 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, indexSizes: Array[(String, Int)], capped: Boolean, max: Option[Long]) extends Product with Serializable

    Various information about a collection.

    Various information about a collection.

    ns

    The fully qualified collection name.

    count

    The number of documents in this collection.

    size

    The size in bytes (or in bytes / scale, if any).

    averageObjectSize

    The average object size in bytes (or in bytes / scale, if any).

    storageSize

    Preallocated space for the collection.

    numExtents

    Number of extents (contiguously allocated chunks of datafile space, only for mmapv1 storage engine).

    nindexes

    Number of indexes.

    lastExtentSize

    Size of the most recently created extent (only for mmapv1 storage engine).

    paddingFactor

    Padding can speed up updates if documents grow (only for mmapv1 storage engine).

    systemFlags

    System flags.

    userFlags

    User flags.

    indexSizes

    Size of specific indexes in bytes.

    capped

    States if this collection is capped.

    max

    The maximum number of documents of this collection, if capped.

  7. trait CollectionCommand extends AbstractCommand

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

  9. trait Command extends AbstractCommand

  10. trait CommandError extends Exception with NoStackTrace

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

  12. trait CommandWithResult[R] extends AnyRef

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

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

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

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

    Creates the given indexes on the specified collection.

    db

    the database name

    indexes

    the indexes to be created

  17. trait CursorCommand extends AnyRef

  18. trait CursorFetcher[P <: SerializationPack, C[A] <: Cursor[A]] extends AnyRef

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

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

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

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

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

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

    wtimeout

    the time limit

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

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

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

  28. case class LastError(ok: Boolean, err: 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]) extends Exception with WriteResult with Product with Serializable

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

    Lists the indexes of the specified collection.

    Lists the indexes of the specified collection.

    db

    the database name

  30. trait Mongo26WriteCommand extends AnyRef

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

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

  33. case class ReplSetMember(_id: Long, name: String, health: Int, state: Int, stateStr: String, uptime: Long, optime: Long, lastHeartbeat: Long, lastHeartbeatRecv: 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.

    Replica set member.

    name

    the member name (e.g. "host:port")

    health

    the health indicator for this member

    state

    the state code of the member

    stateStr

    the string representation of the state

    uptime

    the number of seconds that this member has been online

    optime

    information regarding the last operation from the operation log that this member has applied

    lastHeartbeat

    the time of the transmission time of last heartbeat received from this member

    lastHeartbeatRecv

    the time that the last heartbeat was received from this member

    lastHeartbeatMessage

    an optional message from the last heartbeat

    electionTime

    if the member is the primary, the time it was elected as

    self

    indicates which replica set member processed the replSetGetStatus command

    pingMs

    the number of milliseconds (ms) that a round-trip packet takes to travel between the remote member and the local instance (does not appear for the member that returns the rs.status() data)

    syncingTo

    the hostname of the member from which this instance is syncing (only present on the output of rs.status() on secondary and recovering members)

    configVersion

    the configuration version (since MongoDB 3.0)

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

    Result from the replSetGetStatus.

    Result from the replSetGetStatus.

    name

    the name of the replica set

    time

    the current server time

    members

    the list of the members of this replicate set

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

    collection

    the name of the collection against which the command is executed

    command

    the executed command

  36. sealed trait ServerProcess extends AnyRef

  37. case class ServerStatusResult(host: String, version: String, process: ServerProcess, pid: Long, uptime: Long, uptimeMillis: Long, uptimeEstimate: Long, localTime: Long) extends Product with Serializable

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

  39. 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 Exception with WriteResult with Product with Serializable

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

  41. type WriteConcern = GetLastError

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

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

  44. sealed trait WriteResult extends Exception with DatabaseException with NoStackTrace

Value Members

  1. object Command

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

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

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

  5. object GetLastError extends Serializable

  6. object ListCollectionNames extends Command with CommandWithResult[CollectionNames]

    List the names of DB collections.

  7. object MongodProcess extends ServerProcess with Product with Serializable

  8. object MongosProcess extends ServerProcess with Product with Serializable

  9. object MultiBulkWriteResult extends Serializable

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

    The command replSetGetStatus]]

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

    Server status

  12. object UnitBox extends BoxedAnyVal[Unit]

  13. val WriteConcern: GetLastError.type

  14. package bson

Inherited from AnyRef

Inherited from Any

Ungrouped