| Interface | Description |
|---|---|
| ClassResolver | |
| CodecResolver<T> |
This interface can be used to add special handling for pojos of certain types.
|
| DelegatingCodec<T> | |
| IdGenerator<T> |
IdGenerator that has no need to generate ids based on instance internals
|
| InstanceAwareIdGenerator<T,P> |
Introducing this super-interface of
IdGenerator allows for staying backward compatible with existing code. |
| PolymorphicCodec<T> |
Provides functionality for handling polymorphic structures.
|
| ReflectionCodec<T> |
Used by Polymorphia internally to tag codecs that use reflection to build a Codec for al properties
|
| SpecialFieldsMap |
A marker interface to mark entity classes that are maps with special fields
Special fields can be declared by getter methods with a
FieldMapping annotation |
| TypeCodec<T> |
All codecs used within polymorphia need to implement this interface.
|
| TypeCodecProvider |
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...) |
| TypeCodecRegistry |
| Class | Description |
|---|---|
| AbstractTypeCodec<T> |
Abstract base class for any type codec.
|
| ArrayCodec<T> |
Codec for multi dimensional
|
| BasicReflectionCodec<T> | |
| CodecConfiguration |
Helper class holding configurations for the PojoCodecProvider
|
| CollectionTypeCodec<C extends Collection<V>,V> |
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.
|
| ComplexMapTypeCodec<K,V> | |
| EnumCodec<T extends Enum<T>> |
Codec for enum.
|
| EnumCodecProvider | |
| FieldTypePair | |
| ListTypeCodec<C extends List<V>,V> | |
| MappedField<T,F> | |
| MapTypeCodec<K,V> | |
| MethodTypePair | |
| ObjectCodec<T> |
transcodes dynamically typed
Object values. |
| ObjectCodecProvider |
transcodes dynamically typed
Object values. |
| ObjectIdGenerator | |
| PojoCodecProvider |
Provides a codec for Pojos
Use the internal builder to register classes and packages that can be handled by the codec
|
| PojoCodecProvider.Builder | |
| PojoContext | |
| PolymorphicReflectionCodec<T> | |
| ReflectionHelper | |
| SetTypeCodec<C extends Set<V>,V> | |
| SimpleMapTypeCodec<V> | |
| SpecialFieldsMapCodec<T extends Map<String,Object>> |
This 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
DocumentCodec |
| TypesModel |
This class holds a list of all classes relevant for the pojo model.
|
| TypesModel.ClassHierarchyNode |
| Enum | Description |
|---|---|
| PrimitiveArrayCodec |
Codecs for primitive arrays
|
| Exception | Description |
|---|---|
| IdGenerationException | |
| InstanceCreationException | |
| TypeMismatchException |
Copyright © 2020 BILD GmbH & Co. KG. All rights reserved.