All Classes and Interfaces
Class
Description
Abstract base class for any type codec.
Codec for multi dimensional
Helper class holding configurations for the PojoCodecProvider
This interface can be used to add special handling for pojos of certain types.
This codec encodes/decodes any Set and Map (see sub classes)
Note that this codec will never persist any addition properties declared in sub classes
Solely the collection values itself will be persisted.
This strategy can be used to influence field values while decoding if no value is found in the database.
Use this annotation on pjo fields to define the codec behaviour in case of field decoding errors.
Use this annotation to define the behaviour of the pojo codec in case of exceptions.
If you want to choose your discriminator manually you can annotate your pojo classes with this annotation.
This annotation can be used to decode objects from the database that do not provide a discriminator.
A discriminator key is useful if you want to control the property name for which the discriminator is persisted.
Use this annotation to specify the handling of null values prior to encoding to the database.
If you need nulls to be written out to the database, use this annotation either at pojo class level or at field level.
Codec for enum.
An entity class that implements
SpecialFieldsMap can have methods
that define the value being encoded/decoded by their return type.Use this annotation to mark the id field.
IdGenerator that has no need to generate ids based on instance internals
Introducing this super-interface of
IdGenerator allows for staying backward compatible with existing code.transcodes dynamically typed
Object values.transcodes dynamically typed
Object values.Provides a codec for Pojos
Use the internal builder to register classes and packages that can be handled by the codec
Use this annotation at classes that you want to declare as polymorphic
This is especially useful if at present only one single base class is yet defined for your desired hierarchy
Provides functionality for handling polymorphic structures.
Codecs for primitive arrays
Used by Polymorphia internally to tag codecs that use reflection to build a Codec for al properties
A marker interface to mark entity classes that are maps with special fields
Special fields can be declared by getter methods with a
FieldMapping annotationThis Codec can be used to decode/encode map-like structures but decode/encode certain properties within the map into specialized types
This Codec is mainly inspired by
DocumentCodecAll codecs used within polymorphia need to implement this interface.
The mongo driver
CodecProvider was not designed to accept Type as parameter
This TypeCodecProvider can be used to register Codecs for any given Type
Register your TypeCodecProvider when building PojoCodecProvider.Builder.register(TypeCodecProvider...)
TypeCodecProvider helps you to handle a given fields within your Pojos as special way.This class holds a list of all classes relevant for the pojo model.