package it.cavallium.dbengine.database.disk; import io.net5.buffer.api.Buffer; import io.net5.buffer.api.BufferAllocator; import io.net5.buffer.api.Send; import it.cavallium.dbengine.database.LLRange; import org.rocksdb.ColumnFamilyHandle; import org.rocksdb.ReadOptions; import org.rocksdb.RocksDB; public class LLLocalKeyReactiveRocksIterator extends LLLocalReactiveRocksIterator> { public LLLocalKeyReactiveRocksIterator(RocksDBColumn db, Send range, boolean allowNettyDirect, ReadOptions readOptions) { super(db, range, allowNettyDirect, readOptions, false); } @Override public Send getEntry(Send key, Send value) { if (value != null) { value.close(); } return key; } }