public void put(RowData key, RowData value) throws IOException {
    byte[] keyBytes = serializeKey(key);
    put(keyBytes, value);
  }
Putting the serialized RowData key and value into the rocksDB and cache.

@throws IOException if serialize the RowData variable key and value failed.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/lookup/RocksDBRecordState.java