@PolarisImmutable public interface PersistId
Represents the key of a serialized part of an Obj, where part() defines the 0-based offset of the serialized part.

This type is used internally when dealing with individual database rows/documents and for maintenance operations. This type is not part of any application/user facing API.

  • Method Details

    • id

      @Parameter(order=1) long id()
    • part

      @Parameter(order=2) int part()
    • check

      @Check default void check()
    • persistId

      static PersistId persistId(long id, int part)
    • persistIdPart0

      static PersistId persistIdPart0(Obj obj)
    • serializedSize

      static int serializedSize(PersistId persistId)
    • toBytes

      @NonAttribute default byte[] toBytes()
    • serializeAsBytes

      static byte[] serializeAsBytes(PersistId persistId)
    • fromBytes

      static PersistId fromBytes(byte[] bytes)