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. case class Ascending(field: String) extends SortOrder with Product with Serializable

  3. sealed trait AuthenticationResult extends AnyRef

    an authentication result

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

  5. trait BSONCommandError extends Exception with CommandError

    A command error that optionally holds the original TraversableBSONDocument

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

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

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

  9. trait Command[Result] extends AnyRef

    A MongoDB Command.

  10. trait CommandError extends Exception with ReactiveMongoException

    A generic command error.

  11. trait CommandResultMaker[Result] extends AnyRef

    Handler for deserializing commands results.

  12. class DefaultCommandError extends Exception with BSONCommandError

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

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

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

    A failed authentication result

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

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

    Groups documents together to calculate aggregates on document collections.

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

    Groups documents together to calculate aggregates on document collections.

  18. sealed trait GroupFunction extends AnyRef

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

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

    Groups documents together to calculate aggregates on document collections.

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

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

    Limts the number of documents that pass through the stream.

  22. class MakableCommand extends AnyRef

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

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

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

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

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

  26. sealed trait PipelineOperator extends AnyRef

    One of MongoDBs pipeline operators for aggregation.

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

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

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

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

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

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

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

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

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

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

    Sorts the stream based on the given fields.

  34. sealed trait SortOrder extends AnyRef

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

  35. sealed trait SuccessfulAuthentication extends AuthenticationResult

    A successful authentication result.

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

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

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

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

    A verbose successful authentication result (MongoDB >= 2.

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

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.

Inherited from AnyRef

Inherited from Any

Ungrouped