2021-03-14 03:13:19 +01:00
|
|
|
package it.cavallium.dbengine.database.disk;
|
|
|
|
|
2021-04-30 19:15:04 +02:00
|
|
|
import io.netty.buffer.ByteBuf;
|
|
|
|
import io.netty.buffer.ByteBufAllocator;
|
2021-03-14 03:13:19 +01:00
|
|
|
import it.cavallium.dbengine.database.LLRange;
|
|
|
|
import org.rocksdb.ColumnFamilyHandle;
|
|
|
|
import org.rocksdb.ReadOptions;
|
|
|
|
import org.rocksdb.RocksDB;
|
|
|
|
|
2021-04-30 19:15:04 +02:00
|
|
|
public class LLLocalKeyReactiveRocksIterator extends LLLocalReactiveRocksIterator<ByteBuf> {
|
2021-03-14 03:13:19 +01:00
|
|
|
|
2021-03-14 23:06:46 +01:00
|
|
|
public LLLocalKeyReactiveRocksIterator(RocksDB db,
|
2021-04-30 19:15:04 +02:00
|
|
|
ByteBufAllocator alloc,
|
2021-03-14 03:13:19 +01:00
|
|
|
ColumnFamilyHandle cfh,
|
|
|
|
LLRange range,
|
|
|
|
ReadOptions readOptions) {
|
2021-04-30 19:15:04 +02:00
|
|
|
super(db, alloc, cfh, range, readOptions, false);
|
2021-03-14 03:13:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-04-30 19:15:04 +02:00
|
|
|
public ByteBuf getEntry(ByteBuf key, ByteBuf value) {
|
2021-03-14 03:13:19 +01:00
|
|
|
return key;
|
|
|
|
}
|
|
|
|
}
|