Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.client.gridfs.codecs |
This package contains codecs for use with GridFS
|
com.mongodb.client.model.changestream |
This package contains classes for the change stream api
|
com.mongodb.client.model.geojson.codecs |
This package contains classes that encode and decode GeoJSON objects.
|
com.mongodb.operation |
The core of the MongoDB driver works via operations, using the command pattern.
|
org.bson.codecs |
This package contains all the default BSON codecs.
|
org.bson.codecs.configuration |
This package contains codec configurations and the codec registry helper
|
org.bson.codecs.pojo |
This package contains classes specific to mapping user POJOs.
|
Modifier and Type | Method and Description |
---|---|
DBRef |
DBRefCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
DBObject |
DBDecoderAdapter.decode(BsonReader reader,
DecoderContext decoderContext) |
DBObject |
CompoundDBObjectCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BSONTimestamp |
BSONTimestampCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
DBObject |
DBObjectCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
private java.util.List |
DBObjectCodec.readArray(BsonReader reader,
DecoderContext decoderContext,
java.util.List<java.lang.String> path) |
private java.lang.Object |
DBObjectCodec.readBinary(BsonReader reader,
DecoderContext decoderContext) |
private CodeWScope |
DBObjectCodec.readCodeWScope(BsonReader reader,
DecoderContext decoderContext,
java.util.List<java.lang.String> path) |
private DBObject |
DBObjectCodec.readDocument(BsonReader reader,
DecoderContext decoderContext,
java.util.List<java.lang.String> path) |
private java.lang.Object |
DBObjectCodec.readValue(BsonReader reader,
DecoderContext decoderContext,
java.lang.String fieldName,
java.util.List<java.lang.String> path) |
Modifier and Type | Method and Description |
---|---|
GridFSFile |
GridFSFileCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
ChangeStreamDocument<TResult> |
ChangeStreamDocumentCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
OperationType |
OperationTypeCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
T |
AbstractGeometryCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
NamedCoordinateReferenceSystem |
NamedCoordinateReferenceSystemCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
BsonArray |
CommandResultArrayCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
protected BsonValue |
CommandResultDocumentCodec.readValue(BsonReader reader,
DecoderContext decoderContext) |
protected BsonValue |
CommandResultArrayCodec.readValue(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Field and Description |
---|---|
private static DecoderContext |
DecoderContext.DEFAULT_CONTEXT |
Modifier and Type | Method and Description |
---|---|
DecoderContext |
DecoderContext.Builder.build()
Build an instance of
DecoderContext . |
Modifier and Type | Method and Description |
---|---|
BsonMaxKey |
BsonMaxKeyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonNull |
BsonNullCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Decimal128 |
Decimal128Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
Binary |
BinaryCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.Double |
DoubleCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDateTime |
BsonDateTimeCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.Long |
LongCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonTimestamp |
BsonTimestampCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonSymbol |
BsonSymbolCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
RawBsonDocument |
RawBsonDocumentCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.math.BigDecimal |
BigDecimalCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonValue |
BsonValueCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonString |
BsonStringCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonBinary |
BsonBinaryCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.Short |
ShortCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
ObjectId |
ObjectIdCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDbPointer |
BsonDBPointerCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDocument |
BsonDocumentCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonInt64 |
BsonInt64Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.Float |
FloatCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.UUID |
UuidCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.Iterable |
IterableCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.String |
StringCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.Date |
DateCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonJavaScriptWithScope |
BsonJavaScriptWithScopeCodec.decode(BsonReader bsonReader,
DecoderContext decoderContext) |
BsonBoolean |
BsonBooleanCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.Character |
CharacterCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.Integer |
IntegerCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonMinKey |
BsonMinKeyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
MinKey |
MinKeyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.concurrent.atomic.AtomicLong |
AtomicLongCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
T |
Decoder.decode(BsonReader reader,
DecoderContext decoderContext)
Decodes a BSON value from the given reader into an instance of the type parameter
T . |
java.lang.Byte |
ByteCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
MaxKey |
MaxKeyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDouble |
BsonDoubleCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Code |
CodeCodec.decode(BsonReader bsonReader,
DecoderContext decoderContext) |
CodeWithScope |
CodeWithScopeCodec.decode(BsonReader bsonReader,
DecoderContext decoderContext) |
BsonJavaScript |
BsonJavaScriptCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.concurrent.atomic.AtomicBoolean |
AtomicBooleanCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.regex.Pattern |
PatternCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonObjectId |
BsonObjectIdCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonUndefined |
BsonUndefinedCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDecimal128 |
BsonDecimal128Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.lang.Boolean |
BooleanCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.concurrent.atomic.AtomicInteger |
AtomicIntegerCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonRegularExpression |
BsonRegularExpressionCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDocumentWrapper |
BsonDocumentWrapperCodec.decode(BsonReader reader,
DecoderContext decoderContext)
Decoding of
BsonDocumentWrapper instances is not supported, so this method will throw UnsupportedOperationException
in all cases. |
BsonArray |
BsonArrayCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonInt32 |
BsonInt32Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.Map<java.lang.String,java.lang.Object> |
MapCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Document |
DocumentCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Symbol |
SymbolCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
byte[] |
ByteArrayCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
private java.util.List<java.lang.Object> |
DocumentCodec.readList(BsonReader reader,
DecoderContext decoderContext) |
protected BsonValue |
BsonDocumentCodec.readValue(BsonReader reader,
DecoderContext decoderContext)
This method may be overridden to change the behavior of reading the current value from the given
BsonReader . |
private java.lang.Object |
IterableCodec.readValue(BsonReader reader,
DecoderContext decoderContext) |
protected BsonValue |
BsonArrayCodec.readValue(BsonReader reader,
DecoderContext decoderContext)
This method may be overridden to change the behavior of reading the current value from the given
BsonReader . |
private java.lang.Object |
MapCodec.readValue(BsonReader reader,
DecoderContext decoderContext) |
private java.lang.Object |
DocumentCodec.readValue(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
T |
LazyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
T |
EnumPropertyCodecProvider.EnumCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.Collection<T> |
CollectionPropertyCodecProvider.CollectionCodec.decode(BsonReader reader,
DecoderContext context) |
T |
LazyPojoCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
java.util.Map<java.lang.String,T> |
MapPropertyCodecProvider.MapCodec.decode(BsonReader reader,
DecoderContext context) |
T |
AutomaticPojoCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
T |
PojoCodecImpl.decode(BsonReader reader,
DecoderContext decoderContext) |
private void |
PojoCodecImpl.decodeProperties(BsonReader reader,
DecoderContext decoderContext,
InstanceCreator<T> instanceCreator) |
private <S> void |
PojoCodecImpl.decodePropertyModel(BsonReader reader,
DecoderContext decoderContext,
InstanceCreator<T> instanceCreator,
java.lang.String name,
PropertyModel<S> propertyModel) |