Package org.bson.codecs
Interface Codec<T>
- Type Parameters:
T
- the value type
- All Known Subinterfaces:
CollectibleCodec<T>
- All Known Implementing Classes:
AtomicBooleanCodec
,AtomicIntegerCodec
,AtomicLongCodec
,BigDecimalCodec
,BinaryCodec
,BooleanCodec
,BsonArrayCodec
,BsonBinaryCodec
,BsonBooleanCodec
,BsonCodec
,BsonDateTimeCodec
,BsonDBPointerCodec
,BsonDecimal128Codec
,BsonDocumentCodec
,BsonDocumentWrapperCodec
,BsonDoubleCodec
,BsonInt32Codec
,BsonInt64Codec
,BsonJavaScriptCodec
,BsonJavaScriptWithScopeCodec
,BsonMaxKeyCodec
,BsonMinKeyCodec
,BsonNullCodec
,BsonObjectIdCodec
,BsonRegularExpressionCodec
,BsonStringCodec
,BsonSymbolCodec
,BsonTimestampCodec
,BsonUndefinedCodec
,BsonValueCodec
,ByteArrayCodec
,ByteCodec
,CharacterCodec
,CodeCodec
,CodeWithScopeCodec
,DateCodec
,Decimal128Codec
,DocumentCodec
,DoubleCodec
,EnumCodec
,FloatCodec
,InstantCodec
,IntegerCodec
,IterableCodec
,JsonObjectCodec
,LocalDateCodec
,LocalDateTimeCodec
,LocalTimeCodec
,LongCodec
,MapCodec
,MaxKeyCodec
,MinKeyCodec
,ObjectIdCodec
,OverridableUuidRepresentationUuidCodec
,PatternCodec
,RawBsonDocumentCodec
,ShortCodec
,StringCodec
,SymbolCodec
,UuidCodec
Implementations of this interface can both encode and decode values of type
T
.- Since:
- 3.0
-
Method Summary
Methods inherited from interface org.bson.codecs.Encoder
encode, getEncoderClass