T
- the type to decode into, the return type of the decode(org.bson.BsonReader, DecoderContext)
method.Codec<T>
, CollectibleCodec<T>
AtomicBooleanCodec
, AtomicIntegerCodec
, AtomicLongCodec
, BigDecimalCodec
, BinaryCodec
, BooleanCodec
, BsonArrayCodec
, BsonBinaryCodec
, BsonBooleanCodec
, BsonDateTimeCodec
, BsonDBPointerCodec
, BsonDecimal128Codec
, BsonDocumentCodec
, BsonDocumentWrapperCodec
, BsonDoubleCodec
, BsonInt32Codec
, BsonInt64Codec
, BsonJavaScriptCodec
, BsonJavaScriptWithScopeCodec
, BsonMaxKeyCodec
, BsonMinKeyCodec
, BsonNullCodec
, BsonObjectIdCodec
, BsonRegularExpressionCodec
, BsonStringCodec
, BsonSymbolCodec
, BsonTimestampCodec
, BSONTimestampCodec
, BsonUndefinedCodec
, BsonValueCodec
, ByteArrayCodec
, ByteCodec
, CharacterCodec
, CodeCodec
, CodeWithScopeCodec
, DateCodec
, DBObjectCodec
, DBRefCodec
, Decimal128Codec
, DocumentCodec
, DoubleCodec
, FloatCodec
, GeometryCodec
, GeometryCollectionCodec
, GridFSFileCodec
, InstantCodec
, IntegerCodec
, IterableCodec
, LineStringCodec
, LocalDateCodec
, LocalDateTimeCodec
, LocalTimeCodec
, LongCodec
, MapCodec
, MaxKeyCodec
, MinKeyCodec
, MultiLineStringCodec
, MultiPointCodec
, MultiPolygonCodec
, NamedCoordinateReferenceSystemCodec
, ObjectIdCodec
, PatternCodec
, PointCodec
, PolygonCodec
, RawBsonDocumentCodec
, ShortCodec
, StringCodec
, SymbolCodec
, UuidCodec
public interface Decoder<T>
Modifier and Type | Method | Description |
---|---|---|
T |
decode(BsonReader reader,
DecoderContext decoderContext) |
Decodes a BSON value from the given reader into an instance of the type parameter
T . |
T decode(BsonReader reader, DecoderContext decoderContext)
T
.reader
- the BSON readerdecoderContext
- the decoder contextT
.