Package io.objectbox.converter
package io.objectbox.converter
For use with
@Convert: PropertyConverter
to convert custom Property types.
For more details look at the documentation of individual classes and docs.objectbox.io/advanced/custom-types.
-
ClassDescriptionConverts between
Objectproperties and byte arrays using FlexBuffers.AFlexObjectConverterthat usesIntegeras map keys.LikeIntegerFlexMapConverter, but always restores integer map values asLong.AFlexObjectConverterthat usesLongas map keys.LikeLongFlexMapConverter, but always restores integer map values asLong.Used as a converter if a property is annotated with@DefaultValue("").PropertyConverter<P,D> To use custom types in your entity, implement this to convert db values to entity values and back.LikeStringFlexMapConverter, but always restores integer map values asLong.Converts a String map entity property to a byte array database value using FlexBuffers.