- AbstractBsonReader - Class in org.bson
-
Abstract base class for BsonReader implementations.
- AbstractBsonReader() - Constructor for class org.bson.AbstractBsonReader
-
Initializes a new instance of the BsonReader class.
- AbstractBsonReader.Context - Class in org.bson
-
The context for the reader.
- AbstractBsonReader.Mark - Class in org.bson
-
- AbstractBsonReader.State - Enum in org.bson
-
The state of a reader.
- AbstractBsonWriter - Class in org.bson
-
Represents a BSON writer for some external format (see subclasses).
- AbstractBsonWriter(BsonWriterSettings) - Constructor for class org.bson.AbstractBsonWriter
-
Initializes a new instance of the BsonWriter class.
- AbstractBsonWriter(BsonWriterSettings, FieldNameValidator) - Constructor for class org.bson.AbstractBsonWriter
-
Initializes a new instance of the BsonWriter class.
- AbstractBsonWriter.Context - Class in org.bson
-
The context for the writer.
- AbstractBsonWriter.Mark - Class in org.bson
-
- AbstractBsonWriter.State - Enum in org.bson
-
The state of a writer.
- add(BsonValue) - Method in class org.bson.BsonArray
-
- add(int, BsonValue) - Method in class org.bson.BsonArray
-
- addAll(Collection<? extends BsonValue>) - Method in class org.bson.BsonArray
-
- addAll(int, Collection<? extends BsonValue>) - Method in class org.bson.BsonArray
-
- ANNOTATION_CONVENTION - Static variable in class org.bson.codecs.pojo.Conventions
-
The annotation convention.
- annotations(List<Annotation>) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Sets the annotations for the model
- append(String, BsonValue) - Method in class org.bson.BsonDocument
-
Put the given key and value into this document, and return the document.
- append(String, Object) - Method in class org.bson.Document
-
Put the given key/value pair into this Document and return this.
- append(String, BsonValue) - Method in class org.bson.RawBsonDocument
-
- apply(ClassModelBuilder<?>) - Method in interface org.bson.codecs.pojo.Convention
-
This method applies this Convention to the given ClassModelBuilder
- array() - Method in interface org.bson.ByteBuf
-
Returns the byte array that backs this buffer (optional operation).
- array() - Method in class org.bson.ByteBufNIO
-
- asArray() - Method in class org.bson.BsonValue
-
Gets this value as a BsonArray if it is one, otherwise throws exception
- asBinary() - Method in class org.bson.BsonValue
-
Gets this value as a BsonBinary if it is one, otherwise throws exception
- asBoolean() - Method in class org.bson.BsonValue
-
Gets this value as a BsonBoolean if it is one, otherwise throws exception
- asBsonDocument(Object, CodecRegistry) - Static method in class org.bson.BsonDocumentWrapper
-
A helper to convert an document of type Object to a BsonDocument
- asDateTime() - Method in class org.bson.BsonValue
-
Gets this value as a BsonDateTime if it is one, otherwise throws exception
- asDBPointer() - Method in class org.bson.BsonValue
-
Gets this value as a BsonDbPointer if it is one, otherwise throws exception
- asDecimal128() - Method in class org.bson.BsonValue
-
Gets this value as a BsonDecimal128 if it is one, otherwise throws exception
- asDocument() - Method in class org.bson.BsonValue
-
Gets this value as a BsonDocument if it is one, otherwise throws exception
- asDouble() - Method in class org.bson.BsonValue
-
Gets this value as a BsonDouble if it is one, otherwise throws exception
- asInt32() - Method in class org.bson.BsonValue
-
Gets this value as a BsonInt32 if it is one, otherwise throws exception
- asInt64() - Method in class org.bson.BsonValue
-
Gets this value as a BsonInt64 if it is one, otherwise throws exception
- asJavaScript() - Method in class org.bson.BsonValue
-
Gets this value as a BsonJavaScript
if it is one, otherwise throws exception
- asJavaScriptWithScope() - Method in class org.bson.BsonValue
-
Gets this value as a BsonJavaScriptWithScope if it is one, otherwise throws exception
- asNIO() - Method in interface org.bson.ByteBuf
-
Gets the underlying NIO ByteBuffer
.
- asNIO() - Method in class org.bson.ByteBufNIO
-
- asNumber() - Method in class org.bson.BsonValue
-
Gets this value as a BsonNumber if it is one, otherwise throws exception
- asObjectId() - Method in class org.bson.BsonValue
-
Gets this value as an BsonObjectId if it is one, otherwise throws exception
- asReadOnly() - Method in interface org.bson.ByteBuf
-
Creates a new, read-only byte buffer that shares this buffer's content.
- asReadOnly() - Method in class org.bson.ByteBufNIO
-
- asRegularExpression() - Method in class org.bson.BsonValue
-
Gets this value as a BsonRegularExpression if it is one, otherwise throws exception
- Assertions - Class in org.bson.assertions
-
Design by contract assertions.
- asString() - Method in class org.bson.BsonValue
-
Gets this value as a BsonString if it is one, otherwise throws exception
- asSymbol() - Method in class org.bson.BsonValue
-
Gets this value as a BsonSymbol if it is one, otherwise throws exception
- asTimestamp() - Method in class org.bson.BsonValue
-
Gets this value as a BsonTimestamp if it is one, otherwise throws exception
- AtomicBooleanCodec - Class in org.bson.codecs
-
Encodes and decodes AtomicBoolean
objects.
- AtomicBooleanCodec() - Constructor for class org.bson.codecs.AtomicBooleanCodec
-
- AtomicIntegerCodec - Class in org.bson.codecs
-
Encodes and decodes AtomicInteger
objects.
- AtomicIntegerCodec() - Constructor for class org.bson.codecs.AtomicIntegerCodec
-
- AtomicLongCodec - Class in org.bson.codecs
-
Encodes and decodes AtomicLong
objects.
- AtomicLongCodec() - Constructor for class org.bson.codecs.AtomicLongCodec
-
- automatic(boolean) - Method in class org.bson.codecs.pojo.PojoCodecProvider.Builder
-
Sets whether the provider should automatically try to create a
ClassModel
for any class that is requested.
- Base64 - Class in org.bson.internal
-
Provides Base64 encoding and decoding.
- BasicOutputBuffer - Class in org.bson.io
-
A BSON output stream that stores the output in a single, un-pooled byte array.
- BasicOutputBuffer() - Constructor for class org.bson.io.BasicOutputBuffer
-
Construct an instance with a default initial byte array size.
- BasicOutputBuffer(int) - Constructor for class org.bson.io.BasicOutputBuffer
-
Construct an instance with the specified initial byte array size.
- BigDecimalCodec - Class in org.bson.codecs
-
Encodes and decodes BigDecimal
objects.
- BigDecimalCodec() - Constructor for class org.bson.codecs.BigDecimalCodec
-
- bigDecimalValue() - Method in class org.bson.types.Decimal128
-
Gets a BigDecimal that is equivalent to this Decimal128.
- Binary - Class in org.bson.types
-
Generic binary holder.
- Binary(byte[]) - Constructor for class org.bson.types.Binary
-
Creates a Binary object with the default binary type of 0
- Binary(BsonBinarySubType, byte[]) - Constructor for class org.bson.types.Binary
-
Creates a Binary with the specified type and data.
- Binary(byte, byte[]) - Constructor for class org.bson.types.Binary
-
Creates a Binary object
- BinaryCodec - Class in org.bson.codecs
-
A Codec for the BSON Binary type.
- BinaryCodec() - Constructor for class org.bson.codecs.BinaryCodec
-
- binaryConverter(Converter<BsonBinary>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Binary values to JSON.
- BooleanCodec - Class in org.bson.codecs
-
Encodes and decodes Boolean
objects.
- BooleanCodec() - Constructor for class org.bson.codecs.BooleanCodec
-
- booleanConverter(Converter<Boolean>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Boolean values to JSON.
- Bson - Interface in org.bson.conversions
-
An interface for types that are able to render themselves into a BsonDocument
.
- BsonArray - Class in org.bson
-
A type-safe representation of the BSON array type.
- BsonArray(List<? extends BsonValue>) - Constructor for class org.bson.BsonArray
-
Construct an instance with the given list of values.
- BsonArray() - Constructor for class org.bson.BsonArray
-
Construct an empty B
- BsonArrayCodec - Class in org.bson.codecs
-
A codec for BsonArray instances.
- BsonArrayCodec() - Constructor for class org.bson.codecs.BsonArrayCodec
-
- BsonArrayCodec(CodecRegistry) - Constructor for class org.bson.codecs.BsonArrayCodec
-
Construct an instance with the given registry
- BsonBinary - Class in org.bson
-
A representation of the BSON Binary type.
- BsonBinary(byte[]) - Constructor for class org.bson.BsonBinary
-
Construct a new instance with the given data and the default sub-type
- BsonBinary(BsonBinarySubType, byte[]) - Constructor for class org.bson.BsonBinary
-
Construct a new instance with the given data and binary sub type.
- BsonBinary(byte, byte[]) - Constructor for class org.bson.BsonBinary
-
Construct a new instance with the given data and binary sub type.
- BsonBinaryCodec - Class in org.bson.codecs
-
A Codec for the BSON Binary type.
- BsonBinaryCodec() - Constructor for class org.bson.codecs.BsonBinaryCodec
-
- BsonBinaryReader - Class in org.bson
-
A BsonReader implementation that reads from a binary stream of data.
- BsonBinaryReader(ByteBuffer) - Constructor for class org.bson.BsonBinaryReader
-
Construct an instance.
- BsonBinaryReader(BsonInput) - Constructor for class org.bson.BsonBinaryReader
-
Construct an instance.
- BsonBinaryReader.Context - Class in org.bson
-
- BsonBinaryReader.Mark - Class in org.bson
-
- BsonBinarySubType - Enum in org.bson
-
The Binary subtype
- BsonBinaryWriter - Class in org.bson
-
A BsonWriter implementation that writes to a binary stream of data.
- BsonBinaryWriter(BsonOutput, FieldNameValidator) - Constructor for class org.bson.BsonBinaryWriter
-
Construct an instance.
- BsonBinaryWriter(BsonOutput) - Constructor for class org.bson.BsonBinaryWriter
-
Construct an instance.
- BsonBinaryWriter(BsonWriterSettings, BsonBinaryWriterSettings, BsonOutput) - Constructor for class org.bson.BsonBinaryWriter
-
Construct an instance.
- BsonBinaryWriter(BsonWriterSettings, BsonBinaryWriterSettings, BsonOutput, FieldNameValidator) - Constructor for class org.bson.BsonBinaryWriter
-
Construct an instance.
- BsonBinaryWriter.Context - Class in org.bson
-
- BsonBinaryWriter.Mark - Class in org.bson
-
- BsonBinaryWriterSettings - Class in org.bson
-
The customisable settings for writing BSON.
- BsonBinaryWriterSettings(int) - Constructor for class org.bson.BsonBinaryWriterSettings
-
Creates a new instance of the settings with the given maximum document size.
- BsonBinaryWriterSettings() - Constructor for class org.bson.BsonBinaryWriterSettings
-
Creates a new instance of the settings with
Integer.MAX_VALUE
as the maximum document size.
- BsonBoolean - Class in org.bson
-
A representation of the BSON Boolean type.
- BsonBoolean(boolean) - Constructor for class org.bson.BsonBoolean
-
Construct a new instance with the given value.
- BsonBooleanCodec - Class in org.bson.codecs
-
A Codec for BsonBoolean instances.
- BsonBooleanCodec() - Constructor for class org.bson.codecs.BsonBooleanCodec
-
- BsonContextType - Enum in org.bson
-
Used by BsonReader and BsonWriter implementations to represent the current context.
- BsonCreator - Annotation Type in org.bson.codecs.pojo.annotations
-
An annotation that configures a constructor or method as the Creator for the Pojo.
- BsonDateTime - Class in org.bson
-
A representation of the BSON DateTime type.
- BsonDateTime(long) - Constructor for class org.bson.BsonDateTime
-
Construct a new instance with the given value.
- BsonDateTimeCodec - Class in org.bson.codecs
-
A Codec for BsonDateTime instances.
- BsonDateTimeCodec() - Constructor for class org.bson.codecs.BsonDateTimeCodec
-
- BsonDbPointer - Class in org.bson
-
Holder for a BSON type DBPointer(0x0c).
- BsonDbPointer(String, ObjectId) - Constructor for class org.bson.BsonDbPointer
-
Construct a new instance with the given namespace and id.
- BsonDBPointerCodec - Class in org.bson.codecs
-
Converts BSON type DBPointer(0x0c) to database references as DBPointer is deprecated.
- BsonDBPointerCodec() - Constructor for class org.bson.codecs.BsonDBPointerCodec
-
- BsonDecimal128 - Class in org.bson
-
A representation of the BSON Decimal128 type.
- BsonDecimal128(Decimal128) - Constructor for class org.bson.BsonDecimal128
-
Construct a new instance with the given value.
- BsonDecimal128Codec - Class in org.bson.codecs
-
A Codec for BsonDecimal128 instances.
- BsonDecimal128Codec() - Constructor for class org.bson.codecs.BsonDecimal128Codec
-
- BsonDiscriminator - Annotation Type in org.bson.codecs.pojo.annotations
-
An annotation that configures the discriminator key and value for a class.
- BsonDocument - Class in org.bson
-
A type-safe container for a BSON document.
- BsonDocument(List<BsonElement>) - Constructor for class org.bson.BsonDocument
-
Construct a new instance with the given list BsonElement
, none of which may be null.
- BsonDocument(String, BsonValue) - Constructor for class org.bson.BsonDocument
-
Construct a new instance with a single key value pair
- BsonDocument() - Constructor for class org.bson.BsonDocument
-
Construct an empty document.
- BsonDocumentCodec - Class in org.bson.codecs
-
A codec for BsonDocument instances.
- BsonDocumentCodec() - Constructor for class org.bson.codecs.BsonDocumentCodec
-
- BsonDocumentCodec(CodecRegistry) - Constructor for class org.bson.codecs.BsonDocumentCodec
-
Creates a new instance initialised with the given codec registry.
- BsonDocumentReader - Class in org.bson
-
A BsonReader
implementation that reads from an instance of BsonDocument
.
- BsonDocumentReader(BsonDocument) - Constructor for class org.bson.BsonDocumentReader
-
Construct a new instance.
- BsonDocumentReader.Context - Class in org.bson
-
- BsonDocumentReader.Mark - Class in org.bson
-
- BsonDocumentWrapper<T> - Class in org.bson
-
A BsonDocument
that begins its life as a document of any type and an Encoder
for that document, which lets an instance of
any class with an Encoder be treated as a BsonDocument.
- BsonDocumentWrapper(T, Encoder<T>) - Constructor for class org.bson.BsonDocumentWrapper
-
Construct a new instance with the given document and encoder for the document.
- BsonDocumentWrapperCodec - Class in org.bson.codecs
-
A Codec
- BsonDocumentWrapperCodec(Codec<BsonDocument>) - Constructor for class org.bson.codecs.BsonDocumentWrapperCodec
-
Construct a new instance,
- BsonDocumentWriter - Class in org.bson
-
A BsonWriter
implementation that writes to an instance of BsonDocument
.
- BsonDocumentWriter(BsonDocument) - Constructor for class org.bson.BsonDocumentWriter
-
Construct a new instance.
- BsonDouble - Class in org.bson
-
A representation of the BSON Double type.
- BsonDouble(double) - Constructor for class org.bson.BsonDouble
-
Construct a new instance with the given value.
- BsonDoubleCodec - Class in org.bson.codecs
-
A Codec for BsonDouble instances.
- BsonDoubleCodec() - Constructor for class org.bson.codecs.BsonDoubleCodec
-
- BsonElement - Class in org.bson
-
A mapping from a name to a BsonValue.
- BsonElement(String, BsonValue) - Constructor for class org.bson.BsonElement
-
Construct a new instance with the given key and value
- BSONException - Exception in org.bson
-
A general runtime exception raised in BSON processing.
- BSONException(String) - Constructor for exception org.bson.BSONException
-
- BSONException(int, String) - Constructor for exception org.bson.BSONException
-
- BSONException(String, Throwable) - Constructor for exception org.bson.BSONException
-
- BSONException(int, String, Throwable) - Constructor for exception org.bson.BSONException
-
- BsonId - Annotation Type in org.bson.codecs.pojo.annotations
-
An annotation that configures the property as the id property for a
ClassModel
.
- BsonIgnore - Annotation Type in org.bson.codecs.pojo.annotations
-
An annotation that configures a property to be ignored when reading and writing to BSON
- BsonInput - Interface in org.bson.io
-
An input stream that is optimized for reading BSON values directly from the underlying stream.
- BsonInt32 - Class in org.bson
-
A representation of the BSON Int32 type.
- BsonInt32(int) - Constructor for class org.bson.BsonInt32
-
Construct a new instance with the given value.
- BsonInt32Codec - Class in org.bson.codecs
-
A Codec for BsonInt32 instances.
- BsonInt32Codec() - Constructor for class org.bson.codecs.BsonInt32Codec
-
- BsonInt64 - Class in org.bson
-
A representation of the BSON Int64 type.
- BsonInt64(long) - Constructor for class org.bson.BsonInt64
-
Construct a new instance with the given value.
- BsonInt64Codec - Class in org.bson.codecs
-
A Codec for BsonInt64 instances.
- BsonInt64Codec() - Constructor for class org.bson.codecs.BsonInt64Codec
-
- BsonInvalidOperationException - Exception in org.bson
-
An exception indicating an invalid BSON operation.
- BsonInvalidOperationException(String) - Constructor for exception org.bson.BsonInvalidOperationException
-
Construct a new instance.
- BsonInvalidOperationException(String, Throwable) - Constructor for exception org.bson.BsonInvalidOperationException
-
Construct a new instance.
- BsonJavaScript - Class in org.bson
-
For using the JavaScript Code type.
- BsonJavaScript(String) - Constructor for class org.bson.BsonJavaScript
-
Construct a new instance with the given JavaScript code.
- BsonJavaScriptCodec - Class in org.bson.codecs
-
A Codec for the BsonJavaScript
type.
- BsonJavaScriptCodec() - Constructor for class org.bson.codecs.BsonJavaScriptCodec
-
- BsonJavaScriptWithScope - Class in org.bson
-
A representation of the JavaScript Code with Scope BSON type.
- BsonJavaScriptWithScope(String, BsonDocument) - Constructor for class org.bson.BsonJavaScriptWithScope
-
Construct a new instance with the given code and scope.
- BsonJavaScriptWithScopeCodec - Class in org.bson.codecs
-
A Codec for BsonJavaScriptWithScope
instances.
- BsonJavaScriptWithScopeCodec(Codec<BsonDocument>) - Constructor for class org.bson.codecs.BsonJavaScriptWithScopeCodec
-
Construct a new instance with the given codec to use for the nested document
- BsonMaxKey - Class in org.bson
-
Represent the maximum key value regardless of the key's type
- BsonMaxKey() - Constructor for class org.bson.BsonMaxKey
-
- BsonMaxKeyCodec - Class in org.bson.codecs
-
A codec for BsonMaxKey
instances.
- BsonMaxKeyCodec() - Constructor for class org.bson.codecs.BsonMaxKeyCodec
-
- BsonMinKey - Class in org.bson
-
Represent the minimum key value regardless of the key's type
- BsonMinKey() - Constructor for class org.bson.BsonMinKey
-
- BsonMinKeyCodec - Class in org.bson.codecs
-
A codec for BsonMinKey
instances.
- BsonMinKeyCodec() - Constructor for class org.bson.codecs.BsonMinKeyCodec
-
- BsonNull - Class in org.bson
-
A representation of the BSON Null type.
- BsonNull() - Constructor for class org.bson.BsonNull
-
- BsonNullCodec - Class in org.bson.codecs
-
A Codec for BsonNull instances.
- BsonNullCodec() - Constructor for class org.bson.codecs.BsonNullCodec
-
- BsonNumber - Class in org.bson
-
Base class for the three numeric BSON types.
- BsonNumber() - Constructor for class org.bson.BsonNumber
-
- BsonObjectId - Class in org.bson
-
A representation of the BSON ObjectId type.
- BsonObjectId() - Constructor for class org.bson.BsonObjectId
-
Construct a new instance with a new ObjectId
.
- BsonObjectId(ObjectId) - Constructor for class org.bson.BsonObjectId
-
Construct a new instance with the given ObjectId
instance.
- BsonObjectIdCodec - Class in org.bson.codecs
-
A Codec for BsonObjectId
instances.
- BsonObjectIdCodec() - Constructor for class org.bson.codecs.BsonObjectIdCodec
-
- BsonOutput - Interface in org.bson.io
-
An output stream that is optimized for writing BSON values directly to the underlying stream.
- BsonProperty - Annotation Type in org.bson.codecs.pojo.annotations
-
An annotation that configures a property.
- BsonReader - Interface in org.bson
-
An interface for reading a logical BSON document using a pull-oriented API.
- BsonReaderMark - Interface in org.bson
-
Represents a bookmark that can be used to reset a
BsonReader
to its state at the time the mark was created.
- BsonRegularExpression - Class in org.bson
-
A holder class for a BSON regular expression, so that we can delay compiling into a Pattern until necessary.
- BsonRegularExpression(String, String) - Constructor for class org.bson.BsonRegularExpression
-
Creates a new instance
- BsonRegularExpression(String) - Constructor for class org.bson.BsonRegularExpression
-
Creates a new instance with no options set.
- BsonRegularExpressionCodec - Class in org.bson.codecs
-
A codec for BSON regular expressions.
- BsonRegularExpressionCodec() - Constructor for class org.bson.codecs.BsonRegularExpressionCodec
-
- BsonSerializationException - Exception in org.bson
-
An exception indicating a failure to serialize a BSON value.
- BsonSerializationException(String) - Constructor for exception org.bson.BsonSerializationException
-
Construct a new instance.
- BsonString - Class in org.bson
-
A representation of the BSON String type.
- BsonString(String) - Constructor for class org.bson.BsonString
-
Construct a new instance with the given value.
- BsonStringCodec - Class in org.bson.codecs
-
A Codec for BsonString instances.
- BsonStringCodec() - Constructor for class org.bson.codecs.BsonStringCodec
-
- BsonSymbol - Class in org.bson
-
Class to hold a BSON symbol object, which is an interned string in Ruby
- BsonSymbol(String) - Constructor for class org.bson.BsonSymbol
-
Creates a new instance.
- BsonSymbolCodec - Class in org.bson.codecs
-
A codec for BSON symbol type.
- BsonSymbolCodec() - Constructor for class org.bson.codecs.BsonSymbolCodec
-
- BsonTimestamp - Class in org.bson
-
A value representing the BSON timestamp type.
- BsonTimestamp() - Constructor for class org.bson.BsonTimestamp
-
Construct a new instance with a null time and a 0 increment.
- BsonTimestamp(long) - Constructor for class org.bson.BsonTimestamp
-
Construct a new instance for the given value, which combines the time in seconds and the increment as a single long value.
- BsonTimestamp(int, int) - Constructor for class org.bson.BsonTimestamp
-
Construct a new instance for the given time and increment.
- BsonTimestampCodec - Class in org.bson.codecs
-
A Codec for BSON Timestamp instances.
- BsonTimestampCodec() - Constructor for class org.bson.codecs.BsonTimestampCodec
-
- BsonType - Enum in org.bson
-
Enumeration of all the BSON types currently supported.
- BsonTypeClassMap - Class in org.bson.codecs
-
A map from a BSON types to the Class to which it should be decoded.
- BsonTypeClassMap(Map<BsonType, Class<?>>) - Constructor for class org.bson.codecs.BsonTypeClassMap
-
Construct an instance with the default mapping, but replacing the default mapping with any values contained in the given map.
- BsonTypeClassMap() - Constructor for class org.bson.codecs.BsonTypeClassMap
-
Construct an instance with the default mappings.
- BsonTypeCodecMap - Class in org.bson.codecs
-
An efficient map of BsonType to Codec
- BsonTypeCodecMap(BsonTypeClassMap, CodecRegistry) - Constructor for class org.bson.codecs.BsonTypeCodecMap
-
Initializes the map by iterating the keys of the given BsonTypeClassMap and looking up the Codec for the Class mapped to each key.
- BsonUndefined - Class in org.bson
-
Represents the value associated with the BSON Undefined type.
- BsonUndefined() - Constructor for class org.bson.BsonUndefined
-
- BsonUndefinedCodec - Class in org.bson.codecs
-
Allows reading and writing of the BSON Undefined type.
- BsonUndefinedCodec() - Constructor for class org.bson.codecs.BsonUndefinedCodec
-
- BsonValue - Class in org.bson
-
Base class for any BSON type.
- BsonValueCodec - Class in org.bson.codecs
-
A codec for unknown BsonValues.
- BsonValueCodec() - Constructor for class org.bson.codecs.BsonValueCodec
-
- BsonValueCodec(CodecRegistry) - Constructor for class org.bson.codecs.BsonValueCodec
-
Creates a new instance initialised with the given codec registry.
- BsonValueCodecProvider - Class in org.bson.codecs
-
A CodecProvider
for all subclass of BsonValue.
- BsonValueCodecProvider() - Constructor for class org.bson.codecs.BsonValueCodecProvider
-
Construct a new instance with the default codec for each BSON type.
- BsonWriter - Interface in org.bson
-
An interface for writing a logical BSON document using a push-oriented API.
- BsonWriterSettings - Class in org.bson
-
All the customisable settings for writing BSON.
- BsonWriterSettings(int) - Constructor for class org.bson.BsonWriterSettings
-
Creates a new instance of the settings with the given maximum serialization depth.
- BsonWriterSettings() - Constructor for class org.bson.BsonWriterSettings
-
Creates a new instance of the settings with the default maximum serialization depth of 1024.
- build() - Method in class org.bson.codecs.DecoderContext.Builder
-
Build an instance of DecoderContext
.
- build() - Method in class org.bson.codecs.EncoderContext.Builder
-
Build an instance of EncoderContext
.
- build() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Creates a new ClassModel instance based on the mapping data provided.
- build() - Method in class org.bson.codecs.pojo.PojoCodecProvider.Builder
-
Creates the PojoCodecProvider with the classes or packages that configured and registered.
- build() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
- build() - Method in class org.bson.json.JsonWriterSettings.Builder
-
Build a JsonWriterSettings instance.
- build() - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings.Builder
-
Build a JsonWriterSettings instance.
- builder() - Static method in class org.bson.codecs.DecoderContext
-
Create a builder.
- builder() - Static method in class org.bson.codecs.EncoderContext
-
Create a builder.
- builder(Class<S>) - Static method in class org.bson.codecs.pojo.ClassModel
-
Creates a new Class Model builder instance using reflection.
- builder() - Static method in class org.bson.codecs.pojo.PojoCodecProvider
-
Creates a Builder so classes or packages can be registered and configured before creating an immutable CodecProvider.
- builder() - Static method in class org.bson.codecs.pojo.PropertyModel
-
- builder() - Static method in class org.bson.json.JsonWriterSettings
-
Create a builder for JsonWriterSettings, which are immutable.
- builder() - Static method in class org.bson.json.StrictCharacterStreamJsonWriterSettings
-
Create a builder for StrictCharacterStreamJsonWriterSettings, which are immutable.
- ByteArrayCodec - Class in org.bson.codecs
-
Encodes and decodes byte arrays.
- ByteArrayCodec() - Constructor for class org.bson.codecs.ByteArrayCodec
-
- ByteBuf - Interface in org.bson
-
An interface wrapper around a java.nio.ByteBuffer
which additionally is Closeable
, so that pooled byte buffers know
how.
- ByteBufferBsonInput - Class in org.bson.io
-
An implementation of BsonInput
that is backed by a ByteBuf
.
- ByteBufferBsonInput(ByteBuf) - Constructor for class org.bson.io.ByteBufferBsonInput
-
Construct an instance with the given byte buffer.
- ByteBufNIO - Class in org.bson
-
Implementation of ByteBuf
which simply wraps an NIO ByteBuffer
and forwards all calls to it.
- ByteBufNIO(ByteBuffer) - Constructor for class org.bson.ByteBufNIO
-
Creates a new instance.
- ByteCodec - Class in org.bson.codecs
-
Encodes and decodes Byte
objects.
- ByteCodec() - Constructor for class org.bson.codecs.ByteCodec
-
- DateCodec - Class in org.bson.codecs
-
Encodes and decodes java.util.Date
objects.
- DateCodec() - Constructor for class org.bson.codecs.DateCodec
-
- dateTimeConverter(Converter<Long>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON DateTime values to JSON.
- debug(String) - Method in interface org.bson.diagnostics.Logger
-
Log a message at the DEBUG level.
- debug(String, Throwable) - Method in interface org.bson.diagnostics.Logger
-
Log an exception (throwable) at the DEBUG level with an accompanying message.
- Decimal128 - Class in org.bson.types
-
A binary integer decimal representation of a 128-bit decimal value, supporting 34 decimal digits of significand and an exponent range
of -6143 to +6144.
- Decimal128(long) - Constructor for class org.bson.types.Decimal128
-
Constructs a Decimal128 value representing the given long.
- Decimal128(BigDecimal) - Constructor for class org.bson.types.Decimal128
-
Constructs a Decimal128 value representing the given BigDecimal.
- Decimal128Codec - Class in org.bson.codecs
-
Encodes and decodes Decimal128
objects.
- Decimal128Codec() - Constructor for class org.bson.codecs.Decimal128Codec
-
- decimal128Converter(Converter<Decimal128>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Decimal128 values to JSON.
- decimal128Value() - Method in class org.bson.BsonDecimal128
-
- decimal128Value() - Method in class org.bson.BsonDouble
-
- decimal128Value() - Method in class org.bson.BsonInt32
-
- decimal128Value() - Method in class org.bson.BsonInt64
-
- decimal128Value() - Method in class org.bson.BsonNumber
-
Returns the value of the specified number as a Decimal128
, which may involve rounding.
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.AtomicBooleanCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.AtomicIntegerCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.AtomicLongCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BigDecimalCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BinaryCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BooleanCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonArrayCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonBinaryCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonBooleanCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonDateTimeCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonDBPointerCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonDecimal128Codec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonDocumentCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonDocumentWrapperCodec
-
Decoding of BsonDocumentWrapper
instances is not supported, so this method will throw UnsupportedOperationException
in all cases.
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonDoubleCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonInt32Codec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonInt64Codec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonJavaScriptCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonJavaScriptWithScopeCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonMaxKeyCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonMinKeyCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonNullCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonObjectIdCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonRegularExpressionCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonStringCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonSymbolCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonTimestampCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonUndefinedCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonValueCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.ByteArrayCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.ByteCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.CharacterCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.CodeCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.CodeWithScopeCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.DateCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.Decimal128Codec
-
- decode(BsonReader, DecoderContext) - Method in interface org.bson.codecs.Decoder
-
Decodes a BSON value from the given reader into an instance of the type parameter T
.
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.DocumentCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.DoubleCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.FloatCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.IntegerCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.IterableCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.LongCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.MapCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.MaxKeyCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.MinKeyCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.ObjectIdCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.PatternCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.RawBsonDocumentCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.ShortCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.StringCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.SymbolCodec
-
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.UuidCodec
-
- decode(String) - Static method in class org.bson.internal.Base64
-
Decodes the given Base64-encoded string.
- decode(Codec<T>) - Method in class org.bson.RawBsonDocument
-
Decode this into a document.
- decode(Decoder<T>) - Method in class org.bson.RawBsonDocument
-
Decode this into a document.
- Decoder<T> - Interface in org.bson.codecs
-
Decoders are used for reading BSON types from MongoDB and converting them into Java objects.
- DecoderContext - Class in org.bson.codecs
-
The context for decoding values to BSON.
- DecoderContext.Builder - Class in org.bson.codecs
-
A builder for DecoderContext
instances.
- decodeWithChildContext(Decoder<T>, BsonReader) - Method in class org.bson.codecs.DecoderContext
-
Creates a child context and then deserializes using the reader.
- DEFAULT_CONVENTIONS - Static variable in class org.bson.codecs.pojo.Conventions
-
The default conventions list
- discriminator(String) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Sets the discriminator to be used when storing instances of the modeled type
- discriminatorEnabled(boolean) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Enables or disables the use of a discriminator when serializing
- discriminatorKey(String) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Sets the discriminator key to be used when storing instances of the modeled type
- Document - Class in org.bson
-
A representation of a document as a Map
.
- Document() - Constructor for class org.bson.Document
-
Creates an empty Document instance.
- Document(String, Object) - Constructor for class org.bson.Document
-
Create a Document instance initialized with the given key/value pair.
- Document(Map<String, Object>) - Constructor for class org.bson.Document
-
Creates a Document instance initialized with the given map.
- DocumentCodec - Class in org.bson.codecs
-
A Codec for Document instances.
- DocumentCodec() - Constructor for class org.bson.codecs.DocumentCodec
-
Construct a new instance with a default CodecRegistry
.
- DocumentCodec(CodecRegistry) - Constructor for class org.bson.codecs.DocumentCodec
-
Construct a new instance with the given registry.
- DocumentCodec(CodecRegistry, BsonTypeClassMap) - Constructor for class org.bson.codecs.DocumentCodec
-
Construct a new instance with the given registry and BSON type class map.
- DocumentCodec(CodecRegistry, BsonTypeClassMap, Transformer) - Constructor for class org.bson.codecs.DocumentCodec
-
Construct a new instance with the given registry and BSON type class map.
- DocumentCodecProvider - Class in org.bson.codecs
-
A CodecProvider
for the Document class and all the default Codec implementations on which it depends.
- DocumentCodecProvider() - Constructor for class org.bson.codecs.DocumentCodecProvider
-
Construct a new instance with a default BsonTypeClassMap
.
- DocumentCodecProvider(Transformer) - Constructor for class org.bson.codecs.DocumentCodecProvider
-
Construct a new instance with a default BsonTypeClassMap
and the given Transformer
.
- DocumentCodecProvider(BsonTypeClassMap) - Constructor for class org.bson.codecs.DocumentCodecProvider
-
Construct a new instance with the given instance of BsonTypeClassMap
.
- DocumentCodecProvider(BsonTypeClassMap, Transformer) - Constructor for class org.bson.codecs.DocumentCodecProvider
-
Construct a new instance with the given instance of BsonTypeClassMap
.
- documentHasId(BsonDocument) - Method in class org.bson.codecs.BsonDocumentCodec
-
- documentHasId(T) - Method in interface org.bson.codecs.CollectibleCodec
-
Returns true if the given document has an _id.
- documentHasId(Document) - Method in class org.bson.codecs.DocumentCodec
-
- doPeekBinarySize() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to peek at the binary size.
- doPeekBinarySize() - Method in class org.bson.BsonBinaryReader
-
- doPeekBinarySize() - Method in class org.bson.BsonDocumentReader
-
- doPeekBinarySize() - Method in class org.bson.json.JsonReader
-
- doPeekBinarySubType() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to peek at the binary subtype.
- doPeekBinarySubType() - Method in class org.bson.BsonBinaryReader
-
- doPeekBinarySubType() - Method in class org.bson.BsonDocumentReader
-
- doPeekBinarySubType() - Method in class org.bson.json.JsonReader
-
- doReadBinaryData() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read binary data
- doReadBinaryData() - Method in class org.bson.BsonBinaryReader
-
- doReadBinaryData() - Method in class org.bson.BsonDocumentReader
-
- doReadBinaryData() - Method in class org.bson.json.JsonReader
-
- doReadBoolean() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read booleans
- doReadBoolean() - Method in class org.bson.BsonBinaryReader
-
- doReadBoolean() - Method in class org.bson.BsonDocumentReader
-
- doReadBoolean() - Method in class org.bson.json.JsonReader
-
- doReadDateTime() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read date time
- doReadDateTime() - Method in class org.bson.BsonBinaryReader
-
- doReadDateTime() - Method in class org.bson.BsonDocumentReader
-
- doReadDateTime() - Method in class org.bson.json.JsonReader
-
- doReadDBPointer() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read a DBPointer
- doReadDBPointer() - Method in class org.bson.BsonBinaryReader
-
- doReadDBPointer() - Method in class org.bson.BsonDocumentReader
-
- doReadDBPointer() - Method in class org.bson.json.JsonReader
-
- doReadDecimal128() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read Decimal128
- doReadDecimal128() - Method in class org.bson.BsonBinaryReader
-
- doReadDecimal128() - Method in class org.bson.BsonDocumentReader
-
- doReadDecimal128() - Method in class org.bson.json.JsonReader
-
- doReadDouble() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read doubles
- doReadDouble() - Method in class org.bson.BsonBinaryReader
-
- doReadDouble() - Method in class org.bson.BsonDocumentReader
-
- doReadDouble() - Method in class org.bson.json.JsonReader
-
- doReadEndArray() - Method in class org.bson.AbstractBsonReader
-
Handles the logic when reading the end of an array
- doReadEndArray() - Method in class org.bson.BsonBinaryReader
-
- doReadEndArray() - Method in class org.bson.BsonDocumentReader
-
- doReadEndArray() - Method in class org.bson.json.JsonReader
-
- doReadEndDocument() - Method in class org.bson.AbstractBsonReader
-
Handles the logic when reading the end of a document
- doReadEndDocument() - Method in class org.bson.BsonBinaryReader
-
- doReadEndDocument() - Method in class org.bson.BsonDocumentReader
-
- doReadEndDocument() - Method in class org.bson.json.JsonReader
-
- doReadInt32() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read 32 bit ints
- doReadInt32() - Method in class org.bson.BsonBinaryReader
-
- doReadInt32() - Method in class org.bson.BsonDocumentReader
-
- doReadInt32() - Method in class org.bson.json.JsonReader
-
- doReadInt64() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read 64 bit ints
- doReadInt64() - Method in class org.bson.BsonBinaryReader
-
- doReadInt64() - Method in class org.bson.BsonDocumentReader
-
- doReadInt64() - Method in class org.bson.json.JsonReader
-
- doReadJavaScript() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read Javascript functions
- doReadJavaScript() - Method in class org.bson.BsonBinaryReader
-
- doReadJavaScript() - Method in class org.bson.BsonDocumentReader
-
- doReadJavaScript() - Method in class org.bson.json.JsonReader
-
- doReadJavaScriptWithScope() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read scoped Javascript functions
- doReadJavaScriptWithScope() - Method in class org.bson.BsonBinaryReader
-
- doReadJavaScriptWithScope() - Method in class org.bson.BsonDocumentReader
-
- doReadJavaScriptWithScope() - Method in class org.bson.json.JsonReader
-
- doReadMaxKey() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read a Max key
- doReadMaxKey() - Method in class org.bson.BsonBinaryReader
-
- doReadMaxKey() - Method in class org.bson.BsonDocumentReader
-
- doReadMaxKey() - Method in class org.bson.json.JsonReader
-
- doReadMinKey() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read a Min key
- doReadMinKey() - Method in class org.bson.BsonBinaryReader
-
- doReadMinKey() - Method in class org.bson.BsonDocumentReader
-
- doReadMinKey() - Method in class org.bson.json.JsonReader
-
- doReadNull() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read a null value
- doReadNull() - Method in class org.bson.BsonBinaryReader
-
- doReadNull() - Method in class org.bson.BsonDocumentReader
-
- doReadNull() - Method in class org.bson.json.JsonReader
-
- doReadObjectId() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read an ObjectId
- doReadObjectId() - Method in class org.bson.BsonBinaryReader
-
- doReadObjectId() - Method in class org.bson.BsonDocumentReader
-
- doReadObjectId() - Method in class org.bson.json.JsonReader
-
- doReadRegularExpression() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read a regular expression
- doReadRegularExpression() - Method in class org.bson.BsonBinaryReader
-
- doReadRegularExpression() - Method in class org.bson.BsonDocumentReader
-
- doReadRegularExpression() - Method in class org.bson.json.JsonReader
-
- doReadStartArray() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read the start of an array
- doReadStartArray() - Method in class org.bson.BsonBinaryReader
-
- doReadStartArray() - Method in class org.bson.BsonDocumentReader
-
- doReadStartArray() - Method in class org.bson.json.JsonReader
-
- doReadStartDocument() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read the start of a document
- doReadStartDocument() - Method in class org.bson.BsonBinaryReader
-
- doReadStartDocument() - Method in class org.bson.BsonDocumentReader
-
- doReadStartDocument() - Method in class org.bson.json.JsonReader
-
- doReadString() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read a String
- doReadString() - Method in class org.bson.BsonBinaryReader
-
- doReadString() - Method in class org.bson.BsonDocumentReader
-
- doReadString() - Method in class org.bson.json.JsonReader
-
- doReadSymbol() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read a Symbol
- doReadSymbol() - Method in class org.bson.BsonBinaryReader
-
- doReadSymbol() - Method in class org.bson.BsonDocumentReader
-
- doReadSymbol() - Method in class org.bson.json.JsonReader
-
- doReadTimestamp() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read a timestamp
- doReadTimestamp() - Method in class org.bson.BsonBinaryReader
-
- doReadTimestamp() - Method in class org.bson.BsonDocumentReader
-
- doReadTimestamp() - Method in class org.bson.json.JsonReader
-
- doReadUndefined() - Method in class org.bson.AbstractBsonReader
-
Handles the logic to read an Undefined value
- doReadUndefined() - Method in class org.bson.BsonBinaryReader
-
- doReadUndefined() - Method in class org.bson.BsonDocumentReader
-
- doReadUndefined() - Method in class org.bson.json.JsonReader
-
- doSkipName() - Method in class org.bson.AbstractBsonReader
-
Handles any logic required to skip the name (reader must be positioned on a name).
- doSkipName() - Method in class org.bson.BsonBinaryReader
-
- doSkipName() - Method in class org.bson.BsonDocumentReader
-
- doSkipName() - Method in class org.bson.json.JsonReader
-
- doSkipValue() - Method in class org.bson.AbstractBsonReader
-
Handles any logic required to skip the value (reader must be positioned on a value).
- doSkipValue() - Method in class org.bson.BsonBinaryReader
-
- doSkipValue() - Method in class org.bson.BsonDocumentReader
-
- doSkipValue() - Method in class org.bson.json.JsonReader
-
- DoubleCodec - Class in org.bson.codecs
-
Encodes and decodes Double
objects.
- DoubleCodec() - Constructor for class org.bson.codecs.DoubleCodec
-
- doubleConverter(Converter<Double>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Double values to JSON.
- doubleValue() - Method in class org.bson.BsonDecimal128
-
- doubleValue() - Method in class org.bson.BsonDouble
-
- doubleValue() - Method in class org.bson.BsonInt32
-
- doubleValue() - Method in class org.bson.BsonInt64
-
- doubleValue() - Method in class org.bson.BsonNumber
-
Returns the value of the specified number as a double
, which may involve rounding.
- doWriteBinaryData(BsonBinary) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a BsonBinary
value
- doWriteBinaryData(BsonBinary) - Method in class org.bson.BsonBinaryWriter
-
- doWriteBinaryData(BsonBinary) - Method in class org.bson.BsonDocumentWriter
-
- doWriteBinaryData(BsonBinary) - Method in class org.bson.json.JsonWriter
-
- doWriteBoolean(boolean) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a boolean value
- doWriteBoolean(boolean) - Method in class org.bson.BsonBinaryWriter
-
- doWriteBoolean(boolean) - Method in class org.bson.BsonDocumentWriter
-
- doWriteBoolean(boolean) - Method in class org.bson.json.JsonWriter
-
- doWriteDateTime(long) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a date time value
- doWriteDateTime(long) - Method in class org.bson.BsonBinaryWriter
-
- doWriteDateTime(long) - Method in class org.bson.BsonDocumentWriter
-
- doWriteDateTime(long) - Method in class org.bson.json.JsonWriter
-
- doWriteDBPointer(BsonDbPointer) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a DbPointer value
- doWriteDBPointer(BsonDbPointer) - Method in class org.bson.BsonBinaryWriter
-
- doWriteDBPointer(BsonDbPointer) - Method in class org.bson.BsonDocumentWriter
-
- doWriteDBPointer(BsonDbPointer) - Method in class org.bson.json.JsonWriter
-
- doWriteDecimal128(Decimal128) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a Decimal128 value
- doWriteDecimal128(Decimal128) - Method in class org.bson.BsonBinaryWriter
-
- doWriteDecimal128(Decimal128) - Method in class org.bson.BsonDocumentWriter
-
- doWriteDecimal128(Decimal128) - Method in class org.bson.json.JsonWriter
-
- doWriteDouble(double) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a Double value
- doWriteDouble(double) - Method in class org.bson.BsonBinaryWriter
-
- doWriteDouble(double) - Method in class org.bson.BsonDocumentWriter
-
- doWriteDouble(double) - Method in class org.bson.json.JsonWriter
-
- doWriteEndArray() - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing the end of an array
- doWriteEndArray() - Method in class org.bson.BsonBinaryWriter
-
- doWriteEndArray() - Method in class org.bson.BsonDocumentWriter
-
- doWriteEndArray() - Method in class org.bson.json.JsonWriter
-
- doWriteEndDocument() - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing the end of a document
- doWriteEndDocument() - Method in class org.bson.BsonBinaryWriter
-
- doWriteEndDocument() - Method in class org.bson.BsonDocumentWriter
-
- doWriteEndDocument() - Method in class org.bson.json.JsonWriter
-
- doWriteInt32(int) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing an int32 value
- doWriteInt32(int) - Method in class org.bson.BsonBinaryWriter
-
- doWriteInt32(int) - Method in class org.bson.BsonDocumentWriter
-
- doWriteInt32(int) - Method in class org.bson.json.JsonWriter
-
- doWriteInt64(long) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing an int64 value
- doWriteInt64(long) - Method in class org.bson.BsonBinaryWriter
-
- doWriteInt64(long) - Method in class org.bson.BsonDocumentWriter
-
- doWriteInt64(long) - Method in class org.bson.json.JsonWriter
-
- doWriteJavaScript(String) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a JavaScript function
- doWriteJavaScript(String) - Method in class org.bson.BsonBinaryWriter
-
- doWriteJavaScript(String) - Method in class org.bson.BsonDocumentWriter
-
- doWriteJavaScript(String) - Method in class org.bson.json.JsonWriter
-
- doWriteJavaScriptWithScope(String) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a scoped JavaScript function
- doWriteJavaScriptWithScope(String) - Method in class org.bson.BsonBinaryWriter
-
- doWriteJavaScriptWithScope(String) - Method in class org.bson.BsonDocumentWriter
-
- doWriteJavaScriptWithScope(String) - Method in class org.bson.json.JsonWriter
-
- doWriteMaxKey() - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a Max key
- doWriteMaxKey() - Method in class org.bson.BsonBinaryWriter
-
- doWriteMaxKey() - Method in class org.bson.BsonDocumentWriter
-
- doWriteMaxKey() - Method in class org.bson.json.JsonWriter
-
- doWriteMinKey() - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a Min key
- doWriteMinKey() - Method in class org.bson.BsonBinaryWriter
-
- doWriteMinKey() - Method in class org.bson.BsonDocumentWriter
-
- doWriteMinKey() - Method in class org.bson.json.JsonWriter
-
- doWriteName(String) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing the element name.
- doWriteName(String) - Method in class org.bson.json.JsonWriter
-
- doWriteNull() - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a Null value
- doWriteNull() - Method in class org.bson.BsonBinaryWriter
-
- doWriteNull() - Method in class org.bson.BsonDocumentWriter
-
- doWriteNull() - Method in class org.bson.json.JsonWriter
-
- doWriteObjectId(ObjectId) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing an ObjectId
- doWriteObjectId(ObjectId) - Method in class org.bson.BsonBinaryWriter
-
- doWriteObjectId(ObjectId) - Method in class org.bson.BsonDocumentWriter
-
- doWriteObjectId(ObjectId) - Method in class org.bson.json.JsonWriter
-
- doWriteRegularExpression(BsonRegularExpression) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a regular expression
- doWriteRegularExpression(BsonRegularExpression) - Method in class org.bson.BsonBinaryWriter
-
- doWriteRegularExpression(BsonRegularExpression) - Method in class org.bson.BsonDocumentWriter
-
- doWriteRegularExpression(BsonRegularExpression) - Method in class org.bson.json.JsonWriter
-
- doWriteStartArray() - Method in class org.bson.AbstractBsonWriter
-
Handles the logic to start writing an array
- doWriteStartArray() - Method in class org.bson.BsonBinaryWriter
-
- doWriteStartArray() - Method in class org.bson.BsonDocumentWriter
-
- doWriteStartArray() - Method in class org.bson.json.JsonWriter
-
- doWriteStartDocument() - Method in class org.bson.AbstractBsonWriter
-
Handles the logic to start writing a document
- doWriteStartDocument() - Method in class org.bson.BsonBinaryWriter
-
- doWriteStartDocument() - Method in class org.bson.BsonDocumentWriter
-
- doWriteStartDocument() - Method in class org.bson.json.JsonWriter
-
- doWriteString(String) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a String
- doWriteString(String) - Method in class org.bson.BsonBinaryWriter
-
- doWriteString(String) - Method in class org.bson.BsonDocumentWriter
-
- doWriteString(String) - Method in class org.bson.json.JsonWriter
-
- doWriteSymbol(String) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a Symbol
- doWriteSymbol(String) - Method in class org.bson.BsonBinaryWriter
-
- doWriteSymbol(String) - Method in class org.bson.BsonDocumentWriter
-
- doWriteSymbol(String) - Method in class org.bson.json.JsonWriter
-
- doWriteTimestamp(BsonTimestamp) - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing a timestamp
- doWriteTimestamp(BsonTimestamp) - Method in class org.bson.BsonBinaryWriter
-
- doWriteTimestamp(BsonTimestamp) - Method in class org.bson.BsonDocumentWriter
-
- doWriteTimestamp(BsonTimestamp) - Method in class org.bson.json.JsonWriter
-
- doWriteUndefined() - Method in class org.bson.AbstractBsonWriter
-
Handles the logic of writing an Undefined value
- doWriteUndefined() - Method in class org.bson.BsonBinaryWriter
-
- doWriteUndefined() - Method in class org.bson.BsonDocumentWriter
-
- doWriteUndefined() - Method in class org.bson.json.JsonWriter
-
- duplicate() - Method in interface org.bson.ByteBuf
-
Creates a new byte buffer that shares this buffer's content.
- duplicate() - Method in class org.bson.ByteBufNIO
-
- generate() - Method in interface org.bson.codecs.IdGenerator
-
Generates an ID for a MongoDB Document.
- generate() - Method in class org.bson.codecs.ObjectIdGenerator
-
- generateIdIfAbsentFromDocument(BsonDocument) - Method in class org.bson.codecs.BsonDocumentCodec
-
- generateIdIfAbsentFromDocument(T) - Method in interface org.bson.codecs.CollectibleCodec
-
Generates a value for the _id field on the given document, if the document does not have one.
- generateIdIfAbsentFromDocument(Document) - Method in class org.bson.codecs.DocumentCodec
-
- get(int) - Method in class org.bson.BsonArray
-
- get(Object) - Method in class org.bson.BsonDocument
-
- get(Object, BsonValue) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- get(Object) - Method in class org.bson.BsonDocumentWrapper
-
- get() - Method in interface org.bson.ByteBuf
-
Relative get method.
- get(int) - Method in interface org.bson.ByteBuf
-
Absolute get method.
- get(byte[]) - Method in interface org.bson.ByteBuf
-
Relative bulk get
method.
- get(int, byte[]) - Method in interface org.bson.ByteBuf
-
Absolute bulk get
method.
- get(byte[], int, int) - Method in interface org.bson.ByteBuf
-
Relative bulk get method.
- get(int, byte[], int, int) - Method in interface org.bson.ByteBuf
-
Absolute bulk get method.
- get() - Method in class org.bson.ByteBufNIO
-
- get(int) - Method in class org.bson.ByteBufNIO
-
- get(byte[]) - Method in class org.bson.ByteBufNIO
-
- get(int, byte[]) - Method in class org.bson.ByteBufNIO
-
- get(byte[], int, int) - Method in class org.bson.ByteBufNIO
-
- get(int, byte[], int, int) - Method in class org.bson.ByteBufNIO
-
- get(BsonType) - Method in class org.bson.codecs.BsonTypeClassMap
-
Gets the Class that is mapped to the given BSON type.
- get(BsonType) - Method in class org.bson.codecs.BsonTypeCodecMap
-
Gets the Codec mapped to the given bson type.
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.BsonValueCodecProvider
-
- get(Class<T>, CodecRegistry) - Method in interface org.bson.codecs.configuration.CodecProvider
-
Get a Codec
using the given context, which includes, most importantly, the Class for which a Codec
is required.
- get(Class<T>) - Method in interface org.bson.codecs.configuration.CodecRegistry
-
Gets a Codec
for the given Class.
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.DocumentCodecProvider
-
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.IterableCodecProvider
-
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.MapCodecProvider
-
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.pojo.PojoCodecProvider
-
- get(S) - Method in interface org.bson.codecs.pojo.PropertyAccessor
-
Gets the value for a given PropertyModel instance.
- get(TypeWithTypeParameters<T>, PropertyCodecRegistry) - Method in interface org.bson.codecs.pojo.PropertyCodecProvider
-
Get a Codec
using the given context, which includes, most importantly, the class and bound type parameters
for which a Codec
is required.
- get(TypeWithTypeParameters<T>) - Method in interface org.bson.codecs.pojo.PropertyCodecRegistry
-
Gets a Codec
for the given Class.
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.UuidCodecProvider
-
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.ValueCodecProvider
-
- get(Object, Class<T>) - Method in class org.bson.Document
-
Gets the value of the given key, casting it to the given Class<T>
.
- get(Object, T) - Method in class org.bson.Document
-
Gets the value of the given key, casting it to Class<T>
or returning the default value if null.
- get(Object) - Method in class org.bson.Document
-
- get(Object) - Method in class org.bson.RawBsonDocument
-
- get() - Static method in class org.bson.types.ObjectId
-
Gets a new object id.
- getAnnotations() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
- getArray(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonArray, or throws if not.
- getArray(Object, BsonArray) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getBinary(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonBinary, or throws if not.
- getBinary(Object, BsonBinary) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getBinaryConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Binary values to JSON.
- getBinaryWriterSettings() - Method in class org.bson.BsonBinaryWriter
-
- getBoolean(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonBoolean, or throws if not.
- getBoolean(Object, BsonBoolean) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getBoolean(Object) - Method in class org.bson.Document
-
Gets the value of the given key as a Boolean.
- getBoolean(Object, boolean) - Method in class org.bson.Document
-
Gets the value of the given key as a primitive boolean.
- getBooleanConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Boolean values to JSON.
- getBsonInput() - Method in class org.bson.BsonBinaryReader
-
Gets the BSON input backing this instance.
- getBsonOutput() - Method in class org.bson.BsonBinaryWriter
-
Gets the BSON output backing this instance.
- getBsonType() - Method in class org.bson.BsonArray
-
- getBsonType() - Method in class org.bson.BsonBinary
-
- getBsonType() - Method in class org.bson.BsonBoolean
-
- getBsonType() - Method in class org.bson.BsonDateTime
-
- getBsonType() - Method in class org.bson.BsonDbPointer
-
- getBsonType() - Method in class org.bson.BsonDecimal128
-
- getBsonType() - Method in class org.bson.BsonDocument
-
- getBsonType() - Method in class org.bson.BsonDouble
-
- getBsonType() - Method in class org.bson.BsonInt32
-
- getBsonType() - Method in class org.bson.BsonInt64
-
- getBsonType() - Method in class org.bson.BsonJavaScript
-
- getBsonType() - Method in class org.bson.BsonJavaScriptWithScope
-
- getBsonType() - Method in class org.bson.BsonMaxKey
-
- getBsonType() - Method in class org.bson.BsonMinKey
-
- getBsonType() - Method in class org.bson.BsonNull
-
- getBsonType() - Method in class org.bson.BsonObjectId
-
- getBsonType() - Method in class org.bson.BsonRegularExpression
-
- getBsonType() - Method in class org.bson.BsonString
-
- getBsonType() - Method in class org.bson.BsonSymbol
-
- getBsonType() - Method in class org.bson.BsonTimestamp
-
- getBsonType() - Method in class org.bson.BsonUndefined
-
- getBsonType() - Method in class org.bson.BsonValue
-
Gets the BSON type of this value.
- getBsonTypeClassMap() - Static method in class org.bson.codecs.BsonValueCodecProvider
-
Gets the BsonTypeClassMap used by this provider.
- getByteBuffer() - Method in class org.bson.RawBsonDocument
-
Returns a ByteBuf
that wraps the byte array, with the proper byte order.
- getByteBuffers() - Method in class org.bson.io.BasicOutputBuffer
-
- getByteBuffers() - Method in class org.bson.io.OutputBuffer
-
Get a list of byte buffers that are prepared to be read from; in other words, whose position is 0 and whose limit is the number of
bytes that should read.
- getChildContext() - Method in class org.bson.codecs.EncoderContext
-
Gets a child context based on this.
- getClassForBsonType(BsonType) - Static method in class org.bson.codecs.BsonValueCodecProvider
-
Get the BsonValue
subclass associated with the given BsonType
.
- getCode() - Method in class org.bson.BsonJavaScript
-
Get the Javascript code.
- getCode() - Method in class org.bson.BsonJavaScriptWithScope
-
Get the code.
- getCode() - Method in class org.bson.types.Code
-
Get the Javascript code.
- getCodec() - Method in class org.bson.codecs.pojo.PropertyModel
-
- getCodecRegistry() - Method in class org.bson.codecs.BsonDocumentCodec
-
Gets the CodecRegistry
for this Codec
.
- getContext() - Method in class org.bson.AbstractBsonReader
-
Get the context, which will indicate which state the reader is in, for example which part of a document it's currently reading.
- getContext() - Method in class org.bson.AbstractBsonWriter
-
Get the context, which will indicate which state the writer is in, for example which part of a document it's currently writing.
- getContext() - Method in class org.bson.BsonBinaryReader
-
- getContext() - Method in class org.bson.BsonBinaryWriter
-
- getContext() - Method in class org.bson.BsonDocumentReader
-
- getContext() - Method in class org.bson.BsonDocumentWriter
-
- getContext() - Method in class org.bson.json.JsonReader
-
- getContext() - Method in class org.bson.json.JsonWriter
-
- getContextType() - Method in class org.bson.AbstractBsonReader.Context
-
Return the type of this context.
- getContextType() - Method in class org.bson.AbstractBsonReader.Mark
-
- getContextType() - Method in class org.bson.AbstractBsonWriter.Context
-
Gets the current context type.
- getContextType() - Method in class org.bson.json.JsonReader.Context
-
- getConventions() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
- getCounter() - Method in class org.bson.types.ObjectId
-
Gets the counter.
- getCurrentBsonType() - Method in class org.bson.AbstractBsonReader
-
- getCurrentBsonType() - Method in interface org.bson.BsonReader
-
- getCurrentCounter() - Static method in class org.bson.types.ObjectId
-
Gets the current value of the auto-incrementing counter.
- getCurrentName() - Method in class org.bson.AbstractBsonReader
-
- getCurrentName() - Method in interface org.bson.BsonReader
-
Gets the most recently read name.
- getData() - Method in class org.bson.BsonBinary
-
Gets the data of this Binary.
- getData() - Method in class org.bson.types.Binary
-
Get a copy of the binary value.
- getDate(Object) - Method in class org.bson.Document
-
Gets the value of the given key as a Date.
- getDate() - Method in class org.bson.types.ObjectId
-
Gets the timestamp as a Date
instance.
- getDateTime(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonDateTime, or throws if not.
- getDateTime(Object, BsonDateTime) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getDateTimeConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON DateTime values to JSON.
- getDecimal128(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonDecimal128, or throws if not.
- getDecimal128(Object, BsonDecimal128) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getDecimal128Converter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Decimal128 values to JSON.
- getDiscriminator() - Method in class org.bson.codecs.pojo.ClassModel
-
Returns the discriminator key.
- getDiscriminator() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
- getDiscriminatorKey() - Method in class org.bson.codecs.pojo.ClassModel
-
Gets the value for the discriminator.
- getDiscriminatorKey() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
- getDocument(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonDocument, or throws if not.
- getDocument(Object, BsonDocument) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getDocument() - Method in class org.bson.BsonDocumentWriter
-
Gets the document that the writer is writing to.
- getDocumentId(BsonDocument) - Method in class org.bson.codecs.BsonDocumentCodec
-
- getDocumentId(T) - Method in interface org.bson.codecs.CollectibleCodec
-
Gets the _id of the given document if it contains one, otherwise throws IllegalArgumentException
.
- getDocumentId(Document) - Method in class org.bson.codecs.DocumentCodec
-
- getDouble(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonDouble, or throws if not.
- getDouble(Object, BsonDouble) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getDouble() - Method in interface org.bson.ByteBuf
-
Relative get method for reading a double value.
- getDouble(int) - Method in interface org.bson.ByteBuf
-
Absolute get method for reading a double value.
- getDouble() - Method in class org.bson.ByteBufNIO
-
- getDouble(int) - Method in class org.bson.ByteBufNIO
-
- getDouble(Object) - Method in class org.bson.Document
-
Gets the value of the given key as a Double.
- getDoubleConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Double values to JSON.
- getEncoder() - Method in class org.bson.BsonDocumentWrapper
-
Get the encoder to use for the wrapped document.
- getEncoderClass() - Method in class org.bson.codecs.AtomicBooleanCodec
-
- getEncoderClass() - Method in class org.bson.codecs.AtomicIntegerCodec
-
- getEncoderClass() - Method in class org.bson.codecs.AtomicLongCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BigDecimalCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BinaryCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BooleanCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonArrayCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonBinaryCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonBooleanCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonDateTimeCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonDBPointerCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonDecimal128Codec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonDocumentCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonDocumentWrapperCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonDoubleCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonInt32Codec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonInt64Codec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonJavaScriptCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonJavaScriptWithScopeCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonMaxKeyCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonMinKeyCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonNullCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonObjectIdCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonRegularExpressionCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonStringCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonSymbolCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonTimestampCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonUndefinedCodec
-
- getEncoderClass() - Method in class org.bson.codecs.BsonValueCodec
-
- getEncoderClass() - Method in class org.bson.codecs.ByteArrayCodec
-
- getEncoderClass() - Method in class org.bson.codecs.ByteCodec
-
- getEncoderClass() - Method in class org.bson.codecs.CharacterCodec
-
- getEncoderClass() - Method in class org.bson.codecs.CodeCodec
-
- getEncoderClass() - Method in class org.bson.codecs.CodeWithScopeCodec
-
- getEncoderClass() - Method in class org.bson.codecs.DateCodec
-
- getEncoderClass() - Method in class org.bson.codecs.Decimal128Codec
-
- getEncoderClass() - Method in class org.bson.codecs.DocumentCodec
-
- getEncoderClass() - Method in class org.bson.codecs.DoubleCodec
-
- getEncoderClass() - Method in interface org.bson.codecs.Encoder
-
Returns the Class instance that this encodes.
- getEncoderClass() - Method in class org.bson.codecs.FloatCodec
-
- getEncoderClass() - Method in class org.bson.codecs.IntegerCodec
-
- getEncoderClass() - Method in class org.bson.codecs.IterableCodec
-
- getEncoderClass() - Method in class org.bson.codecs.LongCodec
-
- getEncoderClass() - Method in class org.bson.codecs.MapCodec
-
- getEncoderClass() - Method in class org.bson.codecs.MaxKeyCodec
-
- getEncoderClass() - Method in class org.bson.codecs.MinKeyCodec
-
- getEncoderClass() - Method in class org.bson.codecs.ObjectIdCodec
-
- getEncoderClass() - Method in class org.bson.codecs.PatternCodec
-
- getEncoderClass() - Method in class org.bson.codecs.RawBsonDocumentCodec
-
- getEncoderClass() - Method in class org.bson.codecs.ShortCodec
-
- getEncoderClass() - Method in class org.bson.codecs.StringCodec
-
- getEncoderClass() - Method in class org.bson.codecs.SymbolCodec
-
- getEncoderClass() - Method in class org.bson.codecs.UuidCodec
-
- getErrorCode() - Method in exception org.bson.BSONException
-
Returns the error code.
- getFirstKey() - Method in class org.bson.BsonDocument
-
Gets the first key in the document.
- getFirstKey() - Method in class org.bson.RawBsonDocument
-
- getGeneratedMachineIdentifier() - Static method in class org.bson.types.ObjectId
-
Gets the generated machine identifier.
- getGeneratedProcessIdentifier() - Static method in class org.bson.types.ObjectId
-
Gets the generated process identifier.
- getHigh() - Method in class org.bson.types.Decimal128
-
Gets the high-order 64 bits of the IEEE 754-2008 128-bit decimal floating point encoding for this Decimal128, using the BID encoding
scheme.
- getId() - Method in class org.bson.BsonDbPointer
-
Gets the id.
- getIdPropertyModel() - Method in class org.bson.codecs.pojo.ClassModel
-
Returns the
PropertyModel
mapped as the id property for this ClassModel
- getIdPropertyName() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
- getInc() - Method in class org.bson.BsonTimestamp
-
Gets the increment value.
- getIndentCharacters() - Method in class org.bson.json.JsonWriterSettings
-
The indent characters to use if indent mode is enabled.
- getIndentCharacters() - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings
-
The indent characters to use if indent mode is enabled.
- getInstance() - Method in interface org.bson.codecs.pojo.InstanceCreator
-
Returns the new instance of the class.
- getInstanceCreatorFactory() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
- getInt() - Method in interface org.bson.ByteBuf
-
Relative get method for reading an int value.
- getInt(int) - Method in interface org.bson.ByteBuf
-
Absolute get method for reading an int value.
- getInt() - Method in class org.bson.ByteBufNIO
-
- getInt(int) - Method in class org.bson.ByteBufNIO
-
- getInt32(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonInt32, or throws if not.
- getInt32(Object, BsonInt32) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getInt32Converter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Int32 values to JSON.
- getInt64(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonInt64, or throws if not.
- getInt64(Object, BsonInt64) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getInt64Converter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Int64 values to JSON.
- getInteger(Object) - Method in class org.bson.Document
-
Gets the value of the given key as an Integer.
- getInteger(Object, int) - Method in class org.bson.Document
-
Gets the value of the given key as a primitive int.
- getInternalBuffer() - Method in class org.bson.io.BasicOutputBuffer
-
Gets the internal buffer.
- getJavaScriptConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON JavaScript values to JSON.
- getLogger(String) - Static method in class org.bson.diagnostics.Loggers
-
Gets a logger with the given suffix appended on to PREFIX
, separated by a '.'.
- getLong() - Method in interface org.bson.ByteBuf
-
Relative get method for reading a long value.
- getLong(int) - Method in interface org.bson.ByteBuf
-
Absolute get method for reading a long value.
- getLong() - Method in class org.bson.ByteBufNIO
-
- getLong(int) - Method in class org.bson.ByteBufNIO
-
- getLong(Object) - Method in class org.bson.Document
-
Gets the value of the given key as a Long.
- getLow() - Method in class org.bson.types.Decimal128
-
Gets the low-order 64 bits of the IEEE 754-2008 128-bit decimal floating point encoding for this Decimal128, using the BID encoding
scheme.
- getMachineIdentifier() - Method in class org.bson.types.ObjectId
-
Gets the machine identifier.
- getMark() - Method in class org.bson.BsonBinaryReader
-
- getMark() - Method in class org.bson.BsonDocumentReader
-
- getMark() - Method in interface org.bson.BsonReader
-
Gets a mark representing the current state of the reader.
- getMark() - Method in class org.bson.json.JsonReader
-
- getMaxDocumentSize() - Method in class org.bson.BsonBinaryWriterSettings
-
Gets the maximum size for BSON documents.
- getMaxKeyConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON MaxKey values to JSON.
- getMaxSerializationDepth() - Method in class org.bson.BsonWriterSettings
-
Gets the maximum nuber of levels of depth defined by this settings object.
- getMinKeyConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON MinKey values to JSON.
- getName() - Method in class org.bson.AbstractBsonWriter
-
The name of the field being written.
- getName() - Method in class org.bson.BsonElement
-
Gets the name of the key/field.
- getName() - Method in class org.bson.codecs.pojo.ClassModel
-
Returns the name of the class represented by this ClassModel
- getName() - Method in class org.bson.codecs.pojo.PropertyModel
-
- getName() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
- getName() - Method in interface org.bson.diagnostics.Logger
-
Return the name of this Logger
instance.
- getNamespace() - Method in class org.bson.BsonDbPointer
-
Gets the namespace.
- getNewLineCharacters() - Method in class org.bson.json.JsonWriterSettings
-
The new line character(s) to use if indent mode is enabled.
- getNewLineCharacters() - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings
-
The new line character(s) to use if indent mode is enabled.
- getNextElement() - Method in class org.bson.BsonDocumentReader.Context
-
- getNextState() - Method in class org.bson.AbstractBsonReader
-
- getNextState() - Method in class org.bson.AbstractBsonWriter
-
Returns the next valid state for this writer.
- getNextValue() - Method in class org.bson.BsonDocumentReader.Context
-
- getNullConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Null values to JSON.
- getNumber(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonNumber, or throws if not.
- getNumber(Object, BsonNumber) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getObjectId(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonObjectId, or throws if not.
- getObjectId(Object, BsonObjectId) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getObjectId(Object) - Method in class org.bson.Document
-
Gets the value of the given key as an ObjectId.
- getObjectIdConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON ObjectId values to JSON.
- getOptions() - Method in class org.bson.BsonRegularExpression
-
Gets the options for the regular expression
- getOutputMode() - Method in class org.bson.json.JsonWriterSettings
-
The output mode to use.
- getParentContext() - Method in class org.bson.AbstractBsonReader.Context
-
Returns the parent context.
- getParentContext() - Method in class org.bson.AbstractBsonReader.Mark
-
- getParentContext() - Method in class org.bson.AbstractBsonWriter.Context
-
Returns the parent context.
- getParentContext() - Method in class org.bson.BsonBinaryReader.Context
-
- getParentContext() - Method in class org.bson.BsonBinaryWriter.Context
-
- getParentContext() - Method in class org.bson.json.JsonReader.Context
-
- getParentContext() - Method in class org.bson.json.JsonWriter.Context
-
- getPattern() - Method in class org.bson.BsonRegularExpression
-
Gets the regex pattern.
- getPosition() - Method in class org.bson.io.BasicOutputBuffer
-
- getPosition() - Method in interface org.bson.io.BsonInput
-
Gets the current position in the stream
- getPosition() - Method in interface org.bson.io.BsonOutput
-
Gets the current position in the stream.
- getPosition() - Method in class org.bson.io.ByteBufferBsonInput
-
- getProcessIdentifier() - Method in class org.bson.types.ObjectId
-
Gets the process identifier.
- getProperty(String) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Gets a property by the property name.
- getPropertyAccessor() - Method in class org.bson.codecs.pojo.PropertyModel
-
- getPropertyAccessor() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
- getPropertyModel(String) - Method in class org.bson.codecs.pojo.ClassModel
-
- getPropertyModelBuilders() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
- getPropertyModels() - Method in class org.bson.codecs.pojo.ClassModel
-
Returns all the properties on this model
- getPropertySerialization() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
- getReadAnnotations() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Returns the read annotations, to be applied when serializing to BSON
- getReadName() - Method in class org.bson.codecs.pojo.PropertyModel
-
- getReadName() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
- getReferenceCount() - Method in interface org.bson.ByteBuf
-
Gets the current reference count, which starts at 0.
- getReferenceCount() - Method in class org.bson.ByteBufNIO
-
- getRegularExpression(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonRegularExpression, or throws if not.
- getRegularExpression(Object, BsonRegularExpression) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getRegularExpressionConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON RegularExpression values to JSON.
- getScope() - Method in class org.bson.BsonJavaScriptWithScope
-
Get the scope.
- getScope() - Method in class org.bson.types.CodeWithScope
-
Gets the scope, which is is a mapping from identifiers to values, representing the scope in which the code should be evaluated.
- getSize() - Method in class org.bson.io.BasicOutputBuffer
-
- getSize() - Method in interface org.bson.io.BsonOutput
-
Gets the current size of the stream in number of bytes.
- getState() - Method in class org.bson.AbstractBsonReader
-
- getState() - Method in class org.bson.AbstractBsonWriter
-
Gets the current state of this writer.
- getString(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonString, or throws if not.
- getString(Object, BsonString) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getString(Object) - Method in class org.bson.Document
-
Gets the value of the given key as a String.
- getStringConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON String values to JSON.
- getSymbol() - Method in class org.bson.BsonSymbol
-
Gets the symbol value
- getSymbol() - Method in class org.bson.types.Symbol
-
Gets the symbol.
- getSymbolConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Symbol values to JSON.
- getTime() - Method in class org.bson.BsonTimestamp
-
Gets the time in seconds since epoch.
- getTime() - Method in class org.bson.types.ObjectId
-
- getTimeSecond() - Method in class org.bson.types.ObjectId
-
- getTimestamp(Object) - Method in class org.bson.BsonDocument
-
Gets the value of the key if it is a BsonTimestamp, or throws if not.
- getTimestamp(Object, BsonTimestamp) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getTimestamp() - Method in class org.bson.types.ObjectId
-
Gets the timestamp (number of seconds since the Unix epoch).
- getTimestampConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Timestamp values to JSON.
- getType() - Method in class org.bson.BsonBinary
-
Gets the type of this Binary.
- getType() - Method in class org.bson.codecs.pojo.ClassModel
-
- getType() - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
- getType() - Method in interface org.bson.codecs.pojo.TypeWithTypeParameters
-
- getType() - Method in class org.bson.types.Binary
-
Get the binary sub type as a byte.
- getTypeData() - Method in class org.bson.codecs.pojo.PropertyModel
-
- getTypeParameters() - Method in interface org.bson.codecs.pojo.TypeWithTypeParameters
-
- getUndefinedConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Undefined values to JSON.
- getValidatorForField(String) - Method in interface org.bson.FieldNameValidator
-
Gets a new validator to use for the value of the field with the given name.
- getValue() - Method in enum org.bson.BsonBinarySubType
-
Gets the byte representation of this subtype.
- getValue() - Method in class org.bson.BsonBoolean
-
Gets the boolean value.
- getValue() - Method in class org.bson.BsonDateTime
-
Gets the DateTime value as a long
- getValue() - Method in class org.bson.BsonDecimal128
-
Gets the Decimal128 value.
- getValue() - Method in class org.bson.BsonDouble
-
Gets the double value.
- getValue() - Method in class org.bson.BsonElement
-
Gets the value of this element.
- getValue() - Method in class org.bson.BsonInt32
-
Gets the integer value.
- getValue() - Method in class org.bson.BsonInt64
-
Gets the long value.
- getValue() - Method in class org.bson.BsonObjectId
-
Get the ObjectId
value.
- getValue() - Method in class org.bson.BsonString
-
Gets the String value.
- getValue() - Method in class org.bson.BsonTimestamp
-
Gets the value of the timestamp.
- getValue() - Method in enum org.bson.BsonType
-
Get the int value of this BSON type.
- getValues() - Method in class org.bson.BsonArray
-
Gets the values in this array as a list of BsonValue
objects.
- getWrappedDocument() - Method in class org.bson.BsonDocumentWrapper
-
Get the wrapped document.
- getWriteAnnotations() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Returns the write annotations, to be applied when deserializing from BSON
- getWriteName() - Method in class org.bson.codecs.pojo.PropertyModel
-
- getWriteName() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
- getWriter() - Method in class org.bson.json.JsonWriter
-
Gets the Writer
.
- IdGenerator - Interface in org.bson.codecs
-
Classes that implement this interface define a way to create IDs for MongoDB documents.
- idPropertyName(String) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Designates a property as the _id
property for this type.
- indent(boolean) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets whether indentation is enabled, which defaults to false.
- indent(boolean) - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings.Builder
-
Sets whether indentation is enabled.
- indentCharacters(String) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the indent character string to use when indentation is enabled, which defaults to two spaces.
- indentCharacters(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings.Builder
-
Sets the indent character string to use when indentation is enabled.
- indexOf(Object) - Method in class org.bson.BsonArray
-
- info(String) - Method in interface org.bson.diagnostics.Logger
-
Log a message at the INFO level.
- info(String, Throwable) - Method in interface org.bson.diagnostics.Logger
-
Log an exception (throwable) at the INFO level with an accompanying message.
- InstanceCreator<T> - Interface in org.bson.codecs.pojo
-
Provides access for setting data and the creation of a class instances.
- instanceCreatorFactory(InstanceCreatorFactory<T>) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Sets the InstanceCreatorFactory for the ClassModel
- InstanceCreatorFactory<T> - Interface in org.bson.codecs.pojo
-
- int32Converter(Converter<Integer>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Int32 values to JSON.
- int64Converter(Converter<Long>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Int64 values to JSON.
- IntegerCodec - Class in org.bson.codecs
-
Encodes and decodes Integer
objects.
- IntegerCodec() - Constructor for class org.bson.codecs.IntegerCodec
-
- intValue() - Method in class org.bson.BsonDecimal128
-
- intValue() - Method in class org.bson.BsonDouble
-
- intValue() - Method in class org.bson.BsonInt32
-
- intValue() - Method in class org.bson.BsonInt64
-
- intValue() - Method in class org.bson.BsonNumber
-
Returns the value of the specified number as an int
, which may involve rounding or truncation.
- isArray(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonArray, returns false if the document does not contain the key.
- isArray() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonArray, false otherwise.
- isBinary(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonBinary, returns false if the document does not contain the key.
- isBinary() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonBinary, false otherwise.
- isBoolean(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonBoolean, returns false if the document does not contain the key.
- isBoolean() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonBoolean, false otherwise.
- isClosed() - Method in class org.bson.AbstractBsonReader
-
Return true if the reader has been closed.
- isClosed() - Method in class org.bson.AbstractBsonWriter
-
Returns whether this writer has been closed.
- isContainer() - Method in enum org.bson.BsonType
-
Returns whether this type is some sort of containing type, e.g.
- isDateTime(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonDateTime, returns false if the document does not contain the key.
- isDateTime() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDateTime, false otherwise.
- isDBPointer() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDbPointer, false otherwise.
- isDebugEnabled() - Method in interface org.bson.diagnostics.Logger
-
Is the logger instance enabled for the DEBUG level?
- isDecimal128(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonDecimal128, returns false if the document does not contain the key.
- isDecimal128() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDecimal128, false otherwise.
- isDiscriminatorEnabled() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
- isDocument(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonDocument, returns false if the document does not contain the key.
- isDocument() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDocument, false otherwise.
- isDouble(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonDouble, returns false if the document does not contain the key.
- isDouble() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDouble, false otherwise.
- isEmpty() - Method in class org.bson.BsonArray
-
- isEmpty() - Method in class org.bson.BsonDocument
-
- isEmpty() - Method in class org.bson.BsonDocumentWrapper
-
- isEmpty() - Method in class org.bson.Document
-
- isEmpty() - Method in class org.bson.RawBsonDocument
-
- isEncodingCollectibleDocument(boolean) - Method in class org.bson.codecs.EncoderContext.Builder
-
Set to true if the the value to be encoded is a document that will be put in a MongoDB collection.
- isEncodingCollectibleDocument() - Method in class org.bson.codecs.EncoderContext
-
Returns true if the the value to be encoded is a document that will be put in a MongoDB collection.
- isErrorEnabled() - Method in interface org.bson.diagnostics.Logger
-
Is the logger instance enabled for the ERROR level?
- isFinite() - Method in class org.bson.types.Decimal128
-
Returns true if this Decimal128 is finite.
- isIndent() - Method in class org.bson.json.JsonWriterSettings
-
The indentation mode.
- isIndent() - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings
-
The indentation mode.
- isInfinite() - Method in class org.bson.types.Decimal128
-
Returns true if this Decimal128 is infinite.
- isInfoEnabled() - Method in interface org.bson.diagnostics.Logger
-
Is the logger instance enabled for the INFO level?
- isInt32(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonInt32, returns false if the document does not contain the key.
- isInt32() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonInt32, false otherwise.
- isInt64(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonInt64, returns false if the document does not contain the key.
- isInt64() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonInt64, false otherwise.
- isJavaScript() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonJavaScript, false otherwise.
- isJavaScriptWithScope() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonJavaScriptWithScope, false otherwise.
- isNaN() - Method in class org.bson.types.Decimal128
-
Returns true if this Decimal128 is Not-A-Number (NaN).
- isNegative() - Method in class org.bson.types.Decimal128
-
Returns true if this Decimal128 is negative.
- isNull(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonNull, returns false if the document does not contain the key.
- isNull() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonNull, false otherwise.
- isNumber(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonNumber, returns false if the document does not contain the key.
- isNumber() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonNumber, false otherwise.
- isObjectId(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonObjectId, returns false if the document does not contain the key.
- isObjectId() - Method in class org.bson.BsonValue
-
Returns true if this is an BsonObjectId, false otherwise.
- isReadable() - Method in class org.bson.codecs.pojo.PropertyModel
-
Property is readable.
- isReadable() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Property is readable.
- isRegularExpression() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonRegularExpression, false otherwise.
- isString(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonString, returns false if the document does not contain the key.
- isString() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonString, false otherwise.
- isSymbol() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonSymbol, false otherwise.
- isTimestamp(Object) - Method in class org.bson.BsonDocument
-
Returns true if the value of the key is a BsonTimestamp, returns false if the document does not contain the key.
- isTimestamp() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonTimestamp, false otherwise.
- isTraceEnabled() - Method in interface org.bson.diagnostics.Logger
-
Is the logger instance enabled for the TRACE level?
- isTrue(String, boolean) - Static method in class org.bson.assertions.Assertions
-
Throw IllegalStateException if the condition if false.
- isTrueArgument(String, boolean) - Static method in class org.bson.assertions.Assertions
-
Throw IllegalArgumentException if the condition if false.
- isUnwrapped() - Method in class org.bson.BsonDocumentWrapper
-
Determine whether the document has been unwrapped already.
- isUuid(byte) - Static method in enum org.bson.BsonBinarySubType
-
Returns true if the given value is a UUID subtype
- isValid(String) - Static method in class org.bson.types.ObjectId
-
Checks if a string could be an ObjectId
.
- isWarnEnabled() - Method in interface org.bson.diagnostics.Logger
-
Is the logger instance enabled for the WARN level?
- isWritable() - Method in class org.bson.codecs.pojo.PropertyModel
-
Property is writable.
- isWritable() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Property is writable.
- IterableCodec - Class in org.bson.codecs
-
Encodes and decodes Iterable
objects.
- IterableCodec(CodecRegistry, BsonTypeClassMap) - Constructor for class org.bson.codecs.IterableCodec
-
Construct a new instance with the given CodecRegistry
and BsonTypeClassMap
.
- IterableCodec(CodecRegistry, BsonTypeClassMap, Transformer) - Constructor for class org.bson.codecs.IterableCodec
-
Construct a new instance with the given CodecRegistry
and BsonTypeClassMap
.
- IterableCodecProvider - Class in org.bson.codecs
-
A CodecProvider
for classes than implement the Iterable
interface.
- IterableCodecProvider() - Constructor for class org.bson.codecs.IterableCodecProvider
-
Construct a new instance with a default BsonTypeClassMap
and no Transformer
.
- IterableCodecProvider(Transformer) - Constructor for class org.bson.codecs.IterableCodecProvider
-
Construct a new instance with a default BsonTypeClassMap
and the given Transformer
.
- IterableCodecProvider(BsonTypeClassMap) - Constructor for class org.bson.codecs.IterableCodecProvider
-
Construct a new instance with the given instance of BsonTypeClassMap
and no Transformer
.
- IterableCodecProvider(BsonTypeClassMap, Transformer) - Constructor for class org.bson.codecs.IterableCodecProvider
-
Construct a new instance with the given instance of BsonTypeClassMap
and Transformer
.
- iterator() - Method in class org.bson.BsonArray
-
- RawBsonDocument - Class in org.bson
-
An immutable BSON document that is represented using only the raw bytes.
- RawBsonDocument(byte[]) - Constructor for class org.bson.RawBsonDocument
-
Constructs a new instance with the given byte array.
- RawBsonDocument(byte[], int, int) - Constructor for class org.bson.RawBsonDocument
-
Constructs a new instance with the given byte array, offset, and length.
- RawBsonDocument(T, Codec<T>) - Constructor for class org.bson.RawBsonDocument
-
Construct a new instance from the given document and codec for the document type.
- RawBsonDocumentCodec - Class in org.bson.codecs
-
A simple BSONDocumentBuffer codec.
- RawBsonDocumentCodec() - Constructor for class org.bson.codecs.RawBsonDocumentCodec
-
Constructs a new instance.
- readAnnotations(List<Annotation>) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Sets the read annotations, to be applied when serializing to BSON
- readBinaryData() - Method in class org.bson.AbstractBsonReader
-
- readBinaryData(String) - Method in class org.bson.AbstractBsonReader
-
- readBinaryData() - Method in interface org.bson.BsonReader
-
Reads BSON Binary data from the reader.
- readBinaryData(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Binary data element from the reader.
- readBoolean() - Method in class org.bson.AbstractBsonReader
-
- readBoolean(String) - Method in class org.bson.AbstractBsonReader
-
- readBoolean() - Method in interface org.bson.BsonReader
-
Reads a BSON Boolean from the reader.
- readBoolean(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Boolean element from the reader.
- readBsonType() - Method in class org.bson.AbstractBsonReader
-
- readBsonType() - Method in class org.bson.BsonBinaryReader
-
- readBsonType() - Method in class org.bson.BsonDocumentReader
-
- readBsonType() - Method in interface org.bson.BsonReader
-
Reads a BSONType from the reader.
- readBsonType() - Method in class org.bson.json.JsonReader
-
- readByte() - Method in interface org.bson.io.BsonInput
-
Reads a single byte from the stream
- readByte() - Method in class org.bson.io.ByteBufferBsonInput
-
- readBytes(byte[]) - Method in interface org.bson.io.BsonInput
-
Reads the specified number of bytes into the given byte array.
- readBytes(byte[], int, int) - Method in interface org.bson.io.BsonInput
-
Reads the specified number of bytes into the given byte array starting at the specified offset.
- readBytes(byte[]) - Method in class org.bson.io.ByteBufferBsonInput
-
- readBytes(byte[], int, int) - Method in class org.bson.io.ByteBufferBsonInput
-
- readCString() - Method in interface org.bson.io.BsonInput
-
Reads a BSON CString value from the stream.
- readCString() - Method in class org.bson.io.ByteBufferBsonInput
-
- readDateTime() - Method in class org.bson.AbstractBsonReader
-
- readDateTime(String) - Method in class org.bson.AbstractBsonReader
-
- readDateTime() - Method in interface org.bson.BsonReader
-
Reads a BSON DateTime from the reader.
- readDateTime(String) - Method in interface org.bson.BsonReader
-
Reads a BSON DateTime element from the reader.
- readDBPointer() - Method in class org.bson.AbstractBsonReader
-
- readDBPointer(String) - Method in class org.bson.AbstractBsonReader
-
- readDBPointer() - Method in interface org.bson.BsonReader
-
Reads a BSON DBPointer from the reader.
- readDBPointer(String) - Method in interface org.bson.BsonReader
-
Reads a BSON DBPointer element from the reader.
- readDecimal128() - Method in class org.bson.AbstractBsonReader
-
- readDecimal128(String) - Method in class org.bson.AbstractBsonReader
-
- readDecimal128() - Method in interface org.bson.BsonReader
-
Reads a BSON Decimal128 from the reader.
- readDecimal128(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Decimal128 element from the reader.
- readDouble() - Method in class org.bson.AbstractBsonReader
-
- readDouble(String) - Method in class org.bson.AbstractBsonReader
-
- readDouble() - Method in interface org.bson.BsonReader
-
Reads a BSON Double from the reader.
- readDouble(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Double element from the reader.
- readDouble() - Method in interface org.bson.io.BsonInput
-
Reads a BSON Double value from the stream.
- readDouble() - Method in class org.bson.io.ByteBufferBsonInput
-
- readEndArray() - Method in class org.bson.AbstractBsonReader
-
- readEndArray() - Method in interface org.bson.BsonReader
-
Reads the end of a BSON array from the reader.
- readEndDocument() - Method in class org.bson.AbstractBsonReader
-
- readEndDocument() - Method in interface org.bson.BsonReader
-
Reads the end of a BSON document from the reader.
- readInt32() - Method in class org.bson.AbstractBsonReader
-
- readInt32(String) - Method in class org.bson.AbstractBsonReader
-
- readInt32() - Method in interface org.bson.BsonReader
-
Reads a BSON Int32 from the reader.
- readInt32(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Int32 element from the reader.
- readInt32() - Method in interface org.bson.io.BsonInput
-
Reads a BSON Int32 value from the stream.
- readInt32() - Method in class org.bson.io.ByteBufferBsonInput
-
- readInt64() - Method in class org.bson.AbstractBsonReader
-
- readInt64(String) - Method in class org.bson.AbstractBsonReader
-
- readInt64() - Method in interface org.bson.BsonReader
-
Reads a BSON Int64 from the reader.
- readInt64(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Int64 element from the reader.
- readInt64() - Method in interface org.bson.io.BsonInput
-
Reads a BSON Int64 value from the stream.
- readInt64() - Method in class org.bson.io.ByteBufferBsonInput
-
- readJavaScript() - Method in class org.bson.AbstractBsonReader
-
- readJavaScript(String) - Method in class org.bson.AbstractBsonReader
-
- readJavaScript() - Method in interface org.bson.BsonReader
-
Reads a BSON JavaScript from the reader.
- readJavaScript(String) - Method in interface org.bson.BsonReader
-
Reads a BSON JavaScript element from the reader.
- readJavaScriptWithScope() - Method in class org.bson.AbstractBsonReader
-
- readJavaScriptWithScope(String) - Method in class org.bson.AbstractBsonReader
-
- readJavaScriptWithScope() - Method in interface org.bson.BsonReader
-
Reads a BSON JavaScript with scope from the reader (call readStartDocument next to read the scope).
- readJavaScriptWithScope(String) - Method in interface org.bson.BsonReader
-
Reads a BSON JavaScript with scope element from the reader (call readStartDocument next to read the scope).
- readMaxKey() - Method in class org.bson.AbstractBsonReader
-
- readMaxKey(String) - Method in class org.bson.AbstractBsonReader
-
- readMaxKey() - Method in interface org.bson.BsonReader
-
Reads a BSON MaxKey from the reader.
- readMaxKey(String) - Method in interface org.bson.BsonReader
-
Reads a BSON MaxKey element from the reader.
- readMinKey() - Method in class org.bson.AbstractBsonReader
-
- readMinKey(String) - Method in class org.bson.AbstractBsonReader
-
- readMinKey() - Method in interface org.bson.BsonReader
-
Reads a BSON MinKey from the reader.
- readMinKey(String) - Method in interface org.bson.BsonReader
-
Reads a BSON MinKey element from the reader.
- readName() - Method in class org.bson.AbstractBsonReader
-
- readName(String) - Method in class org.bson.AbstractBsonReader
-
- readName() - Method in interface org.bson.BsonReader
-
Reads the name of an element from the reader.
- readName(String) - Method in interface org.bson.BsonReader
-
Reads the name of an element from the reader.
- readName(String) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Sets the readName, the key for this property when deserializing the data from BSON.
- readNull() - Method in class org.bson.AbstractBsonReader
-
- readNull(String) - Method in class org.bson.AbstractBsonReader
-
- readNull() - Method in interface org.bson.BsonReader
-
Reads a BSON null from the reader.
- readNull(String) - Method in interface org.bson.BsonReader
-
Reads a BSON null element from the reader.
- readObjectId() - Method in class org.bson.AbstractBsonReader
-
- readObjectId(String) - Method in class org.bson.AbstractBsonReader
-
- readObjectId() - Method in interface org.bson.BsonReader
-
Reads a BSON ObjectId from the reader.
- readObjectId(String) - Method in interface org.bson.BsonReader
-
Reads a BSON ObjectId element from the reader.
- readObjectId() - Method in interface org.bson.io.BsonInput
-
Reads a BSON ObjectId value from the stream.
- readObjectId() - Method in class org.bson.io.ByteBufferBsonInput
-
- readRegularExpression() - Method in class org.bson.AbstractBsonReader
-
- readRegularExpression(String) - Method in class org.bson.AbstractBsonReader
-
- readRegularExpression() - Method in interface org.bson.BsonReader
-
Reads a BSON regular expression from the reader.
- readRegularExpression(String) - Method in interface org.bson.BsonReader
-
Reads a BSON regular expression element from the reader.
- readStartArray() - Method in class org.bson.AbstractBsonReader
-
- readStartArray() - Method in interface org.bson.BsonReader
-
Reads the start of a BSON array.
- readStartDocument() - Method in class org.bson.AbstractBsonReader
-
- readStartDocument() - Method in interface org.bson.BsonReader
-
Reads the start of a BSON document.
- readString() - Method in class org.bson.AbstractBsonReader
-
- readString(String) - Method in class org.bson.AbstractBsonReader
-
- readString() - Method in interface org.bson.BsonReader
-
Reads a BSON String from the reader.
- readString(String) - Method in interface org.bson.BsonReader
-
Reads a BSON string element from the reader.
- readString() - Method in interface org.bson.io.BsonInput
-
Reads a BSON String value from the stream.
- readString() - Method in class org.bson.io.ByteBufferBsonInput
-
- readSymbol() - Method in class org.bson.AbstractBsonReader
-
- readSymbol(String) - Method in class org.bson.AbstractBsonReader
-
- readSymbol() - Method in interface org.bson.BsonReader
-
Reads a BSON symbol from the reader.
- readSymbol(String) - Method in interface org.bson.BsonReader
-
Reads a BSON symbol element from the reader.
- readTimestamp() - Method in class org.bson.AbstractBsonReader
-
- readTimestamp(String) - Method in class org.bson.AbstractBsonReader
-
- readTimestamp() - Method in interface org.bson.BsonReader
-
Reads a BSON timestamp from the reader.
- readTimestamp(String) - Method in interface org.bson.BsonReader
-
Reads a BSON timestamp element from the reader.
- readUndefined() - Method in class org.bson.AbstractBsonReader
-
- readUndefined(String) - Method in class org.bson.AbstractBsonReader
-
- readUndefined() - Method in interface org.bson.BsonReader
-
Reads a BSON undefined from the reader.
- readUndefined(String) - Method in interface org.bson.BsonReader
-
Reads a BSON undefined element from the reader.
- readValue(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonArrayCodec
-
This method may be overridden to change the behavior of reading the current value from the given BsonReader
.
- readValue(BsonReader, DecoderContext) - Method in class org.bson.codecs.BsonDocumentCodec
-
This method may be overridden to change the behavior of reading the current value from the given BsonReader
.
- register(Class<?>...) - Method in class org.bson.codecs.pojo.PojoCodecProvider.Builder
-
Registers a classes with the builder for inclusion in the Provider.
- register(ClassModel<?>...) - Method in class org.bson.codecs.pojo.PojoCodecProvider.Builder
-
Registers classModels for inclusion in the Provider.
- register(String...) - Method in class org.bson.codecs.pojo.PojoCodecProvider.Builder
-
Registers the packages of the given classes with the builder for inclusion in the Provider.
- register(PropertyCodecProvider...) - Method in class org.bson.codecs.pojo.PojoCodecProvider.Builder
-
Registers codec providers that receive the type parameters of properties for instances encoded and decoded
by a PojoCodec
handled by this provider.
- regularExpressionConverter(Converter<BsonRegularExpression>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Regular Expression values to JSON.
- release() - Method in interface org.bson.ByteBuf
-
Release a reference to this object.
- release() - Method in class org.bson.ByteBufNIO
-
- remaining() - Method in interface org.bson.ByteBuf
-
Returns the number of elements between the current position and the limit.
- remaining() - Method in class org.bson.ByteBufNIO
-
- remove(Object) - Method in class org.bson.BsonArray
-
- remove(int) - Method in class org.bson.BsonArray
-
- remove(Object) - Method in class org.bson.BsonDocument
-
- remove(Object) - Method in class org.bson.BsonDocumentWrapper
-
- remove(Object) - Method in class org.bson.Document
-
- remove(Object) - Method in class org.bson.RawBsonDocument
-
- removeAll(Collection<?>) - Method in class org.bson.BsonArray
-
- removeProperty(String) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Remove a property from the builder
- reset() - Method in class org.bson.AbstractBsonReader.Mark
-
- reset() - Method in class org.bson.AbstractBsonWriter.Mark
-
Resets the AbstractBsonWriter
instance that contains this Mark
to the state the writer was in when the Mark was
created.
- reset() - Method in class org.bson.BsonBinaryReader.Mark
-
- reset() - Method in class org.bson.BsonBinaryReader
-
- reset() - Method in class org.bson.BsonBinaryWriter.Mark
-
- reset() - Method in class org.bson.BsonBinaryWriter
-
- reset() - Method in class org.bson.BsonDocumentReader.Context
-
- reset() - Method in class org.bson.BsonDocumentReader.Mark
-
- reset() - Method in class org.bson.BsonDocumentReader
-
- reset() - Method in interface org.bson.BsonReader
-
Go back to the state at the last mark and removes the mark
- reset() - Method in interface org.bson.BsonReaderMark
-
Reset the
BsonReader
to its state at the time the mark was created.
- reset() - Method in interface org.bson.io.BsonInput
-
Resets the stream to the current mark.
- reset() - Method in class org.bson.io.ByteBufferBsonInput
-
- reset() - Method in class org.bson.json.JsonReader.Mark
-
- reset() - Method in class org.bson.json.JsonReader
-
- retain() - Method in interface org.bson.ByteBuf
-
Retain an additional reference to this object.
- retain() - Method in class org.bson.ByteBufNIO
-
- retainAll(Collection<?>) - Method in class org.bson.BsonArray
-
- warn(String) - Method in interface org.bson.diagnostics.Logger
-
Log a message at the WARN level.
- warn(String, Throwable) - Method in interface org.bson.diagnostics.Logger
-
Log an exception (throwable) at the WARN level with an accompanying message.
- write(byte[]) - Method in class org.bson.io.BasicOutputBuffer
-
- write(int, int) - Method in class org.bson.io.BasicOutputBuffer
-
- write(byte[]) - Method in class org.bson.io.OutputBuffer
-
- write(byte[], int, int) - Method in class org.bson.io.OutputBuffer
-
- write(int) - Method in class org.bson.io.OutputBuffer
-
- write(int, int) - Method in class org.bson.io.OutputBuffer
-
Write the specified byte at the specified position.
- writeAnnotations(List<Annotation>) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Sets the writeAnnotations, to be applied when deserializing from BSON
- writeBinaryData(String, BsonBinary) - Method in class org.bson.AbstractBsonWriter
-
- writeBinaryData(BsonBinary) - Method in class org.bson.AbstractBsonWriter
-
- writeBinaryData(BsonBinary) - Method in interface org.bson.BsonWriter
-
Writes a BSON Binary data element to the writer.
- writeBinaryData(String, BsonBinary) - Method in interface org.bson.BsonWriter
-
Writes a BSON Binary data element to the writer.
- writeBoolean(String, boolean) - Method in class org.bson.AbstractBsonWriter
-
- writeBoolean(boolean) - Method in class org.bson.AbstractBsonWriter
-
- writeBoolean(boolean) - Method in interface org.bson.BsonWriter
-
Writes a BSON Boolean to the writer.
- writeBoolean(String, boolean) - Method in interface org.bson.BsonWriter
-
Writes a BSON Boolean element to the writer.
- writeBoolean(String, boolean) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeBoolean(boolean) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeBoolean(boolean) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a boolean to the writer.
- writeBoolean(String, boolean) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a a member with a boolean value to the writer.
- writeByte(int) - Method in class org.bson.io.BasicOutputBuffer
-
- writeByte(int) - Method in interface org.bson.io.BsonOutput
-
Write a single byte to the stream.
- writeBytes(byte[], int, int) - Method in class org.bson.io.BasicOutputBuffer
-
- writeBytes(byte[]) - Method in interface org.bson.io.BsonOutput
-
Writes all the bytes in the byte array to the stream.
- writeBytes(byte[], int, int) - Method in interface org.bson.io.BsonOutput
-
Writes length
bytes from the byte array, starting at offset
.
- writeBytes(byte[]) - Method in class org.bson.io.OutputBuffer
-
- writeCString(String) - Method in interface org.bson.io.BsonOutput
-
Writes a BSON CString to the stream.
- writeCString(String) - Method in class org.bson.io.OutputBuffer
-
- writeDateTime(String, long) - Method in class org.bson.AbstractBsonWriter
-
- writeDateTime(long) - Method in class org.bson.AbstractBsonWriter
-
- writeDateTime(long) - Method in interface org.bson.BsonWriter
-
Writes a BSON DateTime to the writer.
- writeDateTime(String, long) - Method in interface org.bson.BsonWriter
-
Writes a BSON DateTime element to the writer.
- writeDBPointer(String, BsonDbPointer) - Method in class org.bson.AbstractBsonWriter
-
- writeDBPointer(BsonDbPointer) - Method in class org.bson.AbstractBsonWriter
-
- writeDBPointer(BsonDbPointer) - Method in interface org.bson.BsonWriter
-
Writes a BSON DBPointer to the writer.
- writeDBPointer(String, BsonDbPointer) - Method in interface org.bson.BsonWriter
-
Writes a BSON DBPointer element to the writer.
- writeDecimal128(Decimal128) - Method in class org.bson.AbstractBsonWriter
-
- writeDecimal128(String, Decimal128) - Method in class org.bson.AbstractBsonWriter
-
- writeDecimal128(Decimal128) - Method in interface org.bson.BsonWriter
-
Writes a BSON Decimal128 to the writer.
- writeDecimal128(String, Decimal128) - Method in interface org.bson.BsonWriter
-
Writes a BSON Decimal128 element to the writer.
- writeDouble(String, double) - Method in class org.bson.AbstractBsonWriter
-
- writeDouble(double) - Method in class org.bson.AbstractBsonWriter
-
- writeDouble(double) - Method in interface org.bson.BsonWriter
-
Writes a BSON Double to the writer.
- writeDouble(String, double) - Method in interface org.bson.BsonWriter
-
Writes a BSON Double element to the writer.
- writeDouble(double) - Method in interface org.bson.io.BsonOutput
-
Writes a BSON double to the stream.
- writeDouble(double) - Method in class org.bson.io.OutputBuffer
-
- writeEndArray() - Method in class org.bson.AbstractBsonWriter
-
- writeEndArray() - Method in interface org.bson.BsonWriter
-
Writes the end of a BSON array to the writer.
- writeEndArray() - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeEndArray() - Method in interface org.bson.json.StrictJsonWriter
-
Writes the end of a JSON array to the writer.
- writeEndDocument() - Method in class org.bson.AbstractBsonWriter
-
- writeEndDocument() - Method in interface org.bson.BsonWriter
-
Writes the end of a BSON document to the writer.
- writeEndObject() - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeEndObject() - Method in interface org.bson.json.StrictJsonWriter
-
Writes the end of a JSON object to the writer.
- writeInt(int) - Method in class org.bson.io.OutputBuffer
-
Writes the given integer value to the buffer.
- writeInt32(String, int) - Method in class org.bson.AbstractBsonWriter
-
- writeInt32(int) - Method in class org.bson.AbstractBsonWriter
-
- writeInt32(int) - Method in interface org.bson.BsonWriter
-
Writes a BSON Int32 to the writer.
- writeInt32(String, int) - Method in interface org.bson.BsonWriter
-
Writes a BSON Int32 element to the writer.
- writeInt32(int) - Method in interface org.bson.io.BsonOutput
-
Writes a 32-bit BSON integer to the stream.
- writeInt32(int, int) - Method in interface org.bson.io.BsonOutput
-
Writes a 32-bit BSON integer to the stream at the given position.
- writeInt32(int) - Method in class org.bson.io.OutputBuffer
-
- writeInt32(int, int) - Method in class org.bson.io.OutputBuffer
-
- writeInt64(String, long) - Method in class org.bson.AbstractBsonWriter
-
- writeInt64(long) - Method in class org.bson.AbstractBsonWriter
-
- writeInt64(long) - Method in interface org.bson.BsonWriter
-
Writes a BSON Int64 to the writer.
- writeInt64(String, long) - Method in interface org.bson.BsonWriter
-
Writes a BSON Int64 element to the writer.
- writeInt64(long) - Method in interface org.bson.io.BsonOutput
-
Writes a 64-bit BSON integer to the stream.
- writeInt64(long) - Method in class org.bson.io.OutputBuffer
-
- writeJavaScript(String, String) - Method in class org.bson.AbstractBsonWriter
-
- writeJavaScript(String) - Method in class org.bson.AbstractBsonWriter
-
- writeJavaScript(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON JavaScript to the writer.
- writeJavaScript(String, String) - Method in interface org.bson.BsonWriter
-
Writes a BSON JavaScript element to the writer.
- writeJavaScriptWithScope(String, String) - Method in class org.bson.AbstractBsonWriter
-
- writeJavaScriptWithScope(String) - Method in class org.bson.AbstractBsonWriter
-
- writeJavaScriptWithScope(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).
- writeJavaScriptWithScope(String, String) - Method in interface org.bson.BsonWriter
-
Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope).
- writeLong(long) - Method in class org.bson.io.OutputBuffer
-
Writes the given long value to the buffer.
- writeMaxKey(String) - Method in class org.bson.AbstractBsonWriter
-
- writeMaxKey() - Method in class org.bson.AbstractBsonWriter
-
- writeMaxKey() - Method in interface org.bson.BsonWriter
-
Writes a BSON MaxKey to the writer.
- writeMaxKey(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON MaxKey element to the writer.
- writeMinKey(String) - Method in class org.bson.AbstractBsonWriter
-
- writeMinKey() - Method in class org.bson.AbstractBsonWriter
-
- writeMinKey() - Method in interface org.bson.BsonWriter
-
Writes a BSON MinKey to the writer.
- writeMinKey(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON MinKey element to the writer.
- writeName(String) - Method in class org.bson.AbstractBsonWriter
-
- writeName(String) - Method in interface org.bson.BsonWriter
-
Writes the name of an element to the writer.
- writeName(String) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Sets the writeName, the key for this property when serializing the data into BSON.
- writeName(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeName(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes the name of a member to the writer.
- writeNull(String) - Method in class org.bson.AbstractBsonWriter
-
- writeNull() - Method in class org.bson.AbstractBsonWriter
-
- writeNull() - Method in interface org.bson.BsonWriter
-
Writes a BSON null to the writer.
- writeNull(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON null element to the writer.
- writeNull(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeNull() - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeNull() - Method in interface org.bson.json.StrictJsonWriter
-
Writes a null value to the writer.
- writeNull(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a member with a null value to the writer.
- writeNumber(String, String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeNumber(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeNumber(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a number to the writer.
- writeNumber(String, String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a member with a numeric value to the writer.
- writeObjectId(String, ObjectId) - Method in class org.bson.AbstractBsonWriter
-
- writeObjectId(ObjectId) - Method in class org.bson.AbstractBsonWriter
-
- writeObjectId(ObjectId) - Method in interface org.bson.BsonWriter
-
Writes a BSON ObjectId to the writer.
- writeObjectId(String, ObjectId) - Method in interface org.bson.BsonWriter
-
Writes a BSON ObjectId element to the writer.
- writeObjectId(ObjectId) - Method in interface org.bson.io.BsonOutput
-
Writes a BSON ObjectId to the stream.
- writeObjectId(ObjectId) - Method in class org.bson.io.OutputBuffer
-
- writeRaw(String, String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeRaw(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeRaw(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a raw value without quoting or escaping.
- writeRaw(String, String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a member with a raw value without quoting or escaping.
- writeRegularExpression(String, BsonRegularExpression) - Method in class org.bson.AbstractBsonWriter
-
- writeRegularExpression(BsonRegularExpression) - Method in class org.bson.AbstractBsonWriter
-
- writeRegularExpression(BsonRegularExpression) - Method in interface org.bson.BsonWriter
-
Writes a BSON regular expression to the writer.
- writeRegularExpression(String, BsonRegularExpression) - Method in interface org.bson.BsonWriter
-
Writes a BSON regular expression element to the writer.
- writeStartArray(String) - Method in class org.bson.AbstractBsonWriter
-
- writeStartArray() - Method in class org.bson.AbstractBsonWriter
-
- writeStartArray() - Method in interface org.bson.BsonWriter
-
Writes the start of a BSON array to the writer.
- writeStartArray(String) - Method in interface org.bson.BsonWriter
-
Writes the start of a BSON array element to the writer.
- writeStartArray(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeStartArray() - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeStartArray() - Method in interface org.bson.json.StrictJsonWriter
-
Writes the start of a array to the writer.
- writeStartArray(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes the start of JSON array member to the writer.
- writeStartDocument(String) - Method in class org.bson.AbstractBsonWriter
-
- writeStartDocument() - Method in class org.bson.AbstractBsonWriter
-
- writeStartDocument() - Method in interface org.bson.BsonWriter
-
Writes the start of a BSON document to the writer.
- writeStartDocument(String) - Method in interface org.bson.BsonWriter
-
Writes the start of a BSON document element to the writer.
- writeStartObject(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeStartObject() - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeStartObject() - Method in interface org.bson.json.StrictJsonWriter
-
Writes the start of a JSON object to the writer.
- writeStartObject(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes the start of a JSON object member to the writer.
- writeString(String, String) - Method in class org.bson.AbstractBsonWriter
-
- writeString(String) - Method in class org.bson.AbstractBsonWriter
-
- writeString(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON String to the writer.
- writeString(String, String) - Method in interface org.bson.BsonWriter
-
Writes a BSON String element to the writer.
- writeString(String) - Method in interface org.bson.io.BsonOutput
-
Writes a BSON String to the stream.
- writeString(String) - Method in class org.bson.io.OutputBuffer
-
- writeString(String, String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeString(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
- writeString(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a String to the writer.
- writeString(String, String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a member with a string value to the writer.
- writeSymbol(String, String) - Method in class org.bson.AbstractBsonWriter
-
- writeSymbol(String) - Method in class org.bson.AbstractBsonWriter
-
- writeSymbol(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON Symbol to the writer.
- writeSymbol(String, String) - Method in interface org.bson.BsonWriter
-
Writes a BSON Symbol element to the writer.
- writeTimestamp(String, BsonTimestamp) - Method in class org.bson.AbstractBsonWriter
-
- writeTimestamp(BsonTimestamp) - Method in class org.bson.AbstractBsonWriter
-
- writeTimestamp(BsonTimestamp) - Method in interface org.bson.BsonWriter
-
Writes a BSON Timestamp to the writer.
- writeTimestamp(String, BsonTimestamp) - Method in interface org.bson.BsonWriter
-
Writes a BSON Timestamp element to the writer.
- writeUndefined(String) - Method in class org.bson.AbstractBsonWriter
-
- writeUndefined() - Method in class org.bson.AbstractBsonWriter
-
- writeUndefined() - Method in interface org.bson.BsonWriter
-
Writes a BSON undefined to the writer.
- writeUndefined(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON undefined element to the writer.