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 java.util.Map;
|
|
|
|
import java.util.Map.Entry;
|
|
|
|
import org.rocksdb.ColumnFamilyHandle;
|
|
|
|
import org.rocksdb.ReadOptions;
|
|
|
|
import org.rocksdb.RocksDB;
|
|
|
|
|
2021-03-14 23:06:46 +01:00
|
|
|
public class LLLocalGroupedEntryReactiveRocksIterator extends
|
2021-04-30 19:15:04 +02:00
|
|
|
LLLocalGroupedReactiveRocksIterator<Entry<ByteBuf, ByteBuf>> {
|
2021-03-14 03:13:19 +01:00
|
|
|
|
2021-04-30 19:15:04 +02:00
|
|
|
public LLLocalGroupedEntryReactiveRocksIterator(RocksDB db, ByteBufAllocator alloc, ColumnFamilyHandle cfh,
|
2021-03-14 03:13:19 +01:00
|
|
|
int prefixLength,
|
|
|
|
LLRange range,
|
2021-03-14 13:08:03 +01:00
|
|
|
ReadOptions readOptions,
|
|
|
|
String debugName) {
|
2021-04-30 19:15:04 +02:00
|
|
|
super(db, alloc, cfh, prefixLength, range, readOptions, false, true);
|
2021-03-14 03:13:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-04-30 19:15:04 +02:00
|
|
|
public Entry<ByteBuf, ByteBuf> getEntry(ByteBuf key, ByteBuf value) {
|
2021-03-14 03:13:19 +01:00
|
|
|
return Map.entry(key, value);
|
|
|
|
}
|
|
|
|
}
|