private boolean contain(ByteArrayWrapper byteArrayWrapper) {
    byte[] recordBytes = guavaCache.getIfPresent(byteArrayWrapper);
    if (recordBytes == null) {
      recordBytes = rocksDB.get(columnFamilyName, byteArrayWrapper.bytes);
    }
    return recordBytes != null;
  }
Deleting the record in the rocksDB and cache if it exists.

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