Class ObjSerializationHelper
java.lang.Object
org.apache.polaris.persistence.nosql.api.obj.ObjSerializationHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectReadercontextualReader(com.fasterxml.jackson.databind.ObjectMapper mapper, ObjType objType, long id, int numParts, String objVersionToken, long objCreatedAtMicros) Returns anObjectReaderfor the given targetObjTypeusing the key "polaris.persistence.ObjType", with the givenlong idinjectable under the key "polaris.persistence.ObjId", version token using the key "polaris.persistence.ObjVersion",createdAtMicrostimestamp using the key "polaris.persistence.ObjCreatedAt",numPartsusing the key "polaris.persistence.ObjNumParts".
-
Method Details
-
contextualReader
public static com.fasterxml.jackson.databind.ObjectReader contextualReader(@Nonnull com.fasterxml.jackson.databind.ObjectMapper mapper, @Nonnull ObjType objType, long id, int numParts, String objVersionToken, long objCreatedAtMicros) Returns anObjectReaderfor the given targetObjTypeusing the key "polaris.persistence.ObjType", with the givenlong idinjectable under the key "polaris.persistence.ObjId", version token using the key "polaris.persistence.ObjVersion",createdAtMicrostimestamp using the key "polaris.persistence.ObjCreatedAt",numPartsusing the key "polaris.persistence.ObjNumParts".
-