reactivemongo.core

commands

package commands

Linear Supertypes
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. case class AddToSet(field: String) extends GroupFunction with Product with Serializable

  2. trait AdminCommand[Result] extends Command[Result]

    A command that targets the admin database only (administrative commands).

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

  4. sealed trait AuthenticationResult extends AnyRef

    an authentication result

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

  6. trait BSONCommandError extends Exception with CommandError

    A command error that optionally holds the original TraversableBSONDocument

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

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

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

    Various information about a collection.

  10. trait Command[Result] extends AnyRef

    A MongoDB Command.

  11. trait CommandError extends Exception with ReactiveMongoException

    A generic command error.

  12. trait CommandResultMaker[Result] extends AnyRef

    Handler for deserializing commands results.

  13. class DefaultCommandError extends Exception with BSONCommandError

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

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

  15. case class FailedAuthentication(message: String, originalDocument: Option[BSONDocument] = scala.None) extends Exception with BSONCommandError with AuthenticationResult with Product with Serializable

    A failed authentication result

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

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

    Groups documents together to calculate aggregates on document collections.

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

    Groups documents together to calculate aggregates on document collections.

  19. sealed trait GroupFunction extends AnyRef

    Represents one of the group operators for the "Group" Operation.

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

    Groups documents together to calculate aggregates on document collections.

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

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

    Limts the number of documents that pass through the stream.

  23. class MakableCommand extends AnyRef

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

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

    Filters out documents from the stream that do not match the predicate.

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

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

  27. sealed trait Modify extends AnyRef

    A modify operation, part of a FindAndModify command

  28. sealed trait PipelineOperator extends AnyRef

    One of MongoDBs pipeline operators for aggregation.

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

    Reshapes a document stream by renaming, adding, or removing fields.

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

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

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

    Promotes a specified document to the top level and replaces all other fields.

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

    Promotes a specified document to the top level and replaces all other fields.

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

    Skips over a number of documents before passing all further documents along the stream.

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

    Sorts the stream based on the given fields.

  36. sealed trait SortOrder extends AnyRef

    Represents that a field should be sorted on, as well as whether it should be ascending or descending.

  37. sealed trait SuccessfulAuthentication extends AuthenticationResult

    A successful authentication result.

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

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

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

    Turns a document with an array into multiple documents, one document for each element in the array.

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

    A verbose successful authentication result (MongoDB >= 2.

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

    Implements the "aggregation" command, otherwise known as the "Aggregation Framework.

  43. case class Authenticate(user: String, password: String, nonce: String) extends Command[SuccessfulAuthentication] with Product with Serializable

    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) See CrAuthenticate

  44. class DropDatabase extends Command[Boolean]

    Drop a database.

Value Members

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

  2. object CollStatsResult extends BSONCommandResultMaker[CollStatsResult] with Serializable

  3. object CommandError extends Serializable

  4. object GetCrNonce extends Command[String]

    Getnonce Command for Mongo CR authentication.

  5. object GroupFunction

    Factory to declare custom call to a group function.

  6. object SilentSuccessfulAuthentication extends SuccessfulAuthentication

    A silent successful authentication result (MongoDB <= 2.

Deprecated Value Members

  1. object Getnonce extends Command[String]

    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.10) See GetCrNonce

  2. object ReplStatus extends AdminCommand[Map[String, BSONValue]]

    ReplSetGetStatus Command.

  3. object Status extends AdminCommand[Map[String, BSONValue]]

    ServerStatus Command.

Inherited from AnyRef

Inherited from Any

Ungrouped