Interface IndexValueSerializer<V>


public interface IndexValueSerializer<V>
  • Method Details

    • serializedSize

      int serializedSize(@Nullable V value)
    • serialize

      @Nonnull ByteBuffer serialize(@Nullable V value, @Nonnull ByteBuffer target)
      Serialize value into target, returns target.
    • deserialize

      @Nullable V deserialize(@Nonnull ByteBuffer buffer)
      Deserialize a value from buffer. Implementations must not assume that the given ByteBuffer only contains data for the value to deserialize, other data likely follows.
    • skip

      void skip(@Nonnull ByteBuffer buffer)
      Skips an element, only updating the buffer's Buffer.position().