c

com.avsystem.commons.mongo

BsonWriterObjectOutput

final class BsonWriterObjectOutput extends ObjectOutput

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BsonWriterObjectOutput
  2. ObjectOutput
  3. SequentialOutput
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BsonWriterObjectOutput(bw: BsonWriter, legacyOptionEncoding: Boolean)

Value Members

  1. def finish(): Unit

    Indicates that all elements or fields in this SequentialOutput have been written.

    Indicates that all elements or fields in this SequentialOutput have been written. This method MUST always be called after list/object writing has been finished.

    Definition Classes
    BsonWriterObjectOutputSequentialOutput
  2. def writeField(key: String): BsonWriterNamedOutput

    Returns an Output representing value mapped to given string key.

    Returns an Output representing value mapped to given string key. This Output instance must be fully used before calling writeField next time. That means, one can NOT simultaneously use multiple instances of Output returned by subsequent calls to this method.

    Definition Classes
    BsonWriterObjectOutputObjectOutput