A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mongodb.github.io/mongo-java-driver/5.5/apidocs/bson/org/bson/BsonWriter.html below:

BsonWriter (bson 5.5.0 API)

  • flush

    void flush()

    Flushes any pending data to the output destination.

  • writeBinaryData

    Writes a BSON Binary data element to the writer.

    Parameters:
    binary - The Binary data.
  • writeBinaryData

    Writes a BSON Binary data element to the writer.

    Parameters:
    name - The name of the element.
    binary - The Binary data value.
  • writeBoolean

    void writeBoolean(boolean value)

    Writes a BSON Boolean to the writer.

    Parameters:
    value - The Boolean value.
  • writeBoolean void writeBoolean(String name, boolean value)

    Writes a BSON Boolean element to the writer.

    Parameters:
    name - The name of the element.
    value - The Boolean value.
  • writeDateTime

    void writeDateTime(long value)

    Writes a BSON DateTime to the writer.

    Parameters:
    value - The number of milliseconds since the Unix epoch.
  • writeDateTime void writeDateTime(String name, long value)

    Writes a BSON DateTime element to the writer.

    Parameters:
    name - The name of the element.
    value - The number of milliseconds since the Unix epoch.
  • writeDBPointer

    Writes a BSON DBPointer to the writer.

    Parameters:
    value - The DBPointer to write
  • writeDBPointer

    Writes a BSON DBPointer element to the writer.

    Parameters:
    name - The name of the element.
    value - The DBPointer to write
  • writeDouble

    void writeDouble(double value)

    Writes a BSON Double to the writer.

    Parameters:
    value - The Double value.
  • writeDouble void writeDouble(String name, double value)

    Writes a BSON Double element to the writer.

    Parameters:
    name - The name of the element.
    value - The Double value.
  • writeEndArray

    void writeEndArray()

    Writes the end of a BSON array to the writer.

  • writeEndDocument

    void writeEndDocument()

    Writes the end of a BSON document to the writer.

  • writeInt32

    void writeInt32(int value)

    Writes a BSON Int32 to the writer.

    Parameters:
    value - The Int32 value.
  • writeInt32 void writeInt32(String name, int value)

    Writes a BSON Int32 element to the writer.

    Parameters:
    name - The name of the element.
    value - The Int32 value.
  • writeInt64

    void writeInt64(long value)

    Writes a BSON Int64 to the writer.

    Parameters:
    value - The Int64 value.
  • writeInt64 void writeInt64(String name, long value)

    Writes a BSON Int64 element to the writer.

    Parameters:
    name - The name of the element.
    value - The Int64 value.
  • writeDecimal128

    Writes a BSON Decimal128 to the writer.

    Parameters:
    value - The Decimal128 value.
    Since:
    3.4
  • writeDecimal128

    Writes a BSON Decimal128 element to the writer.

    Parameters:
    name - The name of the element.
    value - The Decimal128 value.
    Since:
    3.4
  • writeJavaScript void writeJavaScript(String code)

    Writes a BSON JavaScript to the writer.

    Parameters:
    code - The JavaScript code.
  • writeJavaScript

    Writes a BSON JavaScript element to the writer.

    Parameters:
    name - The name of the element.
    code - The JavaScript code.
  • writeJavaScriptWithScope void writeJavaScriptWithScope(String code)

    Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).

    Parameters:
    code - The JavaScript code.
  • writeJavaScriptWithScope

    Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope).

    Parameters:
    name - The name of the element.
    code - The JavaScript code.
  • writeMaxKey

    void writeMaxKey()

    Writes a BSON MaxKey to the writer.

  • writeMaxKey

    Writes a BSON MaxKey element to the writer.

    Parameters:
    name - The name of the element.
  • writeMinKey

    void writeMinKey()

    Writes a BSON MinKey to the writer.

  • writeMinKey

    Writes a BSON MinKey element to the writer.

    Parameters:
    name - The name of the element.
  • writeName

    Writes the name of an element to the writer.

    Parameters:
    name - The name of the element.
  • writeNull

    void writeNull()

    Writes a BSON null to the writer.

  • writeNull

    Writes a BSON null element to the writer.

    Parameters:
    name - The name of the element.
  • writeObjectId

    Writes a BSON ObjectId to the writer.

    Parameters:
    objectId - The ObjectId value.
  • writeObjectId

    Writes a BSON ObjectId element to the writer.

    Parameters:
    name - The name of the element.
    objectId - The ObjectId value.
  • writeRegularExpression

    Writes a BSON regular expression to the writer.

    Parameters:
    regularExpression - the regular expression to write.
  • writeRegularExpression

    Writes a BSON regular expression element to the writer.

    Parameters:
    name - The name of the element.
    regularExpression - The RegularExpression value.
  • writeStartArray

    void writeStartArray()

    Writes the start of a BSON array to the writer.

    Throws:
    BsonSerializationException - if maximum serialization depth exceeded.
  • writeStartArray void writeStartArray(String name)

    Writes the start of a BSON array element to the writer.

    Parameters:
    name - The name of the element.
  • writeStartDocument

    void writeStartDocument()

    Writes the start of a BSON document to the writer.

    Throws:
    BsonSerializationException - if maximum serialization depth exceeded.
  • writeStartDocument void writeStartDocument(String name)

    Writes the start of a BSON document element to the writer.

    Parameters:
    name - The name of the element.
  • writeString void writeString(String value)

    Writes a BSON String to the writer.

    Parameters:
    value - The String value.
  • writeString

    Writes a BSON String element to the writer.

    Parameters:
    name - The name of the element.
    value - The String value.
  • writeSymbol void writeSymbol(String value)

    Writes a BSON Symbol to the writer.

    Parameters:
    value - The symbol.
  • writeSymbol

    Writes a BSON Symbol element to the writer.

    Parameters:
    name - The name of the element.
    value - The symbol.
  • writeTimestamp

    Writes a BSON Timestamp to the writer.

    Parameters:
    value - The combined timestamp/increment value.
  • writeTimestamp

    Writes a BSON Timestamp element to the writer.

    Parameters:
    name - The name of the element.
    value - The combined timestamp/increment value.
  • writeUndefined

    void writeUndefined()

    Writes a BSON undefined to the writer.

  • writeUndefined void writeUndefined(String name)

    Writes a BSON undefined element to the writer.

    Parameters:
    name - The name of the element.
  • pipe

    Reads a single document from a BsonReader and writes it to this.

    Parameters:
    reader - The source.

  • RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4