Package com.aerospike.mapper.tools
Class TypeMapper
java.lang.Object
com.aerospike.mapper.tools.TypeMapper
- Direct Known Subclasses:
ArrayMapper,BooleanMapper,ByteMapper,CharacterMapper,DateMapper,DefaultMapper,DoubleMapper,EnumMapper,FloatMapper,GenericTypeMapper,InstantMapper,IntMapper,ListMapper,LongMapper,MapMapper,ObjectMapper,ShortMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ObjectfromAerospikeFormat(Object value) abstract ObjecttoAerospikeFormat(Object value) toAerospikeFormat(Object value, boolean isUnknownType, boolean isSubclassOfKnownType) Some types need to know if they're mapped to the correct class.
-
Constructor Details
-
TypeMapper
public TypeMapper()
-
-
Method Details
-
toAerospikeFormat
-
fromAerospikeFormat
-
toAerospikeFormat
Some types need to know if they're mapped to the correct class. If they do, they can override this method to glean that information
-