Class ObjSerializationHelper
java.lang.Object
org.apache.polaris.persistence.nosql.api.obj.ObjSerializationHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic tools.jackson.databind.ObjectReadercontextualReader(@NonNull tools.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".
-
Method Details
-
contextualReader
public static tools.jackson.databind.ObjectReader contextualReader(@NonNull tools.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".
-