CavalliumDBEngine/src/main/java/it/cavallium/dbengine/database/disk/LLLocalEntryReactiveRocksIterator.java

30 lines
854 B
Java
Raw Normal View History

2021-03-14 03:13:19 +01:00
package it.cavallium.dbengine.database.disk;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
2021-08-28 22:42:51 +02:00
import it.cavallium.dbengine.database.LLEntry;
2021-03-14 03:13:19 +01:00
import it.cavallium.dbengine.database.LLRange;
import java.util.Map;
import java.util.Map.Entry;
import org.rocksdb.ColumnFamilyHandle;
import org.rocksdb.ReadOptions;
import org.rocksdb.RocksDB;
2021-08-28 22:42:51 +02:00
public class LLLocalEntryReactiveRocksIterator extends LLLocalReactiveRocksIterator<LLEntry> {
2021-03-14 03:13:19 +01:00
2021-03-14 23:06:46 +01:00
public LLLocalEntryReactiveRocksIterator(RocksDB db,
ByteBufAllocator alloc,
2021-03-14 03:13:19 +01:00
ColumnFamilyHandle cfh,
LLRange range,
2021-06-29 23:31:02 +02:00
boolean allowNettyDirect,
2021-05-28 16:04:59 +02:00
ReadOptions readOptions,
String debugName) {
2021-06-29 23:31:02 +02:00
super(db, alloc, cfh, range, allowNettyDirect, readOptions, true, debugName);
2021-03-14 03:13:19 +01:00
}
@Override
2021-08-28 22:42:51 +02:00
public LLEntry getEntry(ByteBuf key, ByteBuf value) {
return new LLEntry(key, value);
2021-03-14 03:13:19 +01:00
}
}