Package

reactivemongo.api

commands

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AbstractCommand extends AnyRef

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

    Permalink

    Implements the Aggregation Framework.

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

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

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

    Permalink
  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

    Permalink

    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

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

    Permalink
  9. trait Command extends AbstractCommand

    Permalink
  10. trait CommandError extends Exception with NoStackTrace

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

    Permalink
  12. trait CommandWithResult[R] extends AnyRef

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

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

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

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

    Permalink

    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

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

    Permalink
  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

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

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

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

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

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

    Permalink

    wtimeout

    the time limit

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

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

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

    Permalink
  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

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

    Permalink

    Lists the indexes of the specified collection.

    Lists the indexes of the specified collection.

    db

    the database name

  30. trait Mongo26WriteCommand extends AnyRef

    Permalink
  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

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

    Permalink
  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

    Permalink

    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

    Permalink

    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

    Permalink

    collection

    the name of the collection against which the command is executed

    command

    the executed command

  36. sealed trait ServerProcess extends AnyRef

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

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

    Permalink
  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

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

    Permalink
  41. type WriteConcern = GetLastError

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

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

    Permalink
  44. sealed trait WriteResult extends Exception with DatabaseException with NoStackTrace

    Permalink

Value Members

  1. object Command

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

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

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

    Permalink
  5. object GetLastError extends Serializable

    Permalink
  6. object ListCollectionNames extends Command with CommandWithResult[CollectionNames]

    Permalink

    List the names of DB collections.

  7. object MongodProcess extends ServerProcess with Product with Serializable

    Permalink
  8. object MongosProcess extends ServerProcess with Product with Serializable

    Permalink
  9. object MultiBulkWriteResult extends Serializable

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

    Permalink

    The command replSetGetStatus]]

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

    Permalink

    Server status

  12. object UnitBox extends BoxedAnyVal[Unit]

    Permalink
  13. val WriteConcern: GetLastError.type

    Permalink
  14. package bson

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped