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.
-
Interface Summary Interface Description PropertyConverter<P,D> To use custom types in your entity, implement this to convert db values to entity values and back. -
Class Summary Class Description FlexObjectConverter Converts betweenObject
properties and byte arrays using FlexBuffers.IntegerFlexMapConverter Used to automatically convertMap<Integer, V>
.IntegerLongMapConverter Used to automatically convertMap<Integer, Long>
.LongFlexMapConverter Used to automatically convertMap<Long, V>
.LongLongMapConverter Used to automatically convertMap<Long, Long>
.NullToEmptyStringConverter Used as a converter if a property is annotated with@DefaultValue("")
.StringFlexMapConverter Used to automatically convertMap<String, V>
.StringLongMapConverter Used to automatically convertMap<String, Long>
.StringMapConverter Converts a String map entity property to a byte array database value using FlexBuffers.