Class ObjSerializationHelper

java.lang.Object
org.apache.polaris.persistence.nosql.api.obj.ObjSerializationHelper

public final class ObjSerializationHelper extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.fasterxml.jackson.databind.ObjectReader
    contextualReader(com.fasterxml.jackson.databind.ObjectMapper mapper, ObjType objType, long id, int numParts, String objVersionToken, long objCreatedAtMicros)
    Returns an ObjectReader for the given target ObjType using the key "polaris.persistence.ObjType", with the given long id injectable under the key "polaris.persistence.ObjId", version token using the key "polaris.persistence.ObjVersion", createdAtMicros timestamp using the key "polaris.persistence.ObjCreatedAt", numParts using the key "polaris.persistence.ObjNumParts".

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 an ObjectReader for the given target ObjType using the key "polaris.persistence.ObjType", with the given long id injectable under the key "polaris.persistence.ObjId", version token using the key "polaris.persistence.ObjVersion", createdAtMicros timestamp using the key "polaris.persistence.ObjCreatedAt", numParts using the key "polaris.persistence.ObjNumParts".