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[BSONObjectID], 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. 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

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

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

  36. case class Upserted(index: Int, _id: Any) extends Product with Serializable

  37. type WriteConcern = GetLastError

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

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

  40. 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 MultiBulkWriteResult extends Serializable

  8. object UnitBox extends BoxedAnyVal[Unit]

  9. val WriteConcern: GetLastError.type

  10. package bson

Inherited from AnyRef

Inherited from Any

Ungrouped