private static int writeString(@NotNull String value,
                                 @NotNull AppendOnlyLog valuesLog) throws IOException {
    byte[] valueBytes = value.getBytes(UTF_8);
    long appendedId = valuesLog.append(valueBytes);
    return convertLogIdToValueId(appendedId);
  }
private static int writeString(@NotNull String value,
                                 @NotNull AppendOnlyLog valuesLog)