A B C D E F G H I J K L M N O P R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abortPipe() - Method in class org.bson.AbstractBsonWriter
-
Return true if the current execution of the pipe method should be aborted.
- abortPipe() - Method in class org.bson.json.JsonWriter
- 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
-
Capture the current state of this writer - its
AbstractBsonWriter.Context
,AbstractBsonWriter.State
, field name and depth. - AbstractBsonWriter.State - Enum in org.bson
-
The state of a writer.
- add(int, Object) - Method in class org.bson.LazyBSONList
- add(int, BsonValue) - Method in class org.bson.BsonArray
- add(int, BsonValue) - Method in class org.bson.RawBsonArray
- add(Object) - Method in class org.bson.LazyBSONList
- add(BsonValue) - Method in class org.bson.BsonArray
- add(BsonValue) - Method in class org.bson.RawBsonArray
- addAll(int, Collection) - Method in class org.bson.LazyBSONList
- addAll(int, Collection<? extends BsonValue>) - Method in class org.bson.BsonArray
- addAll(int, Collection<? extends BsonValue>) - Method in class org.bson.RawBsonArray
- addAll(Collection) - Method in class org.bson.LazyBSONList
- addAll(Collection<? extends BsonValue>) - Method in class org.bson.BsonArray
- addAll(Collection<? extends BsonValue>) - Method in class org.bson.RawBsonArray
- 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, Object) - Method in class org.bson.BasicBSONObject
-
Add a key/value pair to this object
- 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.BsonDocument
-
Put the given key and value into this document, and return the document.
- 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
- ARRAY - org.bson.BsonContextType
-
A BSON array.
- ARRAY - org.bson.BsonType
-
A BSON array.
- arrayDone() - Method in class org.bson.BasicBSONCallback
- arrayDone() - Method in interface org.bson.BSONCallback
-
Called the end of the array, and returns the completed array.
- arrayDone() - Method in class org.bson.EmptyBSONCallback
- arrayStart() - Method in class org.bson.BasicBSONCallback
- arrayStart() - Method in interface org.bson.BSONCallback
-
Signals the start of a BSON array.
- arrayStart() - Method in class org.bson.EmptyBSONCallback
- arrayStart(String) - Method in class org.bson.BasicBSONCallback
- arrayStart(String) - Method in interface org.bson.BSONCallback
-
Signals the start of a BSON array, with its field name.
- arrayStart(String) - Method in class org.bson.EmptyBSONCallback
- 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
- asBsonReader() - Method in class org.bson.BsonDocument
-
Gets the first value in the document
- 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
- asUuid() - Method in class org.bson.BsonBinary
-
Returns the binary as a UUID.
- asUuid(UuidRepresentation) - Method in class org.bson.BsonBinary
-
Returns the binary as a UUID.
- 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 wrap a
ClassModel
for any class that is requested.
B
- BasicBSONCallback - Class in org.bson
-
An implementation of
BsonCallback
that creates an instance of BSONObject. - BasicBSONCallback() - Constructor for class org.bson.BasicBSONCallback
-
Creates a new instance.
- BasicBSONDecoder - Class in org.bson
-
Basic implementation of BSONDecoder interface that creates BasicBSONObject instances
- BasicBSONDecoder() - Constructor for class org.bson.BasicBSONDecoder
- BasicBSONEncoder - Class in org.bson
-
This is meant to be pooled or cached.
- BasicBSONEncoder() - Constructor for class org.bson.BasicBSONEncoder
- BasicBSONList - Class in org.bson.types
-
Utility class to allow array
DBObject
s to be created. - BasicBSONList() - Constructor for class org.bson.types.BasicBSONList
- BasicBSONObject - Class in org.bson
-
A simple implementation of
DBObject
. - BasicBSONObject() - Constructor for class org.bson.BasicBSONObject
-
Creates an empty object.
- BasicBSONObject(int) - Constructor for class org.bson.BasicBSONObject
-
Creates an empty object.
- BasicBSONObject(String, Object) - Constructor for class org.bson.BasicBSONObject
-
Creates a BSONObject initialised with a single key/value pair.
- BasicBSONObject(Map) - Constructor for class org.bson.BasicBSONObject
-
Creates a DBObject from a map.
- 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(byte, byte[]) - Constructor for class org.bson.types.Binary
-
Creates a Binary object
- Binary(BsonBinarySubType, byte[]) - Constructor for class org.bson.types.Binary
-
Creates a Binary with the specified type and data.
- BINARY - org.bson.BsonBinarySubType
-
Binary data.
- BINARY - org.bson.BsonType
-
BSON binary data.
- 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.
- BOOLEAN - org.bson.BsonType
-
A BSON bool.
- 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
. - BSON_OBJECT_ID_GENERATOR - Static variable in class org.bson.codecs.pojo.IdGenerators
-
A IdGenerator for
BsonObjectId
- BsonArray - Class in org.bson
-
A type-safe representation of the BSON array type.
- BsonArray() - Constructor for class org.bson.BsonArray
-
Construct an empty BsonArray
- BsonArray(int) - Constructor for class org.bson.BsonArray
-
Construct an empty BsonArray with the specified initial capacity.
- BsonArray(List<? extends BsonValue>) - Constructor for class org.bson.BsonArray
-
Construct an instance with the given list of values.
- BsonArrayCodec - Class in org.bson.codecs
-
A codec for BsonArray instances.
- BsonArrayCodec() - Constructor for class org.bson.codecs.BsonArrayCodec
-
Creates a new instance with a default codec registry that uses the
BsonValueCodecProvider
. - 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(byte, byte[]) - Constructor for class org.bson.BsonBinary
-
Construct a new instance with the given data and binary sub type.
- BsonBinary(UUID) - Constructor for class org.bson.BsonBinary
-
Construct a Type 4 BsonBinary from the given UUID.
- BsonBinary(UUID, UuidRepresentation) - Constructor for class org.bson.BsonBinary
-
Construct a new instance from the given UUID and UuidRepresentation
- BsonBinary(BsonBinarySubType, 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(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(BsonOutput) - Constructor for class org.bson.BsonBinaryWriter
-
Construct an instance.
- BsonBinaryWriter(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() - Constructor for class org.bson.BsonBinaryWriterSettings
-
Creates a new instance of the settings with
Integer.MAX_VALUE
as the maximum document size. - BsonBinaryWriterSettings(int) - Constructor for class org.bson.BsonBinaryWriterSettings
-
Creates a new instance of the settings with the given 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
- BSONCallback - Interface in org.bson
-
A callback interface for describing the structure of a BSON document.
- BsonCodec - Class in org.bson.codecs
-
A codec for encoding Bson Implementations
- BsonCodec(CodecRegistry) - Constructor for class org.bson.codecs.BsonCodec
-
Create a new instance
- BsonCodecProvider - Class in org.bson.codecs
-
A codec for encoding simple Bson interface implementations
- BsonCodecProvider() - Constructor for class org.bson.codecs.BsonCodecProvider
- 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
- BSONDecoder - Interface in org.bson
-
An interface for decoders of BSON documents.
- 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() - Constructor for class org.bson.BsonDocument
-
Construct an empty document.
- BsonDocument(int) - Constructor for class org.bson.BsonDocument
-
Construct an empty document with the specified initial capacity.
- BsonDocument(String, BsonValue) - Constructor for class org.bson.BsonDocument
-
Construct a new instance with a single key value pair
- BsonDocument(List<BsonElement>) - Constructor for class org.bson.BsonDocument
-
Construct a new instance with the given list
BsonElement
, none of which may be null. - BsonDocumentCodec - Class in org.bson.codecs
-
A codec for BsonDocument instances.
- BsonDocumentCodec() - Constructor for class org.bson.codecs.BsonDocumentCodec
-
Creates a new instance with a default codec registry that uses the
BsonValueCodecProvider
. - 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 ofBsonDocument
. - 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 anEncoder
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 ofBsonDocument
. - 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
- BSONEncoder - Interface in org.bson
-
A
BSONEncoder
is a class which can be used to turn documents into byte arrays. - BSONException - Exception in org.bson
-
A general runtime exception raised in BSON processing.
- BSONException(int, String) - Constructor for exception org.bson.BSONException
- BSONException(int, String, Throwable) - Constructor for exception org.bson.BSONException
- BSONException(String) - Constructor for exception org.bson.BSONException
- BSONException(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.
- BsonInputMark - Interface in org.bson.io
-
Represents a bookmark that can be used to reset a
BsonInput
to its state at the time the mark was created. - 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
- BsonMaximumSizeExceededException - Exception in org.bson
-
An exception indicating a failure to serialize a BSON document due to it exceeding the maximum size.
- BsonMaximumSizeExceededException(String) - Constructor for exception org.bson.BsonMaximumSizeExceededException
-
Construct a new instance.
- 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 numeric BSON types.
- BsonNumber() - Constructor for class org.bson.BsonNumber
- BSONObject - Interface in org.bson
-
A key-value map that can be saved to the database.
- 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) - Constructor for class org.bson.BsonRegularExpression
-
Creates a new instance with no options set.
- BsonRegularExpression(String, String) - Constructor for class org.bson.BsonRegularExpression
-
Creates a new instance
- BsonRegularExpressionCodec - Class in org.bson.codecs
-
A codec for BSON regular expressions.
- BsonRegularExpressionCodec() - Constructor for class org.bson.codecs.BsonRegularExpressionCodec
- bsonRepresentation(BsonType) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Sets the BsonRepresentation
- BsonRepresentation - Annotation Type in org.bson.codecs.pojo.annotations
-
An annotation that specifies what type the property is stored as in the database.
- 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(int, int) - Constructor for class org.bson.BsonTimestamp
-
Construct a new instance for the given time and 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 - Class in org.bson.types
-
This is used for internal increment values.
- BSONTimestamp() - Constructor for class org.bson.types.BSONTimestamp
-
Creates a new instance.
- BSONTimestamp(int, int) - Constructor for class org.bson.types.BSONTimestamp
-
Creates a new instance.
- 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() - Constructor for class org.bson.codecs.BsonTypeClassMap
-
Construct an instance with the default mappings.
- 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.
- 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
-
Creates a new instance with a default codec registry that uses the
BsonValueCodecProvider
. - 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() - Constructor for class org.bson.BsonWriterSettings
-
Creates a new instance of the settings with the default maximum serialization depth of 1024.
- BsonWriterSettings(int) - Constructor for class org.bson.BsonWriterSettings
-
Creates a new instance of the settings with the given maximum serialization depth.
- 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
-
Creates the
PropertyModel
. - 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() - 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
-
Create a new
PropertyModelBuilder
- 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.
- builder(Class<S>) - Static method in class org.bson.codecs.pojo.ClassModel
-
Creates a new Class Model builder instance using reflection.
- 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 isCloseable
, so that pooled byte buffers know how. - ByteBufferBsonInput - Class in org.bson.io
-
An implementation of
BsonInput
that is backed by aByteBuf
. - 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 NIOByteBuffer
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
C
- C_SHARP_LEGACY - org.bson.UuidRepresentation
-
The legacy representation of UUID used by the C# driver BSON binary subtype 3
- capacity() - Method in interface org.bson.ByteBuf
-
Returns this buffer's capacity.
- capacity() - Method in class org.bson.ByteBufNIO
- CharacterCodec - Class in org.bson.codecs
-
Encodes and decodes
Character
objects. - CharacterCodec() - Constructor for class org.bson.codecs.CharacterCodec
- checkedDiscriminator(boolean) - Method in class org.bson.codecs.DecoderContext.Builder
-
Sets the checkedDiscriminator
- checkPreconditions(String, AbstractBsonWriter.State...) - Method in class org.bson.AbstractBsonWriter
-
Checks the writer is in the correct state.
- checkPreconditions(String, BsonType) - Method in class org.bson.AbstractBsonReader
-
Ensures any conditions are met before reading commences.
- checkState(AbstractBsonWriter.State[]) - Method in class org.bson.AbstractBsonWriter
-
Checks if this writer's current state is in the list of given states.
- CLASS_AND_PROPERTY_CONVENTION - Static variable in class org.bson.codecs.pojo.Conventions
-
The default class and property conventions Sets the discriminator key if not set to
_t
and the discriminator value if not set to the ClassModels simple type name. Configures the PropertyModels. - ClassModel<T> - Class in org.bson.codecs.pojo
-
This model represents the metadata for a class and all its properties.
- ClassModelBuilder<T> - Class in org.bson.codecs.pojo
-
A builder for programmatically creating
ClassModels
. - clear() - Method in class org.bson.BsonArray
- clear() - Method in class org.bson.BsonDocument
- clear() - Method in class org.bson.BsonDocumentWrapper
- clear() - Method in interface org.bson.ByteBuf
-
Clears this buffer.
- clear() - Method in class org.bson.ByteBufNIO
- clear() - Method in class org.bson.Document
- clear() - Method in class org.bson.LazyBSONList
- clear() - Method in class org.bson.RawBsonArray
- clear() - Method in class org.bson.RawBsonDocument
- clone() - Method in class org.bson.BsonArray
- clone() - Method in class org.bson.BsonDocument
- clone() - Method in class org.bson.BsonDocumentWrapper
- clone() - Method in class org.bson.RawBsonArray
- clone() - Method in class org.bson.RawBsonDocument
- close() - Method in class org.bson.AbstractBsonReader
-
Closes the reader.
- close() - Method in class org.bson.AbstractBsonWriter
- close() - Method in class org.bson.BsonBinaryReader
- close() - Method in class org.bson.BsonBinaryWriter
- close() - Method in interface org.bson.BsonReader
- close() - Method in class org.bson.io.BasicOutputBuffer
- close() - Method in interface org.bson.io.BsonInput
- close() - Method in interface org.bson.io.BsonOutput
- close() - Method in class org.bson.io.ByteBufferBsonInput
- close() - Method in class org.bson.io.OutputBuffer
- CLOSED - org.bson.AbstractBsonReader.State
-
The reader is closed.
- CLOSED - org.bson.AbstractBsonWriter.State
-
The writer is closed.
- Code - Class in org.bson.types
-
For using the Code type.
- Code(String) - Constructor for class org.bson.types.Code
-
Construct a new instance with the given code.
- codec(Codec<T>) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Sets a custom codec for the property
- Codec<T> - Interface in org.bson.codecs
-
Implementations of this interface can both encode and decode values of type
T
. - CodecConfigurationException - Exception in org.bson.codecs.configuration
-
An exception indicating that a codec registry has been misconfigured in some way, preventing it from providing a codec for the requested class.
- CodecConfigurationException(String) - Constructor for exception org.bson.codecs.configuration.CodecConfigurationException
-
Construct a new instance.
- CodecConfigurationException(String, Throwable) - Constructor for exception org.bson.codecs.configuration.CodecConfigurationException
-
Construct a new instance and wraps a cause
- CodeCodec - Class in org.bson.codecs
-
Encodes and decodes instances of type
Code
. - CodeCodec() - Constructor for class org.bson.codecs.CodeCodec
- CodecProvider - Interface in org.bson.codecs.configuration
-
A provider of
Codec
instances. - CodecRegistries - Class in org.bson.codecs.configuration
-
A helper class for creating and combining codecs, codec providers, and codec registries
- CodecRegistry - Interface in org.bson.codecs.configuration
-
A registry of Codec instances searchable by the class that the Codec can encode and decode.
- CodeWithScope - Class in org.bson.types
-
A representation of the JavaScript Code with Scope BSON type.
- CodeWithScope(String, Document) - Constructor for class org.bson.types.CodeWithScope
-
Construct an instance.
- CodeWithScopeCodec - Class in org.bson.codecs
-
Encodes and decodes
CodeWithScope
instances. - CodeWithScopeCodec(Codec<Document>) - Constructor for class org.bson.codecs.CodeWithScopeCodec
-
Creates a new CodeWithScopeCodec.
- CodeWScope - Class in org.bson.types
-
Represents the CodeWScope BSON type.
- CodeWScope(String, BSONObject) - Constructor for class org.bson.types.CodeWScope
-
Creates a new instance
- CollectibleCodec<T> - Interface in org.bson.codecs
-
A Codec that generates complete BSON documents for storage in a MongoDB collection.
- compareTo(BsonBoolean) - Method in class org.bson.BsonBoolean
- compareTo(BsonDateTime) - Method in class org.bson.BsonDateTime
- compareTo(BsonDouble) - Method in class org.bson.BsonDouble
- compareTo(BsonInt32) - Method in class org.bson.BsonInt32
- compareTo(BsonInt64) - Method in class org.bson.BsonInt64
- compareTo(BsonObjectId) - Method in class org.bson.BsonObjectId
- compareTo(BsonString) - Method in class org.bson.BsonString
- compareTo(BsonTimestamp) - Method in class org.bson.BsonTimestamp
- compareTo(BSONTimestamp) - Method in class org.bson.types.BSONTimestamp
- compareTo(Decimal128) - Method in class org.bson.types.Decimal128
- compareTo(ObjectId) - Method in class org.bson.types.ObjectId
- contains(Object) - Method in class org.bson.BsonArray
- contains(Object) - Method in class org.bson.LazyBSONList
- containsAll(Collection) - Method in class org.bson.LazyBSONList
- containsAll(Collection<?>) - Method in class org.bson.BsonArray
- containsField(String) - Method in class org.bson.BasicBSONObject
-
Checks if this object contains a given field
- containsField(String) - Method in interface org.bson.BSONObject
-
Checks if this object contains a field with the given name.
- containsField(String) - Method in class org.bson.LazyBSONObject
- containsField(String) - Method in class org.bson.types.BasicBSONList
- containsKey(Object) - Method in class org.bson.BsonDocument
- containsKey(Object) - Method in class org.bson.BsonDocumentWrapper
- containsKey(Object) - Method in class org.bson.Document
- containsKey(Object) - Method in class org.bson.RawBsonDocument
- containsValue(Object) - Method in class org.bson.BsonDocument
- containsValue(Object) - Method in class org.bson.BsonDocumentWrapper
- containsValue(Object) - Method in class org.bson.Document
- containsValue(Object) - Method in class org.bson.RawBsonDocument
- Context(AbstractBsonReader.Context, BsonContextType) - Constructor for class org.bson.AbstractBsonReader.Context
-
Creates a new instance.
- Context(AbstractBsonReader.Context, BsonContextType) - Constructor for class org.bson.json.JsonReader.Context
- Context(AbstractBsonWriter.Context) - Constructor for class org.bson.AbstractBsonWriter.Context
-
Creates a new instance, copying values from an existing context.
- Context(AbstractBsonWriter.Context, BsonContextType) - Constructor for class org.bson.AbstractBsonWriter.Context
-
Creates a new instance.
- Context(BsonBinaryWriter.Context) - Constructor for class org.bson.BsonBinaryWriter.Context
-
Creates a new instance by copying the values from the given context.
- Context(BsonBinaryWriter.Context, BsonContextType, int) - Constructor for class org.bson.BsonBinaryWriter.Context
-
Creates a new instance
- Context(BsonDocumentReader.Context, BsonContextType, BsonArray) - Constructor for class org.bson.BsonDocumentReader.Context
- Context(BsonDocumentReader.Context, BsonContextType, BsonDocument) - Constructor for class org.bson.BsonDocumentReader.Context
- Context(JsonWriter.Context, BsonContextType) - Constructor for class org.bson.json.JsonWriter.Context
-
Creates a new context.
- Convention - Interface in org.bson.codecs.pojo
-
Defines a convention to be applied when mapping a class.
- conventions(List<Convention>) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Sets the conventions to apply to the model
- conventions(List<Convention>) - Method in class org.bson.codecs.pojo.PojoCodecProvider.Builder
-
Sets the conventions to use when creating
ClassModels
from classes or packages. - Conventions - Class in org.bson.codecs.pojo
-
The default Conventions
- convert(T, StrictJsonWriter) - Method in interface org.bson.json.Converter
-
Convert the given value to JSON using the JSON writer.
- Converter<T> - Interface in org.bson.json
-
A converter from a BSON value to JSON.
- convertToType(Class<T>, Object, String) - Static method in class org.bson.assertions.Assertions
-
Cast an object to the given class and return it, or throw IllegalArgumentException if it's not assignable to that class.
- copy() - Method in class org.bson.AbstractBsonWriter.Context
-
Copies the values from this
Context
into a new instance. - copy() - Method in class org.bson.BsonBinaryWriter.Context
- create() - Method in class org.bson.BasicBSONCallback
-
Factory method for creating a new BSONObject.
- create() - Method in interface org.bson.codecs.pojo.InstanceCreatorFactory
- create(boolean, List<String>) - Method in class org.bson.BasicBSONCallback
-
Helper method to create either a BSON Object or a BSON List depending upon whether the
array
parameter is true or not. - createArray(byte[], int) - Method in class org.bson.LazyBSONCallback
-
Create a
LazyBSONList
from the given bytes starting from the given offset. - createBSONCallback() - Method in class org.bson.BasicBSONCallback
- createBSONCallback() - Method in interface org.bson.BSONCallback
-
Factory method for BSONCallbacks.
- createBSONCallback() - Method in class org.bson.EmptyBSONCallback
- createDBRef(String, ObjectId) - Method in class org.bson.LazyBSONCallback
-
This is a factory method pattern to create appropriate objects for BSON type DBPointer(0x0c).
- createList() - Method in class org.bson.BasicBSONCallback
-
Factory method for creating a new BSON List.
- createObject(byte[], int) - Method in class org.bson.LazyBSONCallback
-
Create a
LazyBSONObject
instance from the given bytes starting from the given offset. - cur() - Method in class org.bson.BasicBSONCallback
-
Gets the current value
- curName() - Method in class org.bson.BasicBSONCallback
-
Gets the name of the current field
D
- DATE_TIME - org.bson.BsonType
-
A BSON DateTime.
- 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.
- DB_POINTER - org.bson.BsonType
-
A BSON regular expression.
- 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.
- DECIMAL128 - org.bson.BsonType
-
A BSON Decimal128.
- 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(byte[], BSONCallback) - Method in class org.bson.BasicBSONDecoder
- decode(byte[], BSONCallback) - Method in interface org.bson.BSONDecoder
-
Decode a single BSON object into the given callback from the given byte array.
- decode(byte[], BSONCallback) - Method in class org.bson.LazyBSONDecoder
- decode(InputStream, BSONCallback) - Method in class org.bson.BasicBSONDecoder
- decode(InputStream, BSONCallback) - Method in interface org.bson.BSONDecoder
-
Decode a single BSON object into the given callback from the given input stream.
- decode(InputStream, BSONCallback) - Method in class org.bson.LazyBSONDecoder
- 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.BsonCodec
- 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 throwUnsupportedOperationException
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.JsonObjectCodec
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.jsr310.InstantCodec
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.jsr310.LocalDateCodec
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.jsr310.LocalDateTimeCodec
- decode(BsonReader, DecoderContext) - Method in class org.bson.codecs.jsr310.LocalTimeCodec
- 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(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_CODEC_REGISTRY - Static variable in interface org.bson.conversions.Bson
-
This registry includes the following providers:
ValueCodecProvider
BsonValueCodecProvider
DocumentCodecProvider
IterableCodecProvider
MapCodecProvider
Jsr310CodecProvider
JsonObjectCodecProvider
BsonCodecProvider
- DEFAULT_CONVENTIONS - Static variable in class org.bson.codecs.pojo.Conventions
-
The default conventions list
- discard() - Method in class org.bson.json.JsonReader.Mark
- 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.
- DOCUMENT - org.bson.BsonContextType
-
A (possibly embedded) BSON document.
- DOCUMENT - org.bson.BsonType
-
A BSON document.
- 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(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
. - DocumentCodecProvider(Transformer) - Constructor for class org.bson.codecs.DocumentCodecProvider
-
Construct a new instance with a default
BsonTypeClassMap
and the givenTransformer
. - documentHasId(BsonDocument) - Method in class org.bson.codecs.BsonDocumentCodec
- documentHasId(Document) - Method in class org.bson.codecs.DocumentCodec
- documentHasId(T) - Method in interface org.bson.codecs.CollectibleCodec
-
Returns true if the given document has an _id.
- done() - Method in class org.bson.BasicBSONEncoder
- done() - Method in interface org.bson.BSONEncoder
-
Free the resources.
- DONE - org.bson.AbstractBsonReader.State
-
The reader has finished reading a document.
- DONE - org.bson.AbstractBsonWriter.State
-
The writer is done.
- 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
- DOUBLE - org.bson.BsonType
-
A BSON double.
- 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. - doubleValue() - Method in class org.bson.types.Decimal128
-
Converts this
Decimal128
to adouble
. - 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
E
- EmptyBSONCallback - Class in org.bson
-
Convenience implementation of BSONCallback that throws
UnsupportedOperationException
for all methods. - EmptyBSONCallback() - Constructor for class org.bson.EmptyBSONCallback
- enableDiscriminator(boolean) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Enables or disables the use of a discriminator when serializing
- encode(BSONObject) - Method in class org.bson.BasicBSONEncoder
- encode(BSONObject) - Method in interface org.bson.BSONEncoder
-
Encode a document into byte array.
- encode(BsonWriter, byte[], EncoderContext) - Method in class org.bson.codecs.ByteArrayCodec
- encode(BsonWriter, Boolean, EncoderContext) - Method in class org.bson.codecs.BooleanCodec
- encode(BsonWriter, Byte, EncoderContext) - Method in class org.bson.codecs.ByteCodec
- encode(BsonWriter, Character, EncoderContext) - Method in class org.bson.codecs.CharacterCodec
- encode(BsonWriter, Double, EncoderContext) - Method in class org.bson.codecs.DoubleCodec
- encode(BsonWriter, Float, EncoderContext) - Method in class org.bson.codecs.FloatCodec
- encode(BsonWriter, Integer, EncoderContext) - Method in class org.bson.codecs.IntegerCodec
- encode(BsonWriter, Iterable, EncoderContext) - Method in class org.bson.codecs.IterableCodec
- encode(BsonWriter, Long, EncoderContext) - Method in class org.bson.codecs.LongCodec
- encode(BsonWriter, Short, EncoderContext) - Method in class org.bson.codecs.ShortCodec
- encode(BsonWriter, String, EncoderContext) - Method in class org.bson.codecs.StringCodec
- encode(BsonWriter, BigDecimal, EncoderContext) - Method in class org.bson.codecs.BigDecimalCodec
- encode(BsonWriter, Instant, EncoderContext) - Method in class org.bson.codecs.jsr310.InstantCodec
-
Encode an instance of the type parameter
T
into a BSON value. - encode(BsonWriter, LocalDate, EncoderContext) - Method in class org.bson.codecs.jsr310.LocalDateCodec
-
Encode an instance of the type parameter
T
into a BSON value. - encode(BsonWriter, LocalDateTime, EncoderContext) - Method in class org.bson.codecs.jsr310.LocalDateTimeCodec
-
Encode an instance of the type parameter
T
into a BSON value. - encode(BsonWriter, LocalTime, EncoderContext) - Method in class org.bson.codecs.jsr310.LocalTimeCodec
-
Encode an instance of the type parameter
T
into a BSON value. - encode(BsonWriter, AtomicBoolean, EncoderContext) - Method in class org.bson.codecs.AtomicBooleanCodec
- encode(BsonWriter, AtomicInteger, EncoderContext) - Method in class org.bson.codecs.AtomicIntegerCodec
- encode(BsonWriter, AtomicLong, EncoderContext) - Method in class org.bson.codecs.AtomicLongCodec
- encode(BsonWriter, Date, EncoderContext) - Method in class org.bson.codecs.DateCodec
- encode(BsonWriter, Map<String, Object>, EncoderContext) - Method in class org.bson.codecs.MapCodec
- encode(BsonWriter, Pattern, EncoderContext) - Method in class org.bson.codecs.PatternCodec
- encode(BsonWriter, UUID, EncoderContext) - Method in class org.bson.codecs.UuidCodec
- encode(BsonWriter, BsonArray, EncoderContext) - Method in class org.bson.codecs.BsonArrayCodec
- encode(BsonWriter, BsonBinary, EncoderContext) - Method in class org.bson.codecs.BsonBinaryCodec
- encode(BsonWriter, BsonBoolean, EncoderContext) - Method in class org.bson.codecs.BsonBooleanCodec
- encode(BsonWriter, BsonDateTime, EncoderContext) - Method in class org.bson.codecs.BsonDateTimeCodec
- encode(BsonWriter, BsonDbPointer, EncoderContext) - Method in class org.bson.codecs.BsonDBPointerCodec
- encode(BsonWriter, BsonDecimal128, EncoderContext) - Method in class org.bson.codecs.BsonDecimal128Codec
- encode(BsonWriter, BsonDocument, EncoderContext) - Method in class org.bson.codecs.BsonDocumentCodec
- encode(BsonWriter, BsonDocumentWrapper, EncoderContext) - Method in class org.bson.codecs.BsonDocumentWrapperCodec
- encode(BsonWriter, BsonDouble, EncoderContext) - Method in class org.bson.codecs.BsonDoubleCodec
- encode(BsonWriter, BsonInt32, EncoderContext) - Method in class org.bson.codecs.BsonInt32Codec
- encode(BsonWriter, BsonInt64, EncoderContext) - Method in class org.bson.codecs.BsonInt64Codec
- encode(BsonWriter, BsonJavaScript, EncoderContext) - Method in class org.bson.codecs.BsonJavaScriptCodec
- encode(BsonWriter, BsonJavaScriptWithScope, EncoderContext) - Method in class org.bson.codecs.BsonJavaScriptWithScopeCodec
- encode(BsonWriter, BsonMaxKey, EncoderContext) - Method in class org.bson.codecs.BsonMaxKeyCodec
- encode(BsonWriter, BsonMinKey, EncoderContext) - Method in class org.bson.codecs.BsonMinKeyCodec
- encode(BsonWriter, BsonNull, EncoderContext) - Method in class org.bson.codecs.BsonNullCodec
- encode(BsonWriter, BsonObjectId, EncoderContext) - Method in class org.bson.codecs.BsonObjectIdCodec
- encode(BsonWriter, BsonRegularExpression, EncoderContext) - Method in class org.bson.codecs.BsonRegularExpressionCodec
- encode(BsonWriter, BsonString, EncoderContext) - Method in class org.bson.codecs.BsonStringCodec
- encode(BsonWriter, BsonSymbol, EncoderContext) - Method in class org.bson.codecs.BsonSymbolCodec
- encode(BsonWriter, BsonTimestamp, EncoderContext) - Method in class org.bson.codecs.BsonTimestampCodec
- encode(BsonWriter, BsonUndefined, EncoderContext) - Method in class org.bson.codecs.BsonUndefinedCodec
- encode(BsonWriter, BsonValue, EncoderContext) - Method in class org.bson.codecs.BsonValueCodec
- encode(BsonWriter, Bson, EncoderContext) - Method in class org.bson.codecs.BsonCodec
- encode(BsonWriter, Document, EncoderContext) - Method in class org.bson.codecs.DocumentCodec
- encode(BsonWriter, JsonObject, EncoderContext) - Method in class org.bson.codecs.JsonObjectCodec
- encode(BsonWriter, RawBsonDocument, EncoderContext) - Method in class org.bson.codecs.RawBsonDocumentCodec
- encode(BsonWriter, Binary, EncoderContext) - Method in class org.bson.codecs.BinaryCodec
- encode(BsonWriter, Code, EncoderContext) - Method in class org.bson.codecs.CodeCodec
- encode(BsonWriter, CodeWithScope, EncoderContext) - Method in class org.bson.codecs.CodeWithScopeCodec
- encode(BsonWriter, Decimal128, EncoderContext) - Method in class org.bson.codecs.Decimal128Codec
- encode(BsonWriter, MaxKey, EncoderContext) - Method in class org.bson.codecs.MaxKeyCodec
- encode(BsonWriter, MinKey, EncoderContext) - Method in class org.bson.codecs.MinKeyCodec
- encode(BsonWriter, ObjectId, EncoderContext) - Method in class org.bson.codecs.ObjectIdCodec
- encode(BsonWriter, Symbol, EncoderContext) - Method in class org.bson.codecs.SymbolCodec
- encode(BsonWriter, T, EncoderContext) - Method in interface org.bson.codecs.Encoder
-
Encode an instance of the type parameter
T
into a BSON value. - Encoder<T> - Interface in org.bson.codecs
-
Instances of this class are capable of encoding an instance of the type parameter
T
into a BSON value. - EncoderContext - Class in org.bson.codecs
-
The context for encoding values to BSON.
- EncoderContext.Builder - Class in org.bson.codecs
-
A builder for
EncoderContext
instances. - encodeWithChildContext(Encoder<T>, BsonWriter, T) - Method in class org.bson.codecs.EncoderContext
-
Creates a child context based on this and serializes the value with it to the writer.
- end() - Method in interface org.bson.FieldNameValidator
-
End validation of a single document.
- END_OF_ARRAY - org.bson.AbstractBsonReader.State
-
The reader is positioned at the end of an array.
- END_OF_DOCUMENT - org.bson.AbstractBsonReader.State
-
The reader is positioned at the end of a document.
- END_OF_DOCUMENT - org.bson.BsonType
-
Not a real BSON type.
- entrySet() - Method in class org.bson.BsonDocument
- entrySet() - Method in class org.bson.BsonDocumentWrapper
- entrySet() - Method in class org.bson.Document
- entrySet() - Method in class org.bson.LazyBSONObject
-
Gets the entry set for all the key/value pairs in this
BSONObject
. - entrySet() - Method in class org.bson.RawBsonDocument
- equals(Object) - Method in class org.bson.BasicBSONObject
-
Compares two documents according to their serialized form, ignoring the order of keys.
- equals(Object) - Method in class org.bson.BsonArray
- equals(Object) - Method in class org.bson.BsonBinary
- equals(Object) - Method in class org.bson.BsonBoolean
- equals(Object) - Method in class org.bson.BsonDateTime
- equals(Object) - Method in class org.bson.BsonDbPointer
- equals(Object) - Method in class org.bson.BsonDecimal128
- equals(Object) - Method in class org.bson.BsonDocument
- equals(Object) - Method in class org.bson.BsonDocumentWrapper
- equals(Object) - Method in class org.bson.BsonDouble
- equals(Object) - Method in class org.bson.BsonElement
- equals(Object) - Method in class org.bson.BsonInt32
- equals(Object) - Method in class org.bson.BsonInt64
- equals(Object) - Method in class org.bson.BsonJavaScript
- equals(Object) - Method in class org.bson.BsonJavaScriptWithScope
- equals(Object) - Method in class org.bson.BsonMaxKey
- equals(Object) - Method in class org.bson.BsonMinKey
- equals(Object) - Method in class org.bson.BsonNull
- equals(Object) - Method in class org.bson.BsonObjectId
- equals(Object) - Method in class org.bson.BsonRegularExpression
- equals(Object) - Method in class org.bson.BsonString
- equals(Object) - Method in class org.bson.BsonSymbol
-
Will compare equal to a String that is equal to the String that this holds
- equals(Object) - Method in class org.bson.BsonTimestamp
- equals(Object) - Method in class org.bson.BsonUndefined
- equals(Object) - Method in class org.bson.codecs.BsonTypeClassMap
- equals(Object) - Method in class org.bson.codecs.DocumentCodecProvider
- equals(Object) - Method in class org.bson.codecs.IterableCodecProvider
- equals(Object) - Method in class org.bson.codecs.MapCodecProvider
- equals(Object) - Method in class org.bson.codecs.pojo.ClassModel
- equals(Object) - Method in class org.bson.codecs.pojo.PropertyModel
- equals(Object) - Method in class org.bson.codecs.ValueCodecProvider
- equals(Object) - Method in class org.bson.Document
- equals(Object) - Method in class org.bson.json.JsonObject
- equals(Object) - Method in class org.bson.LazyBSONObject
- equals(Object) - Method in class org.bson.RawBsonArray
- equals(Object) - Method in class org.bson.RawBsonDocument
- equals(Object) - Method in class org.bson.types.Binary
- equals(Object) - Method in class org.bson.types.BSONTimestamp
- equals(Object) - Method in class org.bson.types.Code
- equals(Object) - Method in class org.bson.types.CodeWithScope
- equals(Object) - Method in class org.bson.types.CodeWScope
- equals(Object) - Method in class org.bson.types.Decimal128
-
Returns true if the encoded representation of this instance is the same as the encoded representation of
o
. - equals(Object) - Method in class org.bson.types.MaxKey
- equals(Object) - Method in class org.bson.types.MinKey
- equals(Object) - Method in class org.bson.types.ObjectId
- equals(Object) - Method in class org.bson.types.Symbol
-
Will compare equal to a String that is equal to the String that this holds
- error(String) - Method in interface org.bson.diagnostics.Logger
-
Log a message at the ERROR level.
- error(String, Throwable) - Method in interface org.bson.diagnostics.Logger
-
Log an exception (throwable) at the ERROR level with an accompanying message.
- EXTENDED - org.bson.json.JsonMode
-
Standard extended JSON representation.
F
- FALSE - Static variable in class org.bson.BsonBoolean
- FieldNameValidator - Interface in org.bson
-
A field name validator, for use by BSON writers to validate field names as documents are encoded.
- findByValue(int) - Static method in enum org.bson.BsonType
-
Gets the
BsonType
that corresponds to the given int value. - flip() - Method in interface org.bson.ByteBuf
-
Flips this buffer.
- flip() - Method in class org.bson.ByteBufNIO
- FloatCodec - Class in org.bson.codecs
-
Encodes and decodes
Float
objects. - FloatCodec() - Constructor for class org.bson.codecs.FloatCodec
- floatValue() - Method in class org.bson.types.Decimal128
-
Converts this
Decimal128
to afloat
. - flush() - Method in class org.bson.BsonBinaryWriter
- flush() - Method in class org.bson.BsonDocumentWriter
- flush() - Method in interface org.bson.BsonWriter
-
Flushes any pending data to the output destination.
- flush() - Method in class org.bson.json.JsonWriter
- fromCodecs(List<? extends Codec<?>>) - Static method in class org.bson.codecs.configuration.CodecRegistries
-
Creates a
CodecRegistry
from the provided list ofCodec
instances. - fromCodecs(Codec<?>...) - Static method in class org.bson.codecs.configuration.CodecRegistries
-
Creates a
CodecRegistry
from the provided list ofCodec
instances. - fromIEEE754BIDEncoding(long, long) - Static method in class org.bson.types.Decimal128
-
Create an instance with the given high and low order bits representing this Decimal128 as an IEEE 754-2008 128-bit decimal floating point using the BID encoding scheme.
- fromProviders(List<? extends CodecProvider>) - Static method in class org.bson.codecs.configuration.CodecRegistries
-
Creates a
CodecRegistry
from the provided list ofCodecProvider
instances. - fromProviders(CodecProvider...) - Static method in class org.bson.codecs.configuration.CodecRegistries
-
Creates a
CodecRegistry
from the provided list ofCodecProvider
instances. - fromRegistries(List<? extends CodecRegistry>) - Static method in class org.bson.codecs.configuration.CodecRegistries
-
A
CodecRegistry
that combines the givenCodecRegistry
instances into a single registry. - fromRegistries(CodecRegistry...) - Static method in class org.bson.codecs.configuration.CodecRegistries
-
A
CodecRegistry
that combines the givenCodecRegistry
instances into a single registry. - FUNCTION - org.bson.BsonBinarySubType
-
A function.
G
- generate() - Method in interface org.bson.codecs.IdGenerator
-
Generates an ID for a MongoDB Document.
- generate() - Method in class org.bson.codecs.ObjectIdGenerator
- generate() - Method in interface org.bson.codecs.pojo.IdGenerator
-
Generates an id for a Pojo.
- generateIdIfAbsentFromDocument(BsonDocument) - Method in class org.bson.codecs.BsonDocumentCodec
- generateIdIfAbsentFromDocument(Document) - Method in class org.bson.codecs.DocumentCodec
- 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.
- get() - Method in class org.bson.BasicBSONCallback
- get() - Method in interface org.bson.BSONCallback
-
Returns the finished top-level Document.
- get() - Method in interface org.bson.ByteBuf
-
Relative get method.
- get() - Method in class org.bson.ByteBufNIO
- get() - Method in class org.bson.EmptyBSONCallback
- get() - Method in class org.bson.LazyBSONCallback
- get() - Static method in class org.bson.types.ObjectId
-
Gets a new object id.
- get(byte[]) - Method in interface org.bson.ByteBuf
-
Relative bulk
get
method. - get(byte[]) - Method in class org.bson.ByteBufNIO
- get(byte[], int, int) - Method in interface org.bson.ByteBuf
-
Relative bulk get method.
- get(byte[], int, int) - Method in class org.bson.ByteBufNIO
- get(int) - Method in class org.bson.BsonArray
- get(int) - Method in interface org.bson.ByteBuf
-
Absolute get method.
- get(int) - Method in class org.bson.ByteBufNIO
- get(int) - Method in class org.bson.LazyBSONList
- get(int, byte[]) - Method in interface org.bson.ByteBuf
-
Absolute bulk
get
method. - get(int, byte[]) - Method in class org.bson.ByteBufNIO
- get(int, byte[], int, int) - Method in interface org.bson.ByteBuf
-
Absolute bulk get method.
- get(int, byte[], int, int) - Method in class org.bson.ByteBufNIO
- 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.BsonCodecProvider
- 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 aCodec
is required. - 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.JsonObjectCodecProvider
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.jsr310.Jsr310CodecProvider
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.MapCodecProvider
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.pojo.PojoCodecProvider
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.UuidCodecProvider
- get(Class<T>, CodecRegistry) - Method in class org.bson.codecs.ValueCodecProvider
- get(Object) - Method in class org.bson.BsonDocument
- get(Object) - Method in class org.bson.BsonDocumentWrapper
- get(Object) - Method in class org.bson.Document
- get(Object) - Method in class org.bson.RawBsonDocument
- 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, BsonValue) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- 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(String) - Method in class org.bson.BasicBSONObject
-
Gets a value from this object
- get(String) - Method in interface org.bson.BSONObject
-
Gets a field from this object by a given name.
- get(String) - Method in class org.bson.LazyBSONObject
- get(String) - Method in class org.bson.types.BasicBSONList
-
Gets a value at an index.
- 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(TypeWithTypeParameters<T>) - Method in interface org.bson.codecs.pojo.PropertyCodecRegistry
-
Gets a
Codec
for the given Class. - 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 aCodec
is required. - get(S) - Method in interface org.bson.codecs.pojo.PropertyAccessor
-
Gets the value for a given PropertyModel instance.
- 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) - 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.
- getBoolean(Object, BsonBoolean) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getBoolean(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a boolean.
- getBoolean(String, boolean) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a 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.
- getBsonRepresentation() - Method in class org.bson.codecs.pojo.PropertyModel
- getBsonRepresentation() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Returns the BsonRepresentation
- getBSONSize() - Method in class org.bson.LazyBSONObject
-
Gets the size in bytes of the BSON document.
- 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.
- getBsonWriter() - Method in class org.bson.BasicBSONEncoder
-
Gets the writer responsible for writing the encoded BSON.
- 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.
- getBytes() - Method in class org.bson.LazyBSONObject
-
Gets the raw bytes.
- 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 givenBsonType
. - 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 thisCodec
. - 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
- getCurrentBsonType() - Method in class org.bson.AbstractBsonReader
- getCurrentBsonType() - Method in interface org.bson.BsonReader
- getCurrentLength() - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
Gets the current length of the JSON text.
- 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() - Method in class org.bson.types.ObjectId
-
Gets the timestamp as a
Date
instance. - getDate(Object) - Method in class org.bson.Document
-
Gets the value of the given key as a Date.
- getDate(String) - Method in class org.bson.BasicBSONObject
-
Returns the date or null if not set.
- getDate(String, Date) - Method in class org.bson.BasicBSONObject
-
Returns the date or def if not set.
- 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() - Method in class org.bson.BsonDocumentWriter
-
Gets the document that the writer is writing to.
- 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.
- getDocumentId(BsonDocument) - Method in class org.bson.codecs.BsonDocumentCodec
- getDocumentId(Document) - Method in class org.bson.codecs.DocumentCodec
- getDocumentId(T) - Method in interface org.bson.codecs.CollectibleCodec
-
Gets the _id of the given document if it contains one, otherwise throws
IllegalArgumentException
. - getDouble() - Method in interface org.bson.ByteBuf
-
Relative get method for reading a double value.
- getDouble() - Method in class org.bson.ByteBufNIO
- getDouble(int) - Method in interface org.bson.ByteBuf
-
Absolute get method for reading a double value.
- getDouble(int) - Method in class org.bson.ByteBufNIO
- 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) - Method in class org.bson.Document
-
Gets the value of the given key as a Double.
- getDouble(Object, BsonDouble) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getDouble(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a
double
. - getDouble(String, double) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as an
double
. - getDoubleConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON Double values to JSON.
- getEmbedded(List<?>, Class<T>) - Method in class org.bson.Document
-
Gets the value in an embedded document, casting it to the given
Class<T>
. - getEmbedded(List<?>, T) - Method in class org.bson.Document
-
Gets the value in an embedded document, casting it to the given
Class<T>
or returning the default value if null. - 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.BsonCodec
- 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.JsonObjectCodec
- getEncoderClass() - Method in class org.bson.codecs.jsr310.InstantCodec
- getEncoderClass() - Method in class org.bson.codecs.jsr310.LocalDateCodec
- getEncoderClass() - Method in class org.bson.codecs.jsr310.LocalDateTimeCodec
- getEncoderClass() - Method in class org.bson.codecs.jsr310.LocalTimeCodec
- 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
- 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.
- getIdGenerator() - Method in class org.bson.codecs.pojo.ClassModelBuilder
- 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.
- getInc() - Method in class org.bson.types.BSONTimestamp
-
Gets the incrementing ordinal for operations within a given second.
- 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() - Method in class org.bson.ByteBufNIO
- getInt(int) - Method in interface org.bson.ByteBuf
-
Absolute get method for reading an int value.
- getInt(int) - Method in class org.bson.ByteBufNIO
- getInt(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as an
int
. - getInt(String, int) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as an
int
. - 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.
- getJson() - Method in class org.bson.json.JsonObject
-
Gets the JSON object string
- getList(Object, Class<T>) - Method in class org.bson.Document
-
Gets the list value of the given key, casting the list elements to the given
Class<T>
. - getList(Object, Class<T>, List<T>) - Method in class org.bson.Document
-
Gets the list value of the given key, casting the list elements to
Class<T>
or returning the default list value if null. - 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() - Method in class org.bson.ByteBufNIO
- getLong(int) - Method in interface org.bson.ByteBuf
-
Absolute get method for reading a long value.
- 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.
- getLong(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a
long
. - getLong(String, long) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as an
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.
- 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
- getMark(int) - Method in interface org.bson.io.BsonInput
-
Gets a mark for the current position in the stream.
- getMark(int) - Method in class org.bson.io.ByteBufferBsonInput
- 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.
- getMaxLength() - Method in class org.bson.json.JsonWriterSettings
-
The maximum length of the JSON string.
- getMaxLength() - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings
-
The maximum length of the JSON string.
- 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
-
Returns the next
State
to transition to, based on theAbstractBsonReader.Context
of this reader. - 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) - Method in class org.bson.Document
-
Gets the value of the given key as an ObjectId.
- getObjectId(Object, BsonObjectId) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getObjectId(String) - Method in class org.bson.BasicBSONObject
-
Returns the object id or null if not set.
- getObjectId(String, ObjectId) - Method in class org.bson.BasicBSONObject
-
Returns the object id or def if not set.
- getObjectIdConverter() - Method in class org.bson.json.JsonWriterSettings
-
A converter from BSON ObjectId values to JSON.
- getOffset() - Method in class org.bson.LazyBSONObject
-
Gets the offset into the raw bytes representing the start of the document
- getOptions() - Method in class org.bson.BsonRegularExpression
-
Gets the options for the regular expression
- getOutputBuffer() - Method in class org.bson.BasicBSONEncoder
-
Gets the buffer the BSON is being encoded into.
- 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
- 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
-
Returns the
PropertyAccessor
- getPropertyModel(String) - Method in class org.bson.codecs.pojo.ClassModel
-
Gets a
PropertyModel
by the property name. - 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.
- getRepresentation() - Method in interface org.bson.codecs.RepresentationConfigurable
-
Gets the BsonRepresentation.
- getRepresentation() - Method in class org.bson.codecs.StringCodec
- 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.
- getScope() - Method in class org.bson.types.CodeWScope
-
Gets the scope for this JavaScript
- 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.
- getSmallestWithDate(Date) - Static method in class org.bson.types.ObjectId
-
Gets a new object id with the given date value and all other bits zeroed.
- 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) - Method in class org.bson.Document
-
Gets the value of the given key as a String.
- getString(Object, BsonString) - Method in class org.bson.BsonDocument
-
If the document does not contain the given key, return the given default value.
- getString(String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field as a string
- getString(String, String) - Method in class org.bson.BasicBSONObject
-
Returns the value of a field 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.BSONTimestamp
-
Gets the time in seconds since epoch
- getTimestamp() - Method in class org.bson.types.ObjectId
-
Gets the timestamp (number of seconds since the Unix epoch).
- 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.
- 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.IdGenerator
- 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.
- getUuidRepresentation() - Method in class org.bson.codecs.UuidCodec
-
The
UuidRepresentation
with which this instance is configured - 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
. - gotBinary(String, byte, byte[]) - Method in class org.bson.BasicBSONCallback
- gotBinary(String, byte, byte[]) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.BINARY
value. - gotBinary(String, byte, byte[]) - Method in class org.bson.EmptyBSONCallback
- gotBinary(String, byte, byte[]) - Method in class org.bson.LazyBSONCallback
- gotBoolean(String, boolean) - Method in class org.bson.BasicBSONCallback
- gotBoolean(String, boolean) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.BOOLEAN
value. - gotBoolean(String, boolean) - Method in class org.bson.EmptyBSONCallback
- gotCode(String, String) - Method in class org.bson.BasicBSONCallback
- gotCode(String, String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.JAVASCRIPT
value. - gotCode(String, String) - Method in class org.bson.EmptyBSONCallback
- gotCodeWScope(String, String, Object) - Method in class org.bson.BasicBSONCallback
- gotCodeWScope(String, String, Object) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.JAVASCRIPT_WITH_SCOPE
value. - gotCodeWScope(String, String, Object) - Method in class org.bson.EmptyBSONCallback
- gotDate(String, long) - Method in class org.bson.BasicBSONCallback
- gotDate(String, long) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.DATE_TIME
value. - gotDate(String, long) - Method in class org.bson.EmptyBSONCallback
- gotDBRef(String, String, ObjectId) - Method in class org.bson.BasicBSONCallback
- gotDBRef(String, String, ObjectId) - Method in interface org.bson.BSONCallback
-
Invoked when
BSONDecoder
encountered aBsonType.DB_POINTER
type field in a byte sequence. - gotDBRef(String, String, ObjectId) - Method in class org.bson.EmptyBSONCallback
- gotDecimal128(String, Decimal128) - Method in class org.bson.BasicBSONCallback
- gotDecimal128(String, Decimal128) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.DECIMAL128
value. - gotDecimal128(String, Decimal128) - Method in class org.bson.EmptyBSONCallback
- gotDouble(String, double) - Method in class org.bson.BasicBSONCallback
- gotDouble(String, double) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.DOUBLE
value. - gotDouble(String, double) - Method in class org.bson.EmptyBSONCallback
- gotInt(String, int) - Method in class org.bson.BasicBSONCallback
- gotInt(String, int) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.INT32
value. - gotInt(String, int) - Method in class org.bson.EmptyBSONCallback
- gotLong(String, long) - Method in class org.bson.BasicBSONCallback
- gotLong(String, long) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.INT64
value. - gotLong(String, long) - Method in class org.bson.EmptyBSONCallback
- gotMaxKey(String) - Method in class org.bson.BasicBSONCallback
- gotMaxKey(String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.MAX_KEY
value. - gotMaxKey(String) - Method in class org.bson.EmptyBSONCallback
- gotMinKey(String) - Method in class org.bson.BasicBSONCallback
- gotMinKey(String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.MIN_KEY
value. - gotMinKey(String) - Method in class org.bson.EmptyBSONCallback
- gotNull(String) - Method in class org.bson.BasicBSONCallback
- gotNull(String) - Method in interface org.bson.BSONCallback
-
Called when reading a BSON field that exists but has a null value.
- gotNull(String) - Method in class org.bson.EmptyBSONCallback
- gotObjectId(String, ObjectId) - Method in class org.bson.BasicBSONCallback
- gotObjectId(String, ObjectId) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.OBJECT_ID
value. - gotObjectId(String, ObjectId) - Method in class org.bson.EmptyBSONCallback
- gotRegex(String, String, String) - Method in class org.bson.BasicBSONCallback
- gotRegex(String, String, String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.REGULAR_EXPRESSION
value. - gotRegex(String, String, String) - Method in class org.bson.EmptyBSONCallback
- gotString(String, String) - Method in class org.bson.BasicBSONCallback
- gotString(String, String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.STRING
value. - gotString(String, String) - Method in class org.bson.EmptyBSONCallback
- gotSymbol(String, String) - Method in class org.bson.BasicBSONCallback
- gotSymbol(String, String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.SYMBOL
value. - gotSymbol(String, String) - Method in class org.bson.EmptyBSONCallback
- gotTimestamp(String, int, int) - Method in class org.bson.BasicBSONCallback
- gotTimestamp(String, int, int) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.TIMESTAMP
value. - gotTimestamp(String, int, int) - Method in class org.bson.EmptyBSONCallback
- gotUndefined(String) - Method in class org.bson.BasicBSONCallback
- gotUndefined(String) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
BsonType.UNDEFINED
value. - gotUndefined(String) - Method in class org.bson.EmptyBSONCallback
- gotUUID(String, long, long) - Method in class org.bson.BasicBSONCallback
- gotUUID(String, long, long) - Method in interface org.bson.BSONCallback
-
Called when reading a field with a
UUID
value. - gotUUID(String, long, long) - Method in class org.bson.EmptyBSONCallback
H
- hasCheckedDiscriminator() - Method in class org.bson.codecs.DecoderContext.Builder
- hasCheckedDiscriminator() - Method in class org.bson.codecs.DecoderContext
- hasErrorCode() - Method in exception org.bson.BSONException
-
Returns if the error code is set (i.e., not null).
- hashCode() - Method in class org.bson.BasicBSONObject
- hashCode() - Method in class org.bson.BsonArray
- hashCode() - Method in class org.bson.BsonBinary
- hashCode() - Method in class org.bson.BsonBoolean
- hashCode() - Method in class org.bson.BsonDateTime
- hashCode() - Method in class org.bson.BsonDbPointer
- hashCode() - Method in class org.bson.BsonDecimal128
- hashCode() - Method in class org.bson.BsonDocument
- hashCode() - Method in class org.bson.BsonDocumentWrapper
- hashCode() - Method in class org.bson.BsonDouble
- hashCode() - Method in class org.bson.BsonElement
- hashCode() - Method in class org.bson.BsonInt32
- hashCode() - Method in class org.bson.BsonInt64
- hashCode() - Method in class org.bson.BsonJavaScript
- hashCode() - Method in class org.bson.BsonJavaScriptWithScope
- hashCode() - Method in class org.bson.BsonMaxKey
- hashCode() - Method in class org.bson.BsonMinKey
- hashCode() - Method in class org.bson.BsonNull
- hashCode() - Method in class org.bson.BsonObjectId
- hashCode() - Method in class org.bson.BsonRegularExpression
- hashCode() - Method in class org.bson.BsonString
- hashCode() - Method in class org.bson.BsonSymbol
- hashCode() - Method in class org.bson.BsonTimestamp
- hashCode() - Method in class org.bson.BsonUndefined
- hashCode() - Method in class org.bson.codecs.BsonTypeClassMap
- hashCode() - Method in class org.bson.codecs.DocumentCodecProvider
- hashCode() - Method in class org.bson.codecs.IterableCodecProvider
- hashCode() - Method in class org.bson.codecs.MapCodecProvider
- hashCode() - Method in class org.bson.codecs.pojo.ClassModel
- hashCode() - Method in class org.bson.codecs.pojo.PropertyModel
- hashCode() - Method in class org.bson.codecs.ValueCodecProvider
- hashCode() - Method in class org.bson.Document
- hashCode() - Method in class org.bson.json.JsonObject
- hashCode() - Method in class org.bson.LazyBSONObject
- hashCode() - Method in class org.bson.RawBsonArray
- hashCode() - Method in class org.bson.RawBsonDocument
- hashCode() - Method in class org.bson.types.Binary
- hashCode() - Method in class org.bson.types.BSONTimestamp
- hashCode() - Method in class org.bson.types.Code
- hashCode() - Method in class org.bson.types.CodeWithScope
- hashCode() - Method in class org.bson.types.CodeWScope
- hashCode() - Method in class org.bson.types.Decimal128
- hashCode() - Method in class org.bson.types.MaxKey
- hashCode() - Method in class org.bson.types.MinKey
- hashCode() - Method in class org.bson.types.ObjectId
- hashCode() - Method in class org.bson.types.Symbol
- hasNext() - Method in class org.bson.LazyBSONList.LazyBSONListIterator
- hasRemaining() - Method in interface org.bson.ByteBuf
-
States whether there are any elements between the current position and the limit.
- hasRemaining() - Method in class org.bson.ByteBufNIO
- hasRemaining() - Method in interface org.bson.io.BsonInput
-
Returns true if there are more bytes left in the stream.
- hasRemaining() - Method in class org.bson.io.ByteBufferBsonInput
- hasTypeParameters() - Method in class org.bson.codecs.pojo.ClassModel
I
- idGenerator(IdGenerator<?>) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Sets the IdGenerator for the ClassModel
- IdGenerator - Interface in org.bson.codecs
-
Classes that implement this interface define a way to create IDs for MongoDB documents.
- IdGenerator<T> - Interface in org.bson.codecs.pojo
-
Classes that implement this interface define a way to create Ids for Pojo's.
- IdGenerators - Class in org.bson.codecs.pojo
-
The default IdGenerators
- 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
- indexOf(Object) - Method in class org.bson.LazyBSONList
- 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.
- INITIAL - org.bson.AbstractBsonReader.State
-
The initial state.
- INITIAL - org.bson.AbstractBsonWriter.State
-
The initial state.
- 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
-
The factory for creating
InstanceCreator
instances - InstantCodec - Class in org.bson.codecs.jsr310
-
Instant Codec.
- InstantCodec() - Constructor for class org.bson.codecs.jsr310.InstantCodec
- INT32 - org.bson.BsonType
-
A BSON 32-bit integer.
- int32Converter(Converter<Integer>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Int32 values to JSON.
- INT64 - org.bson.BsonType
-
A BSON 64-bit integer.
- 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. - intValue() - Method in class org.bson.types.Decimal128
-
Converts this
Decimal128
to aint
. - isArray() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonArray, false otherwise.
- 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.
- isBinary() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonBinary, 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.
- isBoolean() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonBoolean, 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.
- 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() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDateTime, false otherwise.
- 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.
- 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() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDecimal128, false otherwise.
- 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.
- isDiscriminatorEnabled() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
- isDocument() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDocument, false otherwise.
- 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.
- isDouble() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonDouble, 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.
- 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.LazyBSONObject
-
Gets whether this is an empty
BSONObject
. - isEmpty() - Method in class org.bson.RawBsonDocument
- 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.
- 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.
- 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() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonInt32, false otherwise.
- 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.
- isInt64() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonInt64, 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.
- 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() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonNull, false otherwise.
- 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.
- isNumber() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonNumber, 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.
- isObjectId() - Method in class org.bson.BsonValue
-
Returns true if this is an BsonObjectId, 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.
- 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.
- isStackEmpty() - Method in class org.bson.BasicBSONCallback
-
Returns whether this is the top level or not
- isString() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonString, 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.
- isSymbol() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonSymbol, false otherwise.
- isTimestamp() - Method in class org.bson.BsonValue
-
Returns true if this is a BsonTimestamp, 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.
- 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.
- isTrueArgument(String, T, boolean) - Static method in class org.bson.assertions.Assertions
-
Throw IllegalArgumentException if the condition if false, otherwise return the value.
- isTruncated() - Method in class org.bson.json.JsonWriter
-
Return true if the output has been truncated due to exceeding the length specified in
JsonWriterSettings.getMaxLength()
. - isTruncated() - Method in class org.bson.json.StrictCharacterStreamJsonWriter
-
Return true if the output has been truncated due to exceeding the length specified in
StrictCharacterStreamJsonWriterSettings.getMaxLength()
. - isTruncated() - Method in interface org.bson.json.StrictJsonWriter
-
Return true if the output has been truncated due to exceeding any maximum length specified in settings.
- 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
andBsonTypeClassMap
. - IterableCodec(CodecRegistry, BsonTypeClassMap, Transformer) - Constructor for class org.bson.codecs.IterableCodec
-
Construct a new instance with the given
CodecRegistry
andBsonTypeClassMap
. - IterableCodecProvider - Class in org.bson.codecs
-
A
CodecProvider
for classes than implement theIterable
interface. - IterableCodecProvider() - Constructor for class org.bson.codecs.IterableCodecProvider
-
Construct a new instance with a default
BsonTypeClassMap
and noTransformer
. - IterableCodecProvider(BsonTypeClassMap) - Constructor for class org.bson.codecs.IterableCodecProvider
-
Construct a new instance with the given instance of
BsonTypeClassMap
and noTransformer
. - IterableCodecProvider(BsonTypeClassMap, Transformer) - Constructor for class org.bson.codecs.IterableCodecProvider
-
Construct a new instance with the given instance of
BsonTypeClassMap
andTransformer
. - IterableCodecProvider(Transformer) - Constructor for class org.bson.codecs.IterableCodecProvider
-
Construct a new instance with a default
BsonTypeClassMap
and the givenTransformer
. - iterator() - Method in class org.bson.BsonArray
- iterator() - Method in class org.bson.LazyBSONList
J
- JAVA_LEGACY - org.bson.UuidRepresentation
-
The legacy representation of UUID used by the Java driver BSON binary subtype 3
- JAVASCRIPT - org.bson.BsonType
-
BSON JavaScript code.
- JAVASCRIPT_WITH_SCOPE - org.bson.BsonContextType
-
A JAVASCRIPT_WITH_SCOPE BSON value.
- JAVASCRIPT_WITH_SCOPE - org.bson.BsonType
-
BSON JavaScript code with a scope (a set of variables with values).
- javaScriptConverter(Converter<String>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON JavaScript values to JSON.
- JsonMode - Enum in org.bson.json
-
An enumeration of the supported output modes of
JSONWriter
. - JsonObject - Class in org.bson.json
-
A wrapper class that holds a JSON object string.
- JsonObject(String) - Constructor for class org.bson.json.JsonObject
-
Constructs a new instance with the given JSON object string.
- JsonObjectCodec - Class in org.bson.codecs
-
Encodes and Decodes JSON object strings.
- JsonObjectCodec() - Constructor for class org.bson.codecs.JsonObjectCodec
-
Construct a JsonObjectCodec with default JsonWriterSettings
- JsonObjectCodec(JsonWriterSettings) - Constructor for class org.bson.codecs.JsonObjectCodec
-
Construct a JsonObjectCodec with provided JsonWriterSettings
- JsonObjectCodecProvider - Class in org.bson.codecs
-
A
CodecProvider
for JSON object strings - JsonObjectCodecProvider() - Constructor for class org.bson.codecs.JsonObjectCodecProvider
- JsonParseException - Exception in org.bson.json
-
JSONParseException indicates some exception happened during JSON processing.
- JsonParseException() - Constructor for exception org.bson.json.JsonParseException
-
Constructs a new runtime exception with null as its detail message.
- JsonParseException(String) - Constructor for exception org.bson.json.JsonParseException
-
Constructs a new runtime exception with the specified detail message.
- JsonParseException(String, Object...) - Constructor for exception org.bson.json.JsonParseException
-
Constructs a new runtime exception with string formatted using specified pattern and arguments.
- JsonParseException(String, Throwable) - Constructor for exception org.bson.json.JsonParseException
-
Constructs a new runtime exception with the specified detail message and root cause.
- JsonParseException(Throwable) - Constructor for exception org.bson.json.JsonParseException
-
Create a JSONParseException with the given
Throwable
cause. - JsonReader - Class in org.bson.json
-
Reads a JSON in one of the following modes: Strict mode that conforms to the JSON RFC specifications. JavaScript mode that that most JavaScript interpreters can process Shell mode that the mongo shell can process.
- JsonReader(Reader) - Constructor for class org.bson.json.JsonReader
-
Constructs a new instance with the given
Reader
positioned at a JSON object. - JsonReader(String) - Constructor for class org.bson.json.JsonReader
-
Constructs a new instance with the given string positioned at a JSON object.
- JsonReader.Context - Class in org.bson.json
- JsonReader.Mark - Class in org.bson.json
- JsonWriter - Class in org.bson.json
-
A
BsonWriter
implementation that outputs a JSON representation of BSON. - JsonWriter(Writer) - Constructor for class org.bson.json.JsonWriter
-
Creates a new instance which uses
writer
to write JSON to. - JsonWriter(Writer, JsonWriterSettings) - Constructor for class org.bson.json.JsonWriter
-
Creates a new instance which uses
writer
to write JSON to and uses the given settings. - JsonWriter.Context - Class in org.bson.json
-
The context for the writer, inheriting all the values from
AbstractBsonWriter.Context
, and additionally providing settings for the indentation level and whether there are any child elements at this level. - JsonWriterSettings - Class in org.bson.json
-
Settings to control the behavior of a
JSONWriter
instance. - JsonWriterSettings.Builder - Class in org.bson.json
-
A builder for JsonWriterSettings
- Jsr310CodecProvider - Class in org.bson.codecs.jsr310
-
A CodecProvider for JSR-310 Date and Time API classes.
- Jsr310CodecProvider() - Constructor for class org.bson.codecs.jsr310.Jsr310CodecProvider
K
- key() - Method in annotation type org.bson.codecs.pojo.annotations.BsonDiscriminator
- keySet() - Method in class org.bson.BsonDocument
- keySet() - Method in class org.bson.BsonDocumentWrapper
- keySet() - Method in interface org.bson.BSONObject
-
Returns this object's fields' names
- keySet() - Method in class org.bson.Document
- keySet() - Method in class org.bson.LazyBSONObject
- keySet() - Method in class org.bson.RawBsonDocument
- keySet() - Method in class org.bson.types.BasicBSONList
L
- lastIndexOf(Object) - Method in class org.bson.BsonArray
- lastIndexOf(Object) - Method in class org.bson.LazyBSONList
- LazyBSONCallback - Class in org.bson
-
A
BSONCallback
for creation ofLazyBSONObject
andLazyBSONList
instances. - LazyBSONCallback() - Constructor for class org.bson.LazyBSONCallback
- LazyBSONDecoder - Class in org.bson
-
A decoder for
LazyBSONObject
instances. - LazyBSONDecoder() - Constructor for class org.bson.LazyBSONDecoder
- LazyBSONList - Class in org.bson
-
A
LazyBSONObject
representing a BSON array. - LazyBSONList(byte[], int, LazyBSONCallback) - Constructor for class org.bson.LazyBSONList
-
Construct an instance with the given raw bytes and offset.
- LazyBSONList(byte[], LazyBSONCallback) - Constructor for class org.bson.LazyBSONList
-
Construct an instance with the given raw bytes and offset.
- LazyBSONList.LazyBSONListIterator - Class in org.bson
-
An iterator over the values in a LazyBsonList.
- LazyBSONListIterator() - Constructor for class org.bson.LazyBSONList.LazyBSONListIterator
-
Construct an instance
- LazyBSONObject - Class in org.bson
-
An immutable
BSONObject
backed by a byte buffer that lazily provides keys and values on request. - LazyBSONObject(byte[], int, LazyBSONCallback) - Constructor for class org.bson.LazyBSONObject
-
Construct an instance.
- LazyBSONObject(byte[], LazyBSONCallback) - Constructor for class org.bson.LazyBSONObject
-
Construct an instance.
- length() - Method in class org.bson.types.Binary
-
Get the length of the data.
- limit() - Method in interface org.bson.ByteBuf
-
Returns this buffer's limit.
- limit() - Method in class org.bson.ByteBufNIO
- limit(int) - Method in interface org.bson.ByteBuf
-
Sets this buffer's limit.
- limit(int) - Method in class org.bson.ByteBufNIO
- listIterator() - Method in class org.bson.BsonArray
- listIterator() - Method in class org.bson.LazyBSONList
- listIterator(int) - Method in class org.bson.BsonArray
- listIterator(int) - Method in class org.bson.LazyBSONList
- LocalDateCodec - Class in org.bson.codecs.jsr310
-
LocalDate Codec.
- LocalDateCodec() - Constructor for class org.bson.codecs.jsr310.LocalDateCodec
- LocalDateTimeCodec - Class in org.bson.codecs.jsr310
-
LocalDateTime Codec.
- LocalDateTimeCodec() - Constructor for class org.bson.codecs.jsr310.LocalDateTimeCodec
- LocalTimeCodec - Class in org.bson.codecs.jsr310
-
LocalTime Codec.
- LocalTimeCodec() - Constructor for class org.bson.codecs.jsr310.LocalTimeCodec
- Logger - Interface in org.bson.diagnostics
-
This class is not part of the public API.
- Loggers - Class in org.bson.diagnostics
-
This class is not part of the public API.
- LongCodec - Class in org.bson.codecs
-
Encodes and decodes
Long
objects. - LongCodec() - Constructor for class org.bson.codecs.LongCodec
- longValue() - Method in class org.bson.BsonDecimal128
- longValue() - Method in class org.bson.BsonDouble
- longValue() - Method in class org.bson.BsonInt32
- longValue() - Method in class org.bson.BsonInt64
- longValue() - Method in class org.bson.BsonNumber
-
Returns the value of the specified number as an
long
, which may involve rounding or truncation. - longValue() - Method in class org.bson.types.Decimal128
-
Converts this
Decimal128
to along
.
M
- MapCodec - Class in org.bson.codecs
-
A Codec for Map instances.
- MapCodec() - Constructor for class org.bson.codecs.MapCodec
-
Construct a new instance with a default
CodecRegistry
- MapCodec(CodecRegistry) - Constructor for class org.bson.codecs.MapCodec
-
Construct a new instance with the given registry
- MapCodec(CodecRegistry, BsonTypeClassMap) - Constructor for class org.bson.codecs.MapCodec
-
Construct a new instance with the given registry and BSON type class map.
- MapCodec(CodecRegistry, BsonTypeClassMap, Transformer) - Constructor for class org.bson.codecs.MapCodec
-
Construct a new instance with the given registry and BSON type class map.
- MapCodecProvider - Class in org.bson.codecs
-
A
CodecProvider
for the Map class and all the default Codec implementations on which it depends. - MapCodecProvider() - Constructor for class org.bson.codecs.MapCodecProvider
-
Construct a new instance with a default
BsonTypeClassMap
. - MapCodecProvider(BsonTypeClassMap) - Constructor for class org.bson.codecs.MapCodecProvider
-
Construct a new instance with the given instance of
BsonTypeClassMap
. - MapCodecProvider(BsonTypeClassMap, Transformer) - Constructor for class org.bson.codecs.MapCodecProvider
-
Construct a new instance with the given instance of
BsonTypeClassMap
. - MapCodecProvider(Transformer) - Constructor for class org.bson.codecs.MapCodecProvider
-
Construct a new instance with a default
BsonTypeClassMap
and the givenTransformer
. - mark() - Method in class org.bson.BsonBinaryWriter
-
Create a snapshot of this writer's context at a point in time.
- mark() - Method in class org.bson.BsonDocumentReader.Context
- Mark() - Constructor for class org.bson.AbstractBsonReader.Mark
- Mark() - Constructor for class org.bson.AbstractBsonWriter.Mark
-
Creates a new snapshopt of the current state.
- Mark() - Constructor for class org.bson.BsonBinaryReader.Mark
- Mark() - Constructor for class org.bson.BsonBinaryWriter.Mark
-
Creates a new instance storing the current position of the
BsonOutput
. - Mark() - Constructor for class org.bson.BsonDocumentReader.Mark
- Mark() - Constructor for class org.bson.json.JsonReader.Mark
- MAX_KEY - org.bson.BsonType
-
A BSON MaxKey value.
- MaxKey - Class in org.bson.types
-
Represent the maximum key value regardless of the key's type
- MaxKey() - Constructor for class org.bson.types.MaxKey
- MaxKeyCodec - Class in org.bson.codecs
-
Encodes and decodes instances of type
MaxKey
. - MaxKeyCodec() - Constructor for class org.bson.codecs.MaxKeyCodec
- maxKeyConverter(Converter<BsonMaxKey>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON MaxKey values to JSON.
- maxLength(int) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the maximum length of the JSON string.
- maxLength(int) - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings.Builder
-
Sets the maximum length of the JSON string.
- MD5 - org.bson.BsonBinarySubType
-
An MD5 hash.
- MIN_KEY - org.bson.BsonType
-
A BSON MinKey value.
- MinKey - Class in org.bson.types
-
Represent the minimum key value regardless of the key's type
- MinKey() - Constructor for class org.bson.types.MinKey
- MinKeyCodec - Class in org.bson.codecs
-
Encodes and decodes instances of type
MinKey
. - MinKeyCodec() - Constructor for class org.bson.codecs.MinKeyCodec
- minKeyConverter(Converter<BsonMinKey>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON MinKey values to JSON.
N
- NAME - org.bson.AbstractBsonReader.State
-
The reader is positioned at the name of an element.
- NAME - org.bson.AbstractBsonWriter.State
-
The writer is positioned to write a name.
- NaN - Static variable in class org.bson.types.Decimal128
-
A constant holding a Not-a-Number (NaN) value of type
Decimal128
. - NEGATIVE_INFINITY - Static variable in class org.bson.types.Decimal128
-
A constant holding the negative infinity of type
Decimal128
. - NEGATIVE_NaN - Static variable in class org.bson.types.Decimal128
-
A constant holding a negative Not-a-Number (-NaN) value of type
Decimal128
. - NEGATIVE_ZERO - Static variable in class org.bson.types.Decimal128
-
A constant holding a negative zero value of type
Decimal128
. - newLineCharacters(String) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the new line character string to use when indentation is enabled, which defaults to
System.getProperty("line.separator")
. - newLineCharacters(String) - Method in class org.bson.json.StrictCharacterStreamJsonWriterSettings.Builder
-
Sets the new line character string to use when indentation is enabled.
- next() - Method in class org.bson.LazyBSONList.LazyBSONListIterator
- NO_CONVENTIONS - Static variable in class org.bson.codecs.pojo.Conventions
-
An empty conventions list
- notNull(String, T) - Static method in class org.bson.assertions.Assertions
-
Throw IllegalArgumentException if the value is null.
- NULL - org.bson.BsonType
-
A BSON null value.
- nullConverter(Converter<BsonNull>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Null values to JSON.
O
- OBJECT_ID - org.bson.BsonType
-
A BSON ObjectId.
- OBJECT_ID_GENERATOR - Static variable in class org.bson.codecs.pojo.IdGenerators
-
A IdGenerator for
ObjectId
- OBJECT_ID_GENERATORS - Static variable in class org.bson.codecs.pojo.Conventions
-
A convention that sets the IdGenerator if the id property is either a
ObjectId
orBsonObjectId
. - objectDone() - Method in class org.bson.BasicBSONCallback
- objectDone() - Method in interface org.bson.BSONCallback
-
Called at the end of the document/array, and returns this object.
- objectDone() - Method in class org.bson.EmptyBSONCallback
- ObjectId - Class in org.bson.types
-
A globally unique identifier for objects.
- ObjectId() - Constructor for class org.bson.types.ObjectId
-
Create a new object id.
- ObjectId(byte[]) - Constructor for class org.bson.types.ObjectId
-
Constructs a new instance from the given byte array
- ObjectId(int, int) - Constructor for class org.bson.types.ObjectId
-
Creates an ObjectId using the given time, machine identifier, process identifier, and counter.
- ObjectId(String) - Constructor for class org.bson.types.ObjectId
-
Constructs a new instance from a 24-byte hexadecimal string representation.
- ObjectId(ByteBuffer) - Constructor for class org.bson.types.ObjectId
-
Constructs a new instance from the given ByteBuffer
- ObjectId(Date) - Constructor for class org.bson.types.ObjectId
-
Constructs a new instance using the given date.
- ObjectId(Date, int) - Constructor for class org.bson.types.ObjectId
-
Constructs a new instances using the given date and counter.
- ObjectIdCodec - Class in org.bson.codecs
-
A Codec for ObjectId instances.
- ObjectIdCodec() - Constructor for class org.bson.codecs.ObjectIdCodec
- objectIdConverter(Converter<ObjectId>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON ObjectId values to JSON.
- ObjectIdGenerator - Class in org.bson.codecs
-
Creates new
ObjectId
instances as IDs for MongoDB Documents. - ObjectIdGenerator() - Constructor for class org.bson.codecs.ObjectIdGenerator
- objectStart() - Method in class org.bson.BasicBSONCallback
- objectStart() - Method in interface org.bson.BSONCallback
-
Signals the start of a BSON document, which usually maps onto some Java object.
- objectStart() - Method in class org.bson.EmptyBSONCallback
- objectStart(String) - Method in class org.bson.BasicBSONCallback
- objectStart(String) - Method in interface org.bson.BSONCallback
-
Signals the start of a BSON document, which usually maps onto some Java object.
- objectStart(String) - Method in class org.bson.EmptyBSONCallback
- OLD_BINARY - org.bson.BsonBinarySubType
-
Obsolete binary data subtype (use Binary instead).
- order(ByteOrder) - Method in interface org.bson.ByteBuf
-
Modifies this buffer's byte order.
- order(ByteOrder) - Method in class org.bson.ByteBufNIO
- org.bson - package org.bson
-
Contains the base BSON classes.
- org.bson.assertions - package org.bson.assertions
-
This package contains design by contract assertions
- org.bson.codecs - package org.bson.codecs
-
This package contains all the default BSON codecs.
- org.bson.codecs.configuration - package org.bson.codecs.configuration
-
This package contains codec configurations and the codec registry helper
- org.bson.codecs.jsr310 - package org.bson.codecs.jsr310
-
This package contains classes specific to the JSR-310 Date and Time API
- org.bson.codecs.pojo - package org.bson.codecs.pojo
-
This package contains classes specific to mapping user POJOs.
- org.bson.codecs.pojo.annotations - package org.bson.codecs.pojo.annotations
-
This package defines various annotations used by the driver provided when used in conjunction with the
Conventions.ANNOTATION_CONVENTION
. - org.bson.conversions - package org.bson.conversions
-
This package contains the Bson interface
- org.bson.diagnostics - package org.bson.diagnostics
-
Contains the classes for visibility of the BSON layer, for example Logging.
- org.bson.io - package org.bson.io
-
Contains classes implementing I/O operations used by BSON objects.
- org.bson.json - package org.bson.json
-
JSON serialization and deserialization.
- org.bson.types - package org.bson.types
-
Contains classes implementing various BSON types.
- OutputBuffer - Class in org.bson.io
-
An abstract base class for classes implementing
BsonOutput
. - OutputBuffer() - Constructor for class org.bson.io.OutputBuffer
- outputMode(JsonMode) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the output mode, which defaults to
JsonMode.RELAXED
. - OverridableUuidRepresentationCodec<T> - Interface in org.bson.codecs
-
A marker interface for
Codec
implementations that can derive a new instance that overrides theUuidRepresentation
. - OverridableUuidRepresentationUuidCodec - Class in org.bson.codecs
-
An extension of
UuidCodec
that allows its configuredUuidRepresentation
to be overridden by an externally configuredUuidRepresentation
, most likely configured onMongoClientSettings
orMongoClientOptions
. - OverridableUuidRepresentationUuidCodec() - Constructor for class org.bson.codecs.OverridableUuidRepresentationUuidCodec
-
Construct an instance with the default UUID representation.
- OverridableUuidRepresentationUuidCodec(UuidRepresentation) - Constructor for class org.bson.codecs.OverridableUuidRepresentationUuidCodec
-
Construct an instance with the given UUID representation.
P
- parse(String) - Static method in class org.bson.BsonArray
-
Parses a string in MongoDB Extended JSON format to a
BsonArray
- parse(String) - Static method in class org.bson.BsonDocument
-
Parses a string in MongoDB Extended JSON format to a
BsonDocument
- parse(String) - Static method in class org.bson.Document
-
Parses a string in MongoDB Extended JSON format to a
Document
- parse(String) - Static method in class org.bson.RawBsonDocument
-
Parses a string in MongoDB Extended JSON format to a
RawBsonDocument
- parse(String) - Static method in class org.bson.types.Decimal128
-
Returns a Decimal128 value representing the given String.
- parse(String, Decoder<Document>) - Static method in class org.bson.Document
-
Parses a string in MongoDB Extended JSON format to a
Document
- PatternCodec - Class in org.bson.codecs
-
A codec for
Pattern
instances. - PatternCodec() - Constructor for class org.bson.codecs.PatternCodec
- peekBinarySize() - Method in class org.bson.AbstractBsonReader
- peekBinarySize() - Method in interface org.bson.BsonReader
-
Peeks the size of the binary data that the reader is positioned at.
- peekBinarySubType() - Method in class org.bson.AbstractBsonReader
- peekBinarySubType() - Method in interface org.bson.BsonReader
-
Peeks the subtype of the binary data that the reader is positioned at.
- pipe(OutputStream) - Method in class org.bson.io.BasicOutputBuffer
- pipe(OutputStream) - Method in class org.bson.io.OutputBuffer
-
Pipe the contents of this output buffer into the given output stream
- pipe(OutputStream) - Method in class org.bson.LazyBSONObject
-
Pipe the raw bytes into the given output stream.
- pipe(BsonReader) - Method in class org.bson.AbstractBsonWriter
- pipe(BsonReader) - Method in class org.bson.BsonBinaryWriter
- pipe(BsonReader) - Method in interface org.bson.BsonWriter
-
Reads a single document from a BsonReader and writes it to this.
- pipe(BsonReader, List<BsonElement>) - Method in class org.bson.AbstractBsonWriter
-
Reads a single document from the given BsonReader and writes it to this, appending the given extra elements to the document.
- pipe(BsonReader, List<BsonElement>) - Method in class org.bson.BsonBinaryWriter
- pipeExtraElements(List<BsonElement>) - Method in class org.bson.AbstractBsonWriter
-
Pipe a list of extra element to this writer
- PojoCodecProvider - Class in org.bson.codecs.pojo
-
Provides Codecs for registered POJOs via the ClassModel abstractions.
- PojoCodecProvider.Builder - Class in org.bson.codecs.pojo
-
A Builder for the PojoCodecProvider
- popMaxDocumentSize() - Method in class org.bson.BsonBinaryWriter
-
Reset the maximum document size to its previous value.
- position() - Method in interface org.bson.ByteBuf
-
Returns this buffer's position.
- position() - Method in class org.bson.ByteBufNIO
- position(int) - Method in interface org.bson.ByteBuf
-
Sets this buffer's position.
- position(int) - Method in class org.bson.ByteBufNIO
- POSITIVE_INFINITY - Static variable in class org.bson.types.Decimal128
-
A constant holding the positive infinity of type
Decimal128
. - POSITIVE_ZERO - Static variable in class org.bson.types.Decimal128
-
A constant holding a postive zero value of type
Decimal128
. - propertyAccessor(PropertyAccessor<T>) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Sets the
PropertyAccessor
- PropertyAccessor<T> - Interface in org.bson.codecs.pojo
-
Provides access for getting and setting property data.
- PropertyCodecProvider - Interface in org.bson.codecs.pojo
-
A variant of
CodecProvider
that generates codecs forPojoCodec
. - PropertyCodecRegistry - Interface in org.bson.codecs.pojo
-
A variant of
CodecRegistry
that generates codecs forPojoCodec
. - PropertyModel<T> - Class in org.bson.codecs.pojo
-
Represents a property on a class and stores various metadata such as generic parameters
- PropertyModelBuilder<T> - Class in org.bson.codecs.pojo
-
A builder for programmatically creating
PropertyModels
. - propertySerialization(PropertySerialization<T>) - Method in class org.bson.codecs.pojo.PropertyModelBuilder
-
Sets the
PropertySerialization
checker - PropertySerialization<T> - Interface in org.bson.codecs.pojo
-
An interface allowing a
PropertyModel
to determine if a value should be serialized. - pushMaxDocumentSize(int) - Method in class org.bson.BsonBinaryWriter
-
Sets a maximum size for documents from this point.
- put(byte) - Method in interface org.bson.ByteBuf
-
Relative put method (optional operation).
- put(byte) - Method in class org.bson.ByteBufNIO
- put(byte[], int, int) - Method in interface org.bson.ByteBuf
-
Relative bulk put method (optional operation).
- put(byte[], int, int) - Method in class org.bson.ByteBufNIO
- put(int, byte) - Method in interface org.bson.ByteBuf
-
Absolute put method (optional operation).
- put(int, byte) - Method in class org.bson.ByteBufNIO
- put(int, Object) - Method in class org.bson.types.BasicBSONList
-
Puts a value at an index.
- put(String, Object) - Method in interface org.bson.BSONObject
-
Sets a name/value pair in this object.
- put(String, Object) - Method in class org.bson.Document
- put(String, Object) - Method in class org.bson.LazyBSONObject
-
Always throws
UnsupportedOperationException
. - put(String, Object) - Method in class org.bson.types.BasicBSONList
-
Puts a value at an index.
- put(String, BsonValue) - Method in class org.bson.BsonDocument
- put(String, BsonValue) - Method in class org.bson.BsonDocumentWrapper
- put(String, BsonValue) - Method in class org.bson.RawBsonDocument
- putAll(Map) - Method in class org.bson.BasicBSONObject
- putAll(Map) - Method in interface org.bson.BSONObject
-
Sets all key/value pairs from a map into this object
- putAll(Map) - Method in class org.bson.LazyBSONObject
-
Always throws
UnsupportedOperationException
. - putAll(Map) - Method in class org.bson.types.BasicBSONList
- putAll(Map<? extends String, ?>) - Method in class org.bson.Document
- putAll(Map<? extends String, ? extends BsonValue>) - Method in class org.bson.BsonDocument
- putAll(Map<? extends String, ? extends BsonValue>) - Method in class org.bson.BsonDocumentWrapper
- putAll(Map<? extends String, ? extends BsonValue>) - Method in class org.bson.RawBsonDocument
- putAll(BSONObject) - Method in class org.bson.BasicBSONObject
- putAll(BSONObject) - Method in interface org.bson.BSONObject
-
Sets all key/value pairs from an object into this object
- putAll(BSONObject) - Method in class org.bson.LazyBSONObject
-
Always throws
UnsupportedOperationException
. - putAll(BSONObject) - Method in class org.bson.types.BasicBSONList
- putArray(String, Object) - Method in class org.bson.BasicBSONEncoder
-
Encodes an array field.
- putBinary(String, byte[]) - Method in class org.bson.BasicBSONEncoder
-
Encodes a byte array field
- putBinary(String, Binary) - Method in class org.bson.BasicBSONEncoder
-
Encodes a Binary field
- putBoolean(String, Boolean) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field with a
Boolean
orboolean
value - putCode(String, Code) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field to a
BsonType.JAVASCRIPT
value. - putCodeWScope(String, CodeWScope) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field to a
BsonType.JAVASCRIPT_WITH_SCOPE
value. - putDate(String, Date) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field with data and time value.
- putDecimal128(String, Decimal128) - Method in class org.bson.BasicBSONEncoder
-
Encodes a Decimal128 field.
- putIterable(String, Iterable) - Method in class org.bson.BasicBSONEncoder
-
Encodes an Iterable, for example
List
values - putMap(String, Map) - Method in class org.bson.BasicBSONEncoder
-
Encodes a map, as a BSON document
- putMaxKey(String) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field to a
BsonType.MAX_KEY
value. - putMinKey(String) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field to a
BsonType.MIN_KEY
value. - putName(String) - Method in class org.bson.BasicBSONEncoder
-
Writes a field name
- putNull(String) - Method in class org.bson.BasicBSONEncoder
-
Encodes a null value
- putNumber(String, Number) - Method in class org.bson.BasicBSONEncoder
-
Encodes any number field.
- putObject(String, BSONObject) - Method in class org.bson.BasicBSONEncoder
-
Encodes any
BSONObject
, as a document - putObject(BSONObject) - Method in class org.bson.BasicBSONEncoder
-
Encodes a
BSONObject
. - putObject(BSONObject) - Method in interface org.bson.BSONEncoder
-
Encoder and write a document into underlying buffer.
- putObjectId(String, ObjectId) - Method in class org.bson.BasicBSONEncoder
-
Encodes an ObjectId field to a
BsonType.OBJECT_ID
. - putPattern(String, Pattern) - Method in class org.bson.BasicBSONEncoder
-
Encodes a Pattern field to a
BsonType.REGULAR_EXPRESSION
. - putSpecial(String, Object) - Method in class org.bson.BasicBSONEncoder
-
Special values are not encoded into documents.
- putString(String, String) - Method in class org.bson.BasicBSONEncoder
-
Encodes a String field
- putSymbol(String, Symbol) - Method in class org.bson.BasicBSONEncoder
-
Encodes a Symbol field
- putTimestamp(String, BSONTimestamp) - Method in class org.bson.BasicBSONEncoder
-
Encodes a BSON timestamp
- putToByteBuffer(ByteBuffer) - Method in class org.bson.types.ObjectId
-
Convert to bytes and put those bytes to the provided ByteBuffer.
- putUndefined(String) - Method in class org.bson.BasicBSONEncoder
-
Encodes an undefined value
- putUUID(String, UUID) - Method in class org.bson.BasicBSONEncoder
-
Encodes a field with a
UUID
value. - PYTHON_LEGACY - org.bson.UuidRepresentation
-
The legacy representation of UUID used by the Python driver, which is the same format as STANDARD, but has the UUID old BSON subtype (\x03) BSON binary subtype 3
R
- RawBsonArray - Class in org.bson
-
An immutable BSON array that is represented using only the raw bytes.
- RawBsonArray(byte[]) - Constructor for class org.bson.RawBsonArray
-
Constructs a new instance with the given byte array.
- RawBsonArray(byte[], int, int) - Constructor for class org.bson.RawBsonArray
-
Constructs a new instance with the given byte array, offset, and length.
- 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() - Method in interface org.bson.BsonReader
-
Reads BSON Binary data from the reader.
- readBinaryData(String) - Method in class org.bson.AbstractBsonReader
- 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() - Method in interface org.bson.BsonReader
-
Reads a BSON Boolean from the reader.
- readBoolean(String) - Method in class org.bson.AbstractBsonReader
- 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[]) - Method in class org.bson.io.ByteBufferBsonInput
- 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[], 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() - Method in interface org.bson.BsonReader
-
Reads a BSON DateTime from the reader.
- readDateTime(String) - Method in class org.bson.AbstractBsonReader
- readDateTime(String) - Method in interface org.bson.BsonReader
-
Reads a BSON DateTime element from the reader.
- readDBPointer() - Method in class org.bson.AbstractBsonReader
- readDBPointer() - Method in interface org.bson.BsonReader
-
Reads a BSON DBPointer from the reader.
- readDBPointer(String) - Method in class org.bson.AbstractBsonReader
- readDBPointer(String) - Method in interface org.bson.BsonReader
-
Reads a BSON DBPointer element from the reader.
- readDecimal128() - Method in class org.bson.AbstractBsonReader
- readDecimal128() - Method in interface org.bson.BsonReader
-
Reads a BSON Decimal128 from the reader.
- readDecimal128(String) - Method in class org.bson.AbstractBsonReader
- readDecimal128(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Decimal128 element from the reader.
- readDouble() - Method in class org.bson.AbstractBsonReader
- readDouble() - Method in interface org.bson.BsonReader
-
Reads a BSON Double 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
- readDouble(String) - Method in class org.bson.AbstractBsonReader
- readDouble(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Double element from the reader.
- 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() - Method in interface org.bson.BsonReader
-
Reads a BSON Int32 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
- readInt32(String) - Method in class org.bson.AbstractBsonReader
- readInt32(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Int32 element from the reader.
- readInt64() - Method in class org.bson.AbstractBsonReader
- readInt64() - Method in interface org.bson.BsonReader
-
Reads a BSON Int64 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
- readInt64(String) - Method in class org.bson.AbstractBsonReader
- readInt64(String) - Method in interface org.bson.BsonReader
-
Reads a BSON Int64 element from the reader.
- readJavaScript() - Method in class org.bson.AbstractBsonReader
- readJavaScript() - Method in interface org.bson.BsonReader
-
Reads a BSON JavaScript from the reader.
- readJavaScript(String) - Method in class org.bson.AbstractBsonReader
- readJavaScript(String) - Method in interface org.bson.BsonReader
-
Reads a BSON JavaScript element from the reader.
- readJavaScriptWithScope() - 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 class org.bson.AbstractBsonReader
- 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() - Method in interface org.bson.BsonReader
-
Reads a BSON MaxKey from the reader.
- readMaxKey(String) - Method in class org.bson.AbstractBsonReader
- readMaxKey(String) - Method in interface org.bson.BsonReader
-
Reads a BSON MaxKey element from the reader.
- readMinKey() - Method in class org.bson.AbstractBsonReader
- readMinKey() - Method in interface org.bson.BsonReader
-
Reads a BSON MinKey from the reader.
- readMinKey(String) - Method in class org.bson.AbstractBsonReader
- readMinKey(String) - Method in interface org.bson.BsonReader
-
Reads a BSON MinKey element from the reader.
- readName() - 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 class org.bson.AbstractBsonReader
- 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() - Method in interface org.bson.BsonReader
-
Reads a BSON null from the reader.
- readNull(String) - Method in class org.bson.AbstractBsonReader
- readNull(String) - Method in interface org.bson.BsonReader
-
Reads a BSON null element from the reader.
- readObject(byte[]) - Method in class org.bson.BasicBSONDecoder
- readObject(byte[]) - Method in interface org.bson.BSONDecoder
-
Read a single BSON object from the given bytes.
- readObject(byte[]) - Method in class org.bson.LazyBSONDecoder
- readObject(InputStream) - Method in class org.bson.BasicBSONDecoder
- readObject(InputStream) - Method in interface org.bson.BSONDecoder
-
Read a single BSON object from the given input stream.
- readObject(InputStream) - Method in class org.bson.LazyBSONDecoder
- readObjectId() - Method in class org.bson.AbstractBsonReader
- readObjectId() - Method in interface org.bson.BsonReader
-
Reads a BSON ObjectId 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
- readObjectId(String) - Method in class org.bson.AbstractBsonReader
- readObjectId(String) - Method in interface org.bson.BsonReader
-
Reads a BSON ObjectId element from the reader.
- readRegularExpression() - 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 class org.bson.AbstractBsonReader
- 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() - Method in interface org.bson.BsonReader
-
Reads a BSON String 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
- readString(String) - Method in class org.bson.AbstractBsonReader
- readString(String) - Method in interface org.bson.BsonReader
-
Reads a BSON string element from the reader.
- readSymbol() - Method in class org.bson.AbstractBsonReader
- readSymbol() - Method in interface org.bson.BsonReader
-
Reads a BSON symbol from the reader.
- readSymbol(String) - Method in class org.bson.AbstractBsonReader
- readSymbol(String) - Method in interface org.bson.BsonReader
-
Reads a BSON symbol element from the reader.
- readTimestamp() - Method in class org.bson.AbstractBsonReader
- readTimestamp() - Method in interface org.bson.BsonReader
-
Reads a BSON timestamp from the reader.
- readTimestamp(String) - Method in class org.bson.AbstractBsonReader
- readTimestamp(String) - Method in interface org.bson.BsonReader
-
Reads a BSON timestamp element from the reader.
- readUndefined() - Method in class org.bson.AbstractBsonReader
- readUndefined() - Method in interface org.bson.BsonReader
-
Reads a BSON undefined from the reader.
- readUndefined(String) - Method in class org.bson.AbstractBsonReader
- 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(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(ClassModel<?>...) - Method in class org.bson.codecs.pojo.PojoCodecProvider.Builder
-
Registers classModels 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. - REGULAR_EXPRESSION - org.bson.BsonType
-
A BSON regular expression.
- regularExpressionConverter(Converter<BsonRegularExpression>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Regular Expression values to JSON.
- RELAXED - org.bson.json.JsonMode
-
Standard relaxed extended JSON representation.
- 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() - Method in class org.bson.LazyBSONList.LazyBSONListIterator
- remove(int) - Method in class org.bson.BsonArray
- remove(int) - Method in class org.bson.LazyBSONList
- remove(int) - Method in class org.bson.RawBsonArray
- remove(Object) - 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.LazyBSONList
- remove(Object) - Method in class org.bson.RawBsonArray
- remove(Object) - Method in class org.bson.RawBsonDocument
- removeAll(Collection) - Method in class org.bson.LazyBSONList
- removeAll(Collection<?>) - Method in class org.bson.BsonArray
- removeAll(Collection<?>) - Method in class org.bson.RawBsonArray
- removeField(String) - Method in class org.bson.BasicBSONObject
-
Deletes a field from this object.
- removeField(String) - Method in interface org.bson.BSONObject
-
Removes a field with a given name from this object.
- removeField(String) - Method in class org.bson.LazyBSONObject
-
Always throws
UnsupportedOperationException
. - removeField(String) - Method in class org.bson.types.BasicBSONList
- removeProperty(String) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Remove a property from the builder
- RepresentationConfigurable<T> - Interface in org.bson.codecs
-
Implementations of this interface can decode additional types and translate them to the desired value type depending on the BsonRepresentation.
- reset() - Method in class org.bson.AbstractBsonReader.Mark
- reset() - Method in class org.bson.AbstractBsonWriter.Mark
-
Resets the
AbstractBsonWriter
instance that contains thisMark
to the state the writer was in when the Mark was created. - reset() - Method in class org.bson.BasicBSONCallback
- reset() - Method in class org.bson.BsonBinaryReader.Mark
- reset() - Method in class org.bson.BsonBinaryWriter.Mark
- reset() - Method in class org.bson.BsonBinaryWriter
-
Resets this writer to the last
BsonBinaryWriter.mark()
saved. - reset() - Method in interface org.bson.BSONCallback
-
Resets the callback, clearing all state.
- reset() - Method in class org.bson.BsonDocumentReader.Context
- reset() - Method in class org.bson.BsonDocumentReader.Mark
- reset() - Method in interface org.bson.BsonReaderMark
-
Reset the
BsonReader
to its state at the time the mark was created. - reset() - Method in class org.bson.EmptyBSONCallback
- reset() - Method in interface org.bson.io.BsonInputMark
-
Reset the
BsonInput
to its state at the time the mark was created. - reset() - Method in class org.bson.json.JsonReader.Mark
- reset() - Method in class org.bson.LazyBSONCallback
- 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.LazyBSONList
- retainAll(Collection<?>) - Method in class org.bson.BsonArray
- retainAll(Collection<?>) - Method in class org.bson.RawBsonArray
S
- SCOPE_DOCUMENT - org.bson.AbstractBsonReader.State
-
The reader is positioned at a scope document.
- SCOPE_DOCUMENT - org.bson.AbstractBsonWriter.State
-
The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document).
- SCOPE_DOCUMENT - org.bson.BsonContextType
-
The scope document of a JAVASCRIPT_WITH_SCOPE BSON value.
- set(int, Object) - Method in class org.bson.LazyBSONList
- set(int, BsonValue) - Method in class org.bson.BsonArray
- set(int, BsonValue) - Method in class org.bson.RawBsonArray
- set(OutputBuffer) - Method in class org.bson.BasicBSONEncoder
- set(OutputBuffer) - Method in interface org.bson.BSONEncoder
-
Sets the buffer to wrich the result of encoding will be written.
- set(S, PropertyModel<S>) - Method in interface org.bson.codecs.pojo.InstanceCreator
-
Sets a value for the given PropertyModel
- set(S, T) - Method in interface org.bson.codecs.pojo.PropertyAccessor
-
Sets a value on the given PropertyModel
- SET_PRIVATE_FIELDS_CONVENTION - Static variable in class org.bson.codecs.pojo.Conventions
-
A convention that enables private fields to be set using reflection.
- setContext(AbstractBsonReader.Context) - Method in class org.bson.AbstractBsonReader
-
Set the context, which will indicate which state the reader is in, for example which part of a document it's currently reading.
- setContext(AbstractBsonWriter.Context) - Method in class org.bson.AbstractBsonWriter
-
Set the context, which will indicate which state the writer is in, for example which part of a document it's currently writing.
- setCurrentBsonType(BsonType) - Method in class org.bson.AbstractBsonReader
-
Sets the type of the current value being read.
- setCurrentName(String) - Method in class org.bson.AbstractBsonReader
-
Sets the field name for the key/value pair being read.
- setRoot(Object) - Method in class org.bson.BasicBSONCallback
-
Sets the root document for this position
- setState(AbstractBsonReader.State) - Method in class org.bson.AbstractBsonReader
-
Sets the new current state of this reader.
- setState(AbstractBsonWriter.State) - Method in class org.bson.AbstractBsonWriter
-
Sets the current state of the writer.
- SHELL - org.bson.json.JsonMode
-
While not formally documented, this output mode will attempt to produce output that corresponds to what the MongoDB shell actually produces when showing query results.
- ShortCodec - Class in org.bson.codecs
-
Encodes and decodes
Short
objects. - ShortCodec() - Constructor for class org.bson.codecs.ShortCodec
- shouldSerialize(T) - Method in class org.bson.codecs.pojo.PropertyModel
-
Returns true if the value should be serialized.
- shouldSerialize(T) - Method in interface org.bson.codecs.pojo.PropertySerialization
-
Determines if a value should be serialized
- size() - Method in class org.bson.BsonArray
- size() - Method in class org.bson.BsonDocument
- size() - Method in class org.bson.BsonDocumentWrapper
- size() - Method in class org.bson.Document
- size() - Method in class org.bson.io.OutputBuffer
-
Gets the output size in bytes.
- size() - Method in class org.bson.LazyBSONList
- size() - Method in class org.bson.RawBsonDocument
- skip(int) - Method in interface org.bson.io.BsonInput
-
Skips the specified number of bytes in the stream.
- skip(int) - Method in class org.bson.io.ByteBufferBsonInput
- skipCString() - Method in interface org.bson.io.BsonInput
-
Skips a BSON CString value from the stream.
- skipCString() - Method in class org.bson.io.ByteBufferBsonInput
- skipName() - Method in class org.bson.AbstractBsonReader
- skipName() - Method in interface org.bson.BsonReader
-
Skips the name (reader must be positioned on a name).
- skipValue() - Method in class org.bson.AbstractBsonReader
- skipValue() - Method in interface org.bson.BsonReader
-
Skips the value (reader must be positioned on a value).
- STANDARD - org.bson.UuidRepresentation
-
The canonical representation of UUID BSON binary subtype 4
- start() - Method in interface org.bson.FieldNameValidator
-
Start validation of a single document.
- STRICT - org.bson.json.JsonMode
-
Deprecated.The format generated with this mode is no longer considered standard for MongoDB tools. This value is not currently scheduled for removal.
- StrictCharacterStreamJsonWriter - Class in org.bson.json
-
A class that writes JSON texts as a character stream via a provided
Writer
. - StrictCharacterStreamJsonWriter(Writer, StrictCharacterStreamJsonWriterSettings) - Constructor for class org.bson.json.StrictCharacterStreamJsonWriter
-
Construct an instance.
- StrictCharacterStreamJsonWriterSettings - Class in org.bson.json
-
Settings to control the behavior of a
JSONWriter
instance. - StrictCharacterStreamJsonWriterSettings.Builder - Class in org.bson.json
-
A builder for StrictCharacterStreamJsonWriterSettings
- StrictJsonWriter - Interface in org.bson.json
-
An interface for creating JSON texts that largely conform to RFC 7159.
- STRING - org.bson.BsonType
-
A BSON string.
- STRING_ID_GENERATOR - Static variable in class org.bson.codecs.pojo.IdGenerators
- StringCodec - Class in org.bson.codecs
-
Encodes and decodes
String
objects. - StringCodec() - Constructor for class org.bson.codecs.StringCodec
-
Constructs a StringCodec with a String representation.
- stringConverter(Converter<String>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON String values to JSON.
- subList(int, int) - Method in class org.bson.BsonArray
- subList(int, int) - Method in class org.bson.LazyBSONList
- Symbol - Class in org.bson.types
-
Class to hold an instance of the BSON symbol type.
- Symbol(String) - Constructor for class org.bson.types.Symbol
-
Construct a new instance with the given symbol.
- SYMBOL - org.bson.BsonType
-
A BSON symbol.
- SymbolCodec - Class in org.bson.codecs
-
A codec for BSON symbol type.
- SymbolCodec() - Constructor for class org.bson.codecs.SymbolCodec
- symbolConverter(Converter<String>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Symbol values to JSON.
T
- throwInvalidContextType(String, BsonContextType, BsonContextType...) - Method in class org.bson.AbstractBsonReader
-
Throws an InvalidOperationException when the method called is not valid for the current ContextType.
- throwInvalidContextType(String, BsonContextType, BsonContextType...) - Method in class org.bson.AbstractBsonWriter
-
Throws an InvalidOperationException when the method called is not valid for the current ContextType.
- throwInvalidState(String, AbstractBsonReader.State...) - Method in class org.bson.AbstractBsonReader
-
Throws an InvalidOperationException when the method called is not valid for the current state.
- throwInvalidState(String, AbstractBsonWriter.State...) - Method in class org.bson.AbstractBsonWriter
-
Throws a
BsonInvalidOperationException
when the method called is not valid for the current state. - TIMESTAMP - org.bson.BsonType
-
A BSON timestamp.
- timestampConverter(Converter<BsonTimestamp>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Timestamp values to JSON.
- toArray() - Method in class org.bson.BsonArray
- toArray() - Method in class org.bson.LazyBSONList
- toArray(Object[]) - Method in class org.bson.LazyBSONList
- toArray(T[]) - Method in class org.bson.BsonArray
- toBsonDocument() - Method in interface org.bson.conversions.Bson
-
Render into a BsonDocument using a document class and codec registry appropriate for the implementation.
- toBsonDocument(Class<C>, CodecRegistry) - Method in class org.bson.BsonDocument
- toBsonDocument(Class<C>, CodecRegistry) - Method in class org.bson.Document
- toBsonDocument(Class<TDocument>, CodecRegistry) - Method in interface org.bson.conversions.Bson
-
Render into a BsonDocument.
- toBsonDocument(Class<TDocument>, CodecRegistry) - Method in class org.bson.json.JsonObject
- toByteArray() - Method in class org.bson.io.OutputBuffer
-
Gets a copy of the buffered bytes.
- toByteArray() - Method in class org.bson.types.ObjectId
-
Convert to a byte array.
- toHexString() - Method in class org.bson.types.ObjectId
-
Converts this instance into a 24-byte hexadecimal string representation.
- toJson() - Method in class org.bson.BsonDocument
-
Gets a JSON representation of this document using the
JsonMode.RELAXED
output mode, and otherwise the default settings ofJsonWriterSettings.Builder
. - toJson() - Method in class org.bson.Document
-
Gets a JSON representation of this document using the
JsonMode.RELAXED
output mode, and otherwise the default settings ofJsonWriterSettings.Builder
andDocumentCodec
. - toJson() - Method in class org.bson.RawBsonDocument
- toJson(Encoder<Document>) - Method in class org.bson.Document
-
Gets a JSON representation of this document
- toJson(JsonWriterSettings) - Method in class org.bson.BsonDocument
-
Gets a JSON representation of this document using the given
JsonWriterSettings
. - toJson(JsonWriterSettings) - Method in class org.bson.Document
-
Gets a JSON representation of this document
- toJson(JsonWriterSettings) - Method in class org.bson.RawBsonDocument
- toJson(JsonWriterSettings, Encoder<Document>) - Method in class org.bson.Document
-
Gets a JSON representation of this document
- toMap() - Method in class org.bson.BasicBSONObject
-
Converts a DBObject to a map.
- toMap() - Method in interface org.bson.BSONObject
-
Returns a map representing this BSONObject.
- toMap() - Method in class org.bson.LazyBSONObject
- toMap() - Method in class org.bson.types.BasicBSONList
- TOP_LEVEL - org.bson.BsonContextType
-
The top level of a BSON document.
- toString() - Method in class org.bson.BsonArray
- toString() - Method in class org.bson.BsonBinary
- toString() - Method in class org.bson.BsonBoolean
- toString() - Method in class org.bson.BsonDateTime
- toString() - Method in class org.bson.BsonDbPointer
- toString() - Method in class org.bson.BsonDecimal128
- toString() - Method in class org.bson.BsonDocument
- toString() - Method in class org.bson.BsonDocumentWrapper
- toString() - Method in class org.bson.BsonDouble
- toString() - Method in class org.bson.BsonInt32
- toString() - Method in class org.bson.BsonInt64
- toString() - Method in class org.bson.BsonJavaScript
- toString() - Method in class org.bson.BsonJavaScriptWithScope
- toString() - Method in class org.bson.BsonMaxKey
- toString() - Method in class org.bson.BsonMinKey
- toString() - Method in class org.bson.BsonNull
- toString() - Method in class org.bson.BsonObjectId
- toString() - Method in class org.bson.BsonRegularExpression
- toString() - Method in class org.bson.BsonString
- toString() - Method in class org.bson.BsonSymbol
- toString() - Method in class org.bson.BsonTimestamp
- toString() - Method in class org.bson.codecs.pojo.ClassModel
- toString() - Method in class org.bson.codecs.pojo.ClassModelBuilder
- toString() - Method in class org.bson.codecs.pojo.PropertyModel
- toString() - Method in class org.bson.codecs.pojo.PropertyModelBuilder
- toString() - Method in class org.bson.codecs.UuidCodec
- toString() - Method in class org.bson.Document
- toString() - Method in class org.bson.io.OutputBuffer
- toString() - Method in class org.bson.json.JsonObject
- toString() - Method in class org.bson.types.BSONTimestamp
- toString() - Method in class org.bson.types.Code
- toString() - Method in class org.bson.types.Decimal128
-
Returns the String representation of the Decimal128 value.
- toString() - Method in class org.bson.types.MaxKey
- toString() - Method in class org.bson.types.MinKey
- toString() - Method in class org.bson.types.ObjectId
- toString() - Method in class org.bson.types.Symbol
- trace(String) - Method in interface org.bson.diagnostics.Logger
-
Log a message at the TRACE level.
- trace(String, Throwable) - Method in interface org.bson.diagnostics.Logger
-
Log an exception (throwable) at the TRACE level with an accompanying message.
- transform(Object) - Method in interface org.bson.Transformer
-
Turns the
objectToTransform
into some otherObject
. - Transformer - Interface in org.bson
-
Transforms objects that can be converted to BSON into other Java types, and vice versa.
- TRUE - Static variable in class org.bson.BsonBoolean
- truncateToPosition(int) - Method in class org.bson.io.BasicOutputBuffer
- truncateToPosition(int) - Method in interface org.bson.io.BsonOutput
-
Truncates this stream to the new position.
- truncateToPosition(int) - Method in class org.bson.io.OutputBuffer
- type(Class<T>) - Method in class org.bson.codecs.pojo.ClassModelBuilder
-
Sets the type of the model
- TYPE - org.bson.AbstractBsonReader.State
-
The reader is positioned at the type of an element or value.
- TypeWithTypeParameters<T> - Interface in org.bson.codecs.pojo
-
A combination of a type and its type parameters.
U
- UNDEFINED - org.bson.BsonType
-
A BSON undefined value.
- undefinedConverter(Converter<BsonUndefined>) - Method in class org.bson.json.JsonWriterSettings.Builder
-
Sets the converter from BSON Undefined values to JSON.
- UNSPECIFIED - org.bson.UuidRepresentation
-
An unspecified representation of UUID.
- USE_GETTERS_FOR_SETTERS - Static variable in class org.bson.codecs.pojo.Conventions
-
A convention that uses getter methods as setters for collections and maps if there is no setter.
- useDiscriminator() - Method in annotation type org.bson.codecs.pojo.annotations.BsonProperty
- useDiscriminator() - Method in class org.bson.codecs.pojo.ClassModel
- useDiscriminator() - Method in class org.bson.codecs.pojo.ClassModelBuilder
- useDiscriminator() - Method in class org.bson.codecs.pojo.PropertyModel
- USER_DEFINED - org.bson.BsonBinarySubType
-
User defined binary data.
- UUID_LEGACY - org.bson.BsonBinarySubType
-
A UUID in a driver dependent legacy byte order.
- UUID_STANDARD - org.bson.BsonBinarySubType
-
A UUID in standard network byte order.
- UuidCodec - Class in org.bson.codecs
-
Encodes and decodes
UUID
objects. - UuidCodec() - Constructor for class org.bson.codecs.UuidCodec
-
The constructor for UUIDCodec, default is JAVA_LEGACY
- UuidCodec(UuidRepresentation) - Constructor for class org.bson.codecs.UuidCodec
-
The default UUIDRepresentation is JAVA_LEGACY to be compatible with existing documents
- UuidCodecProvider - Class in org.bson.codecs
-
A
CodecProvider
for UUID Codecs with custom UUID representations - UuidCodecProvider(UuidRepresentation) - Constructor for class org.bson.codecs.UuidCodecProvider
-
Set the UUIDRepresentation to be used in the codec default is JAVA_LEGACY to be compatible with existing documents
- UuidRepresentation - Enum in org.bson
-
The representation to use when converting a UUID to a BSON binary value.
V
- validate(String) - Method in interface org.bson.FieldNameValidator
-
Returns true if the field name is valid, false otherwise.
- value() - Method in annotation type org.bson.codecs.pojo.annotations.BsonDiscriminator
- value() - Method in annotation type org.bson.codecs.pojo.annotations.BsonProperty
-
The name of the property.
- value() - Method in annotation type org.bson.codecs.pojo.annotations.BsonRepresentation
-
The type that the property is stored as in the database.
- VALUE - org.bson.AbstractBsonReader.State
-
The reader is positioned at a value.
- VALUE - org.bson.AbstractBsonWriter.State
-
The writer is positioned to write a value.
- VALUE - Static variable in class org.bson.BsonNull
- ValueCodecProvider - Class in org.bson.codecs
-
A Codec provider for dynamically-typed value classes.
- ValueCodecProvider() - Constructor for class org.bson.codecs.ValueCodecProvider
-
A provider of Codecs for simple value types.
- valueOf(boolean) - Static method in class org.bson.BsonBoolean
-
Returns a
BsonBoolean
instance representing the specifiedboolean
value. - valueOf(String) - Static method in enum org.bson.AbstractBsonReader.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bson.AbstractBsonWriter.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bson.BsonBinarySubType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bson.BsonContextType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bson.BsonType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bson.json.JsonMode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.bson.UuidRepresentation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.bson.AbstractBsonReader.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bson.AbstractBsonWriter.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bson.BsonBinarySubType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.bson.BsonContextType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.bson.BsonDocument
- values() - Method in class org.bson.BsonDocumentWrapper
- values() - Static method in enum org.bson.BsonType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.bson.Document
- values() - Static method in enum org.bson.json.JsonMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.bson.RawBsonDocument
- values() - Static method in enum org.bson.UuidRepresentation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verifyBSONType(String, BsonType) - Method in class org.bson.AbstractBsonReader
-
Verifies the current state and BSONType of the reader.
- verifyName(String) - Method in class org.bson.AbstractBsonReader
-
Verifies the name of the current element.
W
- 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.
- withRepresentation(BsonType) - Method in interface org.bson.codecs.RepresentationConfigurable
-
Returns an immutable codec with the given representation.
- withRepresentation(BsonType) - Method in class org.bson.codecs.StringCodec
- withUuidRepresentation(UuidRepresentation) - Method in class org.bson.codecs.DocumentCodec
- withUuidRepresentation(UuidRepresentation) - Method in class org.bson.codecs.IterableCodec
- withUuidRepresentation(UuidRepresentation) - Method in class org.bson.codecs.MapCodec
- withUuidRepresentation(UuidRepresentation) - Method in interface org.bson.codecs.OverridableUuidRepresentationCodec
-
Implementations must return a new instance with the
UuidRepresentation
overridden with the given value. - withUuidRepresentation(UuidRepresentation) - Method in class org.bson.codecs.OverridableUuidRepresentationUuidCodec
- write(byte[]) - 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.BasicOutputBuffer
- 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(String, BsonBinary) - Method in interface org.bson.BsonWriter
-
Writes a BSON Binary data element to the writer.
- 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.
- writeBoolean(boolean) - Method in class org.bson.AbstractBsonWriter
- writeBoolean(boolean) - Method in interface org.bson.BsonWriter
-
Writes a BSON Boolean to the writer.
- 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 class org.bson.AbstractBsonWriter
- 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(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[]) - Method in interface org.bson.io.BsonOutput
-
Writes all the bytes in the byte array to the stream.
- writeBytes(byte[]) - Method in class org.bson.io.OutputBuffer
- writeBytes(byte[], int, int) - Method in class org.bson.io.BasicOutputBuffer
- writeBytes(byte[], int, int) - Method in interface org.bson.io.BsonOutput
-
Writes
length
bytes from the byte array, starting atoffset
. - 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(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 class org.bson.AbstractBsonWriter
- 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(String, BsonDbPointer) - Method in interface org.bson.BsonWriter
-
Writes a BSON DBPointer element to the writer.
- writeDBPointer(BsonDbPointer) - Method in class org.bson.AbstractBsonWriter
- writeDBPointer(BsonDbPointer) - Method in interface org.bson.BsonWriter
-
Writes a BSON DBPointer to the writer.
- writeDecimal128(String, Decimal128) - Method in class org.bson.AbstractBsonWriter
- writeDecimal128(String, Decimal128) - Method in interface org.bson.BsonWriter
-
Writes a BSON Decimal128 element to the writer.
- writeDecimal128(Decimal128) - Method in class org.bson.AbstractBsonWriter
- writeDecimal128(Decimal128) - Method in interface org.bson.BsonWriter
-
Writes a BSON Decimal128 to the writer.
- writeDouble(double) - Method in class org.bson.AbstractBsonWriter
- writeDouble(double) - Method in interface org.bson.BsonWriter
-
Writes a BSON Double 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
- writeDouble(String, double) - Method in class org.bson.AbstractBsonWriter
- writeDouble(String, double) - Method in interface org.bson.BsonWriter
-
Writes a BSON Double element to the writer.
- 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(int) - Method in class org.bson.AbstractBsonWriter
- writeInt32(int) - Method in interface org.bson.BsonWriter
-
Writes a BSON Int32 to the writer.
- writeInt32(int) - Method in interface org.bson.io.BsonOutput
-
Writes a 32-bit BSON integer to the stream.
- writeInt32(int) - Method in class org.bson.io.OutputBuffer
- 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, int) - Method in class org.bson.io.OutputBuffer
- writeInt32(String, int) - Method in class org.bson.AbstractBsonWriter
- writeInt32(String, int) - Method in interface org.bson.BsonWriter
-
Writes a BSON Int32 element to the writer.
- writeInt64(long) - Method in class org.bson.AbstractBsonWriter
- writeInt64(long) - Method in interface org.bson.BsonWriter
-
Writes a BSON Int64 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
- writeInt64(String, long) - Method in class org.bson.AbstractBsonWriter
- writeInt64(String, long) - Method in interface org.bson.BsonWriter
-
Writes a BSON Int64 element to the writer.
- 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 class org.bson.AbstractBsonWriter
- writeJavaScript(String, String) - Method in interface org.bson.BsonWriter
-
Writes a BSON JavaScript element to the writer.
- 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 class org.bson.AbstractBsonWriter
- 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() - Method in class org.bson.AbstractBsonWriter
- writeMaxKey() - Method in interface org.bson.BsonWriter
-
Writes a BSON MaxKey to the writer.
- writeMaxKey(String) - Method in class org.bson.AbstractBsonWriter
- writeMaxKey(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON MaxKey element to the writer.
- 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 class org.bson.AbstractBsonWriter
- 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() - Method in class org.bson.AbstractBsonWriter
- writeNull() - Method in interface org.bson.BsonWriter
-
Writes a BSON null to the writer.
- 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 class org.bson.AbstractBsonWriter
- 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(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a member with a null value to the writer.
- 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 class org.bson.json.StrictCharacterStreamJsonWriter
- 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(String, ObjectId) - Method in interface org.bson.BsonWriter
-
Writes a BSON ObjectId element to the writer.
- writeObjectId(ObjectId) - Method in class org.bson.AbstractBsonWriter
- writeObjectId(ObjectId) - Method in interface org.bson.BsonWriter
-
Writes a BSON ObjectId 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) - 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 class org.bson.json.StrictCharacterStreamJsonWriter
- 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(String, BsonRegularExpression) - Method in interface org.bson.BsonWriter
-
Writes a BSON regular expression element to the writer.
- writeRegularExpression(BsonRegularExpression) - Method in class org.bson.AbstractBsonWriter
- writeRegularExpression(BsonRegularExpression) - Method in interface org.bson.BsonWriter
-
Writes a BSON regular expression to the writer.
- 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() - 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 class org.bson.AbstractBsonWriter
- 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(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes the start of JSON array member to the writer.
- 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 class org.bson.AbstractBsonWriter
- writeStartDocument(String) - Method in interface org.bson.BsonWriter
-
Writes the start of a BSON document element to the writer.
- 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 class org.bson.json.StrictCharacterStreamJsonWriter
- writeStartObject(String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes the start of a JSON object member to the writer.
- 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) - 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) - 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 class org.bson.AbstractBsonWriter
- writeString(String, String) - Method in interface org.bson.BsonWriter
-
Writes a BSON String element to the writer.
- writeString(String, String) - Method in class org.bson.json.StrictCharacterStreamJsonWriter
- writeString(String, String) - Method in interface org.bson.json.StrictJsonWriter
-
Writes a member with a string value to the writer.
- 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 class org.bson.AbstractBsonWriter
- 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(String, BsonTimestamp) - Method in interface org.bson.BsonWriter
-
Writes a BSON Timestamp element to the writer.
- writeTimestamp(BsonTimestamp) - Method in class org.bson.AbstractBsonWriter
- writeTimestamp(BsonTimestamp) - Method in interface org.bson.BsonWriter
-
Writes a BSON Timestamp to the writer.
- 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 class org.bson.AbstractBsonWriter
- writeUndefined(String) - Method in interface org.bson.BsonWriter
-
Writes a BSON undefined element to the writer.
_
- _put(String, Object) - Method in class org.bson.BasicBSONCallback
-
Puts a new value into the document.
- _putObjectField(String, Object) - Method in class org.bson.BasicBSONEncoder
-
Encodes any Object type
All Classes All Packages