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
,FloatCodec
,InstantCodec
,IntegerCodec
,IterableCodec
,JsonObjectCodec
,LocalDateCodec
,LocalDateTimeCodec
,LocalTimeCodec
,LongCodec
,MapCodec
,MaxKeyCodec
,MinKeyCodec
,ObjectIdCodec
,OverridableUuidRepresentationUuidCodec
,PatternCodec
,RawBsonDocumentCodec
,ShortCodec
,StringCodec
,SymbolCodec
,UuidCodec
public interface Codec<T> extends Encoder<T>, Decoder<T>
Implementations of this interface can both encode and decode values of typeT
.- Since:
- 3.0
-
-
Method Summary
-
Methods inherited from interface org.bson.codecs.Encoder
encode, getEncoderClass
-
-