public void delete(RowData joinKey, byte[] uniqueKeyBytes) throws IOException {
    final byte[] joinKeyBytes = serializeKey(joinKey);
    deleteSecondaryCache(joinKeyBytes, uniqueKeyBytes);
  }
Delete the secondary index in the cache.

@param joinKey the join key
@param uniqueKeyBytes the unique key bytes
@throws IOException if serialize the RowData variable failed.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/lookup/RocksDBSetSpilledState.java