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
BsonGenerator that adds a bit of functionality specific to DBEncoding to the
bson4jackson DBEncoder
-
Field Summary
Fields inherited from class JsonGeneratorAdapter
_currentValue, uuidRepresentation, writerFields 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
ConstructorsConstructorDescriptionDBEncoderBsonGenerator(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
Methods inherited from class JsonGeneratorAdapter
_closeInput, _releaseBuffers, _verifyValueWrite, assignCurrentValue, currentValue, flush, streamWriteCapabilities, streamWriteContext, streamWriteOutputBuffered, streamWriteOutputTarget, version, writeBinary, writeBoolean, writeBsonObjectId, writeBsonValue, writeEndArray, writeEndObject, writeName, writeNull, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writeNumber, writePropertyId, writeRaw, writeRaw, writeRaw, writeRaw, writeRawUTF8String, writeStartArray, writeStartArray, writeStartObject, writeStartObject, writeString, writeString, writeUTF8StringMethods 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, writeTreeMethods 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
-
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:
writePOJOin classtools.jackson.core.base.GeneratorBase- Throws:
tools.jackson.core.JacksonException
-