Package io.objectbox.converter
Class LongFlexMapConverter
- java.lang.Object
-
- io.objectbox.converter.FlexObjectConverter
-
- io.objectbox.converter.LongFlexMapConverter
-
- All Implemented Interfaces:
io.objectbox.converter.PropertyConverter<java.lang.Object,byte[]>
- Direct Known Subclasses:
LongLongMapConverter
public class LongFlexMapConverter extends FlexObjectConverter
Used to automatically convertMap<Long, V>.
-
-
Constructor Summary
Constructors Constructor Description LongFlexMapConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckMapKeyType(java.lang.Object rawKey)Checks Java map key is of the expected type, otherwise throws.-
Methods inherited from class io.objectbox.converter.FlexObjectConverter
convertToDatabaseValue, convertToEntityProperty, shouldRestoreAsLong
-
-
-
-
Method Detail
-
checkMapKeyType
protected void checkMapKeyType(java.lang.Object rawKey)
Description copied from class:FlexObjectConverterChecks Java map key is of the expected type, otherwise throws.- Overrides:
checkMapKeyTypein classFlexObjectConverter
-
-