All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary Class Description AbstractTypeCodec<T> Abstract base class for any type codec.ArrayCodec<T> Codec for multi dimensionalBasicReflectionCodec<T> ClassResolver CodecConfiguration Helper class holding configurations for the PojoCodecProviderCodecResolver<T> This interface can be used to add special handling for pojos of certain types.CodecToBeUsed CollectionTypeCodec<C extends java.util.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> DecodeUndefinedHandlingStrategy This strategy can be used to influence field values while decoding if no value is found in the database.DecodeUndefinedHandlingStrategy.Strategy DecodingFieldFailureStrategy Use this annotation on pjo fields to define the codec behaviour in case of field decoding errors.DecodingFieldFailureStrategy.Strategy DecodingPojoFailureStrategy Use this annotation to define the behaviour of the pojo codec in case of exceptions.DecodingPojoFailureStrategy.Strategy DelegatingCodec<T> Discriminator If you want to choose your discriminator manually you can annotate your pojo classes with this annotation.DiscriminatorFallback This annotation can be used to decode objects from the database that do not provide a discriminator.DiscriminatorKey A discriminator key is useful if you want to control the property name for which the discriminator is persisted.EncodeNullHandlingStrategy Use this annotation to specify the handling of null values prior to encoding to the database.EncodeNullHandlingStrategy.Strategy EncodeNulls If you need nulls to be written out to the database, use this annotation either at pojo class level or at field level.EnumCodec<T extends java.lang.Enum<T>> Codec for enum.EnumCodecProvider FieldMapping An entity class that implementsSpecialFieldsMapcan have methods that define the value being encoded/decoded by their return type.FieldTypePair Id Use this annotation to mark the id field.Id.DefaultIdGenerator IdGenerationException IdGenerator<T> IdGenerator that has no need to generate ids based on instance internalsIgnoreType InstanceAwareIdGenerator<T,P> Introducing this super-interface ofIdGeneratorallows for staying backward compatible with existing code.InstanceCreationException ListTypeCodec<C extends java.util.List<V>,V> LockingVersion MappedField<T,F> MapTypeCodec<K,V> MethodTypePair ObjectCodec<T> transcodes dynamically typedObjectvalues.ObjectCodecProvider transcodes dynamically typedObjectvalues.ObjectIdGenerator PojoCodecProvider Provides a codec for Pojos Use the internal builder to register classes and packages that can be handled by the codecPojoCodecProvider.Builder PojoContext Polymorphic 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 hierarchyPolymorphicCodec<T> Provides functionality for handling polymorphic structures.PolymorphicReflectionCodec<T> PostLoad PreSave PrimitiveArrayCodec Codecs for primitive arraysReflectionCodec<T> Used by Polymorphia internally to tag codecs that use reflection to build a Codec for al propertiesReflectionHelper SetTypeCodec<C extends java.util.Set<V>,V> SimpleMapTypeCodec<V> SpecialFieldsMap A marker interface to mark entity classes that are maps with special fields Special fields can be declared by getter methods with aFieldMappingannotationSpecialFieldsMapCodec<T extends java.util.Map<java.lang.String,java.lang.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 byDocumentCodecTransient TypeCodec<T> All codecs used within polymorphia need to implement this interface.TypeCodecProvider The mongo driverCodecProviderwas not designed to acceptTypeas parameter ThisTypeCodecProvidercan be used to registerCodecs for any givenTypeRegister yourTypeCodecProviderwhen buildingPojoCodecProvider.Builder.register(TypeCodecProvider...)TypeCodecProvider helps you to handle a given fields within your Pojos as special way.TypeCodecRegistry TypeMismatchException TypesModel This class holds a list of all classes relevant for the pojo model.TypesModel.ClassHierarchyNode