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

23 lines
627 B
Java
Raw Normal View History

2021-03-14 03:13:19 +01:00
package it.cavallium.dbengine.database.disk;
import it.cavallium.dbengine.buffers.Buf;
2021-03-14 03:13:19 +01:00
import it.cavallium.dbengine.database.LLRange;
2022-07-19 23:45:39 +02:00
import java.util.function.Supplier;
2021-03-14 03:13:19 +01:00
import org.rocksdb.ReadOptions;
public class LLLocalKeyReactiveRocksIterator extends LLLocalReactiveRocksIterator<Buf> {
2021-03-14 03:13:19 +01:00
2021-10-20 01:51:34 +02:00
public LLLocalKeyReactiveRocksIterator(RocksDBColumn db,
LLRange rangeMono,
2022-07-19 23:45:39 +02:00
Supplier<ReadOptions> readOptions,
2022-03-24 23:56:23 +01:00
boolean reverse,
boolean smallRange) {
super(db, rangeMono, readOptions, false, reverse, smallRange);
2021-03-14 03:13:19 +01:00
}
@Override
public Buf getEntry(Buf key, Buf value) {
return key != null ? key.copy() : null;
2021-03-14 03:13:19 +01:00
}
}