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] = scala.None) extends Product with Serializable

  5. case class CollStats(scale: Option[Int] = scala.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], maxSize: Option[Double] = scala.None) extends Product with Serializable

    Various information about a collection.

  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] = scala.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.

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

    Fetches a cursor from MongoDB results.

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

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

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

    The distinct command.

  21. case class DropCollectionResult(dropped: Boolean) extends Product with Serializable

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

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

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

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

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

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

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

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

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

    Lists the indexes of the specified collection.

  31. trait Mongo26WriteCommand extends AnyRef

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

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

  34. case class ReplSetMaintenance(enable: Boolean = true) extends Command with CommandWithResult[UnitBox.type] with Product with Serializable

    The replSetMaintenance command.

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

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

    Result from the replSetGetStatus.

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

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

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

  40. sealed trait ServerProcess extends AnyRef

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

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

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

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

  45. type WriteConcern = GetLastError

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

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

  48. sealed trait WriteResult extends AnyRef

Value Members

  1. object Command

  2. object DropCollection extends CollectionCommand with CommandWithResult[DropCollectionResult]

  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 Resync extends Command with CommandWithResult[ResyncResult.type]

    The command resync

  12. object ResyncResult extends BoxedAnyVal[Unit]

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

    Server status

  14. object UnitBox extends BoxedAnyVal[Unit]

  15. val WriteConcern: GetLastError.type

  16. object WriteResult

  17. package bson

Deprecated Value Members

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

    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use DropCollection

Inherited from AnyRef

Inherited from Any

Ungrouped