Package | Description |
---|---|
com.mongodb |
This package is the main entry point to the MongoDB Java Driver, and it contains the classes for the existing API from 2.x versions.
|
com.mongodb.client.model.geojson.codecs |
This package contains classes that encode and decode GeoJSON objects.
|
org.bson.codecs |
This package contains all the default BSON codecs.
|
Modifier and Type | Method and Description |
---|---|
DBObject |
DBObjectCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
DBRef |
DBRefCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BSONTimestamp |
BSONTimestampCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
NamedCoordinateReferenceSystem |
NamedCoordinateReferenceSystemCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Polygon |
PolygonCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
MultiPoint |
MultiPointCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
MultiLineString |
MultiLineStringCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Point |
PointCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
MultiPolygon |
MultiPolygonCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
GeometryCollection |
GeometryCollectionCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
LineString |
LineStringCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Modifier and Type | Method and Description |
---|---|
DecoderContext |
DecoderContext.Builder.build()
Build an instance of
DecoderContext . |
Modifier and Type | Method and Description |
---|---|
Boolean |
BooleanCodec.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 . |
BsonInt64 |
BsonInt64Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDouble |
BsonDoubleCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonInt32 |
BsonInt32Codec.decode(BsonReader reader,
DecoderContext decoderContext) |
CodeWithScope |
CodeWithScopeCodec.decode(BsonReader bsonReader,
DecoderContext decoderContext) |
BsonTimestamp |
BsonTimestampCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
RawBsonDocument |
RawBsonDocumentCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
MinKey |
MinKeyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonUndefined |
BsonUndefinedCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonBinary |
BsonBinaryCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Binary |
BinaryCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Double |
DoubleCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
byte[] |
ByteArrayCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
UUID |
UuidCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonObjectId |
BsonObjectIdCodec.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. |
BsonJavaScriptWithScope |
BsonJavaScriptWithScopeCodec.decode(BsonReader bsonReader,
DecoderContext decoderContext) |
BsonDocument |
BsonDocumentCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDateTime |
BsonDateTimeCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Code |
CodeCodec.decode(BsonReader bsonReader,
DecoderContext decoderContext) |
String |
StringCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Long |
LongCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Character |
CharacterCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonJavaScript |
BsonJavaScriptCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonMaxKey |
BsonMaxKeyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
AtomicLong |
AtomicLongCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Symbol |
SymbolCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonRegularExpression |
BsonRegularExpressionCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonValue |
BsonValueCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonString |
BsonStringCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonBoolean |
BsonBooleanCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Document |
DocumentCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Float |
FloatCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Date |
DateCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Integer |
IntegerCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
AtomicInteger |
AtomicIntegerCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonDbPointer |
BsonDBPointerCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Byte |
ByteCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonArray |
BsonArrayCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Pattern |
PatternCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonSymbol |
BsonSymbolCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
AtomicBoolean |
AtomicBooleanCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonMinKey |
BsonMinKeyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
Short |
ShortCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
ObjectId |
ObjectIdCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
MaxKey |
MaxKeyCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
BsonNull |
BsonNullCodec.decode(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 . |
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 . |
Copyright © 2016. All Rights Reserved.