T
- the type that the instance can encode into BSON
Codec<T>
, CollectibleCodec<T>
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
, JsonObjectCodec
, LocalDateCodec
, LocalDateTimeCodec
, LocalTimeCodec
, LongCodec
, MaxKeyCodec
, MinKeyCodec
, ObjectIdCodec
, OverridableUuidRepresentationUuidCodec
, PatternCodec
, RawBsonDocumentCodec
, ShortCodec
, StringCodec
, SymbolCodec
, UuidCodec
public interface Encoder<T>
Instances of this class are capable of encoding an instance of the type parameter T
into a BSON value. .
void
Encode an instance of the type parameter T
into a BSON value.
Returns the Class instance that this encodes.
Encode an instance of the type parameter T
into a BSON value.
writer
- the BSON writer to encode into
value
- the value to encode
encoderContext
- the encoder context
Returns the Class instance that this encodes. This is necessary because Java does not reify generic types.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4