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
,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 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
-
-