Packages

object BSONDocument extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BSONDocument
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(elements: Iterable[(String, BSONValue)]): BSONDocument

    Creates a new BSONDocument containing all the elements in the given Traversable.

  2. def apply(elements: Producer[BSONElement]*): BSONDocument

    Creates a new BSONDocument containing all the given elements.

  3. def apply(set: BSONElementSet): BSONDocument

    Creates a BSONDocument from the given elements set.

  4. val empty: BSONDocument

    An empty BSONDocument.

  5. def pretty(doc: BSONDocument): String

    Returns a String representing the given BSONDocument.

  6. def read(buffer: ReadableBuffer)(implicit bufferHandler: BufferHandler = DefaultBufferHandler): BSONDocument

    Reads a document from the buffer.

    Reads a document from the buffer.

    Note that the buffer's readerIndex must be set on the start of a document, or it will fail.

  7. def write(value: BSONDocument, buffer: WritableBuffer)(implicit bufferHandler: BufferHandler = DefaultBufferHandler): WritableBuffer

    Writes the document into the buffer.