Class KeyWithChunkingSuffixSerializer

java.lang.Object
com.linkedin.venice.serialization.KeyWithChunkingSuffixSerializer

public class KeyWithChunkingSuffixSerializer extends Object
  • Field Details

  • Constructor Details

    • KeyWithChunkingSuffixSerializer

      public KeyWithChunkingSuffixSerializer()
  • Method Details

    • serializeChunkedKey

      public ByteBuffer serializeChunkedKey(byte[] key, ChunkedKeySuffix chunkedKeySuffix)
      Returns:
      an exactly-sized ByteBuffer containing the key appended by the suffix
    • serializeNonChunkedKeyAsByteBuffer

      public ByteBuffer serializeNonChunkedKeyAsByteBuffer(byte[] key)
      Returns:
      an exactly-sized ByteBuffer containing the key appended by the standard suffix for non-chunked keys
    • serializeNonChunkedKey

      public byte[] serializeNonChunkedKey(byte[] key)
    • serializeNonChunkedKey

      public ByteBuffer serializeNonChunkedKey(ByteBuffer key)