int writeToRecord(int recordId,
                    @NotNull ByteBufferWriter writer,
                    int expectedRecordSizeHint,
                    boolean leaveRedirectOnRecordRelocation) throws IOException;
int writeToRecord(int recordId,
                    @NotNull ByteBufferWriter writer,
                    int expectedRecordSizeHint,
                    boolean leaveRedirectOnRecordRelocation)