@NotThreadSafe public class BsonGenerator extends com.fasterxml.jackson.core.base.GeneratorBase implements Wrapper<org.bson.BsonWriter>
_cfgNumbersAsStrings, _closed, _features, _objectCodec, _writeContext, DERIVED_FEATURES_MASK, MAX_BIG_DECIMAL_SCALE, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST, WRITE_BINARY, WRITE_BOOLEAN, WRITE_NULL, WRITE_NUMBER, WRITE_RAW, WRITE_STRING| Modifier and Type | Method and Description |
|---|---|
protected void |
_releaseBuffers() |
protected void |
_verifyValueWrite(String typeMsg) |
boolean |
canWriteBinaryNatively() |
void |
flush() |
org.bson.BsonWriter |
unwrap() |
void |
writeBinary(com.fasterxml.jackson.core.Base64Variant bv,
byte[] data,
int offset,
int len) |
void |
writeBoolean(boolean state) |
void |
writeEndArray() |
void |
writeEndObject() |
void |
writeFieldName(String name) |
void |
writeNull() |
void |
writeNumber(BigDecimal number) |
void |
writeNumber(BigInteger number) |
void |
writeNumber(double number) |
void |
writeNumber(float number) |
void |
writeNumber(int number) |
void |
writeNumber(long number) |
void |
writeNumber(String encodedValue) |
void |
writeRaw(char c) |
void |
writeRaw(char[] text,
int offset,
int len) |
void |
writeRaw(String text) |
void |
writeRaw(String text,
int offset,
int len) |
void |
writeRawUTF8String(byte[] text,
int offset,
int length) |
void |
writeStartArray() |
void |
writeStartObject() |
void |
writeString(char[] text,
int offset,
int len) |
void |
writeString(String text) |
void |
writeUTF8String(byte[] text,
int offset,
int length) |
_asString, _checkStdFeatureChanges, _constructDefaultPrettyPrinter, _decodeSurrogate, close, disable, enable, getCodec, getCurrentValue, getFeatureMask, getOutputContext, isClosed, isEnabled, overrideStdFeatures, setCodec, setCurrentValue, setFeatureMask, useDefaultPrettyPrinter, version, writeBinary, writeFieldName, writeObject, writeRawValue, writeRawValue, writeRawValue, writeRawValue, writeStartObject, writeString, writeTree_copyCurrentContents, _reportError, _reportUnsupportedOperation, _throwInternal, _verifyOffsets, _writeSimpleObject, assignCurrentValue, canOmitFields, canUseSchema, canWriteFormattedNumbers, canWriteObjectId, canWriteTypeId, configure, copyCurrentEvent, copyCurrentStructure, currentValue, getCharacterEscapes, getFormatFeatures, getHighestEscapedChar, getOutputBuffered, getOutputTarget, getPrettyPrinter, getSchema, getWriteCapabilities, isEnabled, overrideFormatFeatures, setCharacterEscapes, setHighestNonEscapedChar, setPrettyPrinter, setRootValueSeparator, setSchema, writeArray, writeArray, writeArray, writeArray, writeArrayFieldStart, writeBinary, writeBinary, writeBinary, writeBinaryField, writeBooleanField, writeEmbeddedObject, writeFieldId, writeNullField, writeNumber, writeNumber, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeNumberField, writeObjectField, writeObjectFieldStart, writeObjectId, writeObjectRef, writeOmittedField, writePOJO, writePOJOField, writeRaw, writeStartArray, writeStartArray, writeStartArray, writeStartObject, writeString, writeStringField, writeTypeId, writeTypePrefix, writeTypeSuffixpublic void writeStartArray()
throws IOException
public void writeEndArray()
throws IOException
public void writeStartObject()
throws IOException
public void writeEndObject()
throws IOException
public void writeFieldName(String name) throws IOException
public void writeString(String text) throws IOException
public void writeString(char[] text,
int offset,
int len)
throws IOException
public void writeRawUTF8String(byte[] text,
int offset,
int length)
throws IOException
public void writeUTF8String(byte[] text,
int offset,
int length)
throws IOException
public void writeRaw(String text) throws IOException
public void writeRaw(String text, int offset, int len) throws IOException
public void writeRaw(char[] text,
int offset,
int len)
throws IOException
public void writeRaw(char c)
throws IOException
public boolean canWriteBinaryNatively()
public void writeBinary(com.fasterxml.jackson.core.Base64Variant bv,
byte[] data,
int offset,
int len)
throws IOException
public void writeNumber(int number)
throws IOException
public void writeNumber(long number)
throws IOException
public void writeNumber(BigInteger number) throws IOException
public void writeNumber(double number)
throws IOException
public void writeNumber(float number)
throws IOException
public void writeNumber(BigDecimal number) throws IOException
public void writeNumber(String encodedValue) throws IOException
public void writeBoolean(boolean state)
throws IOException
public void writeNull()
throws IOException
public void flush()
throws IOException
protected void _releaseBuffers()
protected void _verifyValueWrite(String typeMsg) throws IOException
public org.bson.BsonWriter unwrap()
Copyright © 2023 The Immutables.org authors. All rights reserved.