reactivemongo.api

collections

package collections

Visibility
  1. Public
  2. All

Type Members

  1. trait BufferReader[+T] extends AnyRef

  2. trait BufferWriter[-T] extends AnyRef

  3. trait GenericCollection[Structure, Reader[_], Writer[_]] extends Collection with GenericHandlers[Structure, Reader, Writer]

    A Collection that provides default methods using a Structure (like reactivemongo.bson.BSONDocument, or a Json document, etc.).

    A Collection that provides default methods using a Structure (like reactivemongo.bson.BSONDocument, or a Json document, etc.).

    Some methods of this collection accept instances of Reader[T] and Writer[T], that transform any T instance into a Structure and vice-versa. The default implementation of Collection, reactivemongo.api.collections.default.BSONCollection, extends this trait.

    Structure

    The structure that will be turned into BSON (and vice versa), usually a reactivemongo.bson.BSONDocument or a Json document.

    Reader

    A Reader[T] that produces a T instance from a Structure.

    Writer

    A Writer[T] that produces a Structure instance from a T.

  4. trait GenericCollectionProducer[Structure, Reader[_], Writer[_], +C <: GenericCollection[Structure, Reader, Writer]] extends CollectionProducer[C]

  5. trait GenericHandlers[Structure, Reader[_], Writer[_]] extends AnyRef

  6. trait GenericQueryBuilder[Structure, Reader[_], Writer[_]] extends GenericHandlers[Structure, Reader, Writer]

    A builder that helps to make a fine-tuned query to MongoDB.

    A builder that helps to make a fine-tuned query to MongoDB.

    When the query is ready, you can call cursor to get a Cursor, or one if you want to retrieve just one document.

  7. trait GenericReader[S, T] extends AnyRef

  8. trait GenericWriter[T, S] extends AnyRef

Value Members

  1. package buffer

  2. package default

Ungrouped