interface PropertyEncoder<T extends PersistentProperty>
An interface for encoding PersistentProperty instances
Type Params | Return Type | Name and description |
---|---|---|
|
abstract void |
encode(org.bson.BsonWriter writer, T property, java.lang.Object value, EntityAccess parentAccess, org.bson.codecs.EncoderContext encoderContext, org.bson.codecs.configuration.CodecRegistry codecRegistry) Encodes a property to the given writer |
Encodes a property to the given writer
writer
- The org.bson.BsonWriterproperty
- The propertyvalue
- The valueparentAccess
- Access to the parent entityencoderContext
- The encoder contextcodecRegistry
- The org.bson.codecs.configuration.CodecRegistry