Class DBEncoderBsonGenerator

java.lang.Object
tools.jackson.core.JsonGenerator
tools.jackson.core.base.GeneratorBase
org.mongojack.internal.stream.JsonGeneratorAdapter
org.mongojack.internal.stream.DBEncoderBsonGenerator
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable, tools.jackson.core.Versioned

public class DBEncoderBsonGenerator extends JsonGeneratorAdapter
BsonGenerator that adds a bit of functionality specific to DBEncoding to the bson4jackson DBEncoder
  • Field Summary

    Fields inherited from class tools.jackson.core.base.GeneratorBase

    _closed, _ioContext, _objectWriteContext, _streamWriteConstraints, _streamWriteFeatures, DEFAULT_BINARY_WRITE_CAPABILITIES, DEFAULT_TEXTUAL_WRITE_CAPABILITIES, DEFAULT_WRITE_CAPABILITIES, MAX_BIG_DECIMAL_SCALE, SURR1_FIRST, SURR1_LAST, SURR2_FIRST, SURR2_LAST, WRITE_BINARY, WRITE_BOOLEAN, WRITE_NULL, WRITE_NUMBER, WRITE_RAW, WRITE_STRING
  • Constructor Summary

    Constructors
    Constructor
    Description
    DBEncoderBsonGenerator(tools.jackson.core.ObjectWriteContext context, org.bson.BsonWriter writer, org.bson.UuidRepresentation uuidRepresentation)
     
    DBEncoderBsonGenerator(tools.jackson.core.ObjectWriteContext context, tools.jackson.core.io.IOContext ioContext, int jsonFeatures, org.bson.BsonWriter out, org.bson.UuidRepresentation uuidRepresentation)
     
    DBEncoderBsonGenerator(tools.jackson.core.ObjectWriteContext context, tools.jackson.core.io.IOContext ioContext, org.bson.BsonWriter writer, org.bson.UuidRepresentation uuidRepresentation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    tools.jackson.core.JsonGenerator
     

    Methods inherited from class tools.jackson.core.base.GeneratorBase

    _asString, _checkRangeBoundsForByteArray, _checkRangeBoundsForCharArray, _checkRangeBoundsForString, _constructDefaultPrettyPrinter, _decodeSurrogate, _throwInternal, close, configure, has, ioContext, isClosed, isEnabled, objectWriteContext, streamWriteConstraints, streamWriteFeatures, writeBinary, writeName, writeRawValue, writeRawValue, writeRawValue, writeRawValue, writeStartArray, writeStartObject, writeString, writeString, writeTree

    Methods inherited from class tools.jackson.core.JsonGenerator

    _constructWriteException, _constructWriteException, _constructWriteException, _constructWriteException, _copyCurrentContents, _copyCurrentContentsExact, _copyCurrentFloatValue, _copyCurrentFloatValueExact, _copyCurrentIntValue, _copyCurrentStringValue, _reportArgumentError, _reportError, _reportUnsupportedOperation, _reportUnsupportedOperation, _verifyOffsets, _wrapIOFailure, _writeTypePrefixUsingNative, _writeTypePrefixUsingWrapper, canOmitProperties, canWriteComments, canWriteObjectId, canWriteTypeId, copyCurrentEvent, copyCurrentEventExact, copyCurrentStructure, copyCurrentStructureExact, getCharacterEscapes, getHighestNonEscapedChar, getPrettyPrinter, getSchema, setCharacterEscapes, writeArray, writeArray, writeArray, writeArray, writeArrayPropertyStart, writeBinary, writeBinary, writeBinary, writeBinaryProperty, writeBooleanProperty, writeComment, writeEmbeddedObject, writeNullProperty, writeNumber, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeNumberProperty, writeObjectId, writeObjectPropertyStart, writeObjectRef, writeOmittedProperty, writePOJOProperty, writeRaw, writeStringProperty, writeTypeId, writeTypePrefix, writeTypeSuffix

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DBEncoderBsonGenerator

      public DBEncoderBsonGenerator(tools.jackson.core.ObjectWriteContext context, tools.jackson.core.io.IOContext ioContext, int jsonFeatures, org.bson.BsonWriter out, org.bson.UuidRepresentation uuidRepresentation)
    • DBEncoderBsonGenerator

      public DBEncoderBsonGenerator(tools.jackson.core.ObjectWriteContext context, tools.jackson.core.io.IOContext ioContext, org.bson.BsonWriter writer, org.bson.UuidRepresentation uuidRepresentation)
    • DBEncoderBsonGenerator

      public DBEncoderBsonGenerator(tools.jackson.core.ObjectWriteContext context, org.bson.BsonWriter writer, org.bson.UuidRepresentation uuidRepresentation)
  • Method Details

    • writePOJO

      public tools.jackson.core.JsonGenerator writePOJO(Object value) throws tools.jackson.core.JacksonException
      Overrides:
      writePOJO in class tools.jackson.core.base.GeneratorBase
      Throws:
      tools.jackson.core.JacksonException