c

com.avsystem.commons.mongo

BsonWriterListOutput

final class BsonWriterListOutput extends ListOutput

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

Instance Constructors

  1. new BsonWriterListOutput(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
    BsonWriterListOutputSequentialOutput
  2. def writeElement(): BsonWriterOutput

    Returns an Output representing next element in this list.

    Returns an Output representing next element in this list. This Output instance MUST be fully used before calling writeElement next time. That means, one can NOT simultaneously use multiple instances of Output returned by subsequent calls to this method.

    Definition Classes
    BsonWriterListOutputListOutput