Package

reactivemongo.core

commands

Permalink

package commands

Linear Supertypes
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. trait BSONCommandError extends Exception with CommandError

    Permalink

    A command error that optionally holds the original TraversableBSONDocument

  2. trait BSONCommandResultMaker[Result] extends CommandResultMaker[Result]

    Permalink
  3. case class CappedOptions(size: Long, maxDocuments: Option[Int] = None) extends Product with Serializable

    Permalink
  4. case class CollStatsResult(ns: String, count: Int, size: Double, averageObjectSize: Option[Double], storageSize: Double, numExtents: 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).

    nindexes

    Number of indexes.

    lastExtentSize

    Size of the most recently created extent.

    paddingFactor

    Padding can speed up updates if documents grow.

    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.

  5. trait Command[Result] extends AnyRef

    Permalink

    A MongoDB Command.

    A MongoDB Command.

    Basically, it's as query that is performed on any db.$cmd collection and gives back one document as a result.

  6. trait CommandError extends Exception with ReactiveMongoException

    Permalink

    A generic command error.

  7. trait CommandResultMaker[Result] extends AnyRef

    Permalink

    Handler for deserializing commands results.

    Handler for deserializing commands results.

    Result

    The result type of this command.

  8. class DefaultCommandError extends Exception with BSONCommandError

    Permalink

    A default command error, which may contain the original BSONDocument of the response.

  9. class MakableCommand extends AnyRef

    Permalink

    A makable command, that can produce a request maker ready to be sent to a reactivemongo.core.actors.MongoDBSystem actor.

  10. sealed trait ScramFinalNegociation extends Command[SuccessfulAuthentication]

    Permalink
  11. case class AddToSet(field: String) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  12. case class Aggregate(collectionName: String, pipeline: Seq[PipelineOperator]) extends Command[Stream[BSONDocument]] with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  13. case class Ascending(field: String) extends SortOrder with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  14. sealed trait AuthenticationResult extends AnyRef

    Permalink

    An authentication result

    An authentication result

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0) Internal: will be made private

  15. case class Avg(field: String) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  16. case class Descending(field: String) extends SortOrder with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  17. sealed abstract class FailedAuthentication extends Exception with BSONCommandError with AuthenticationResult with Product with Serializable

    Permalink

    A failed authentication result

    A failed authentication result

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.1) Internal: will be made private

  18. case class First(field: String) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  19. case class Group(identifiers: BSONValue)(ops: (String, GroupFunction)*) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  20. case class GroupField(idField: String)(ops: (String, GroupFunction)*) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  21. sealed trait GroupFunction extends AnyRef

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  22. case class GroupMulti(idField: (String, String)*)(ops: (String, GroupFunction)*) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  23. case class Last(field: String) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  24. case class Limit(limit: Int) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  25. case class Match(predicate: BSONDocument) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  26. case class Max(field: String) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  27. case class Min(field: String) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  28. sealed trait PipelineOperator extends AnyRef

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  29. case class Project(fields: (String, BSONValue)*) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  30. case class Push(field: String) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  31. case class PushMulti(fields: (String, String)*) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  32. case class ReplaceRoot(newRoot: BSONDocument) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  33. case class ReplaceRootField(newRoot: String) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  34. case class Skip(skip: Int) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  35. case class Sort(fields: Seq[SortOrder]) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  36. sealed trait SortOrder extends AnyRef

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  37. sealed trait SuccessfulAuthentication extends AuthenticationResult

    Permalink

    A successful authentication result.

    A successful authentication result.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0) Internal: will be made private

  38. case class SumField(field: String) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  39. case class SumValue(value: Int) extends GroupFunction with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  40. case class Unwind(field: String) extends PipelineOperator with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  41. case class VerboseSuccessfulAuthentication(db: String, user: String, readOnly: Boolean) extends SuccessfulAuthentication with Product with Serializable

    Permalink

    A verbose successful authentication result (MongoDB >= 2.2).

    A verbose successful authentication result (MongoDB >= 2.2).

    Previous versions of MongoDB only return ok = BSONDouble(1.0).

    db

    the database name

    user

    the user name

    readOnly

    states if the authentication gives us only the right to read from the database.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0) Internal: will be made private

Deprecated Value Members

  1. object Aggregate extends BSONCommandResultMaker[Stream[BSONDocument]] with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  2. object GetCrNonce extends Command[String]

    Permalink

    Getnonce Command for Mongo CR authentication.

    Getnonce Command for Mongo CR authentication.

    Gets a nonce for authentication token.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0) Internal: will be made private

  3. object GroupFunction

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use reactivemongo.api.collections.GenericCollection.aggregateWith

  4. object SilentSuccessfulAuthentication extends SuccessfulAuthentication

    Permalink

    A silent successful authentication result (MongoDB <= 2.0).

    A silent successful authentication result (MongoDB <= 2.0).

    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0) Internal: will be made private

Inherited from AnyRef

Inherited from Any

Ungrouped