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