2021-07-10 20:52:01 +02:00
|
|
|
package it.cavallium.dbengine.database.memory;
|
|
|
|
|
2021-08-29 23:18:03 +02:00
|
|
|
import io.netty.buffer.api.Buffer;
|
|
|
|
import io.netty.buffer.api.BufferAllocator;
|
2021-07-10 20:52:01 +02:00
|
|
|
import it.cavallium.dbengine.client.BadBlock;
|
|
|
|
import it.cavallium.dbengine.database.Delta;
|
2021-07-17 11:52:08 +02:00
|
|
|
import it.cavallium.dbengine.database.ExtraKeyOperationResult;
|
2021-07-10 20:52:01 +02:00
|
|
|
import it.cavallium.dbengine.database.LLDictionary;
|
|
|
|
import it.cavallium.dbengine.database.LLDictionaryResultType;
|
2021-08-28 22:42:51 +02:00
|
|
|
import it.cavallium.dbengine.database.LLEntry;
|
2021-07-10 20:52:01 +02:00
|
|
|
import it.cavallium.dbengine.database.LLRange;
|
|
|
|
import it.cavallium.dbengine.database.LLSnapshot;
|
|
|
|
import it.cavallium.dbengine.database.LLUtils;
|
|
|
|
import it.cavallium.dbengine.database.UpdateMode;
|
2021-08-28 22:42:51 +02:00
|
|
|
import it.cavallium.dbengine.database.disk.ReleasableSlice;
|
2021-08-22 21:23:22 +02:00
|
|
|
import it.cavallium.dbengine.database.serialization.BiSerializationFunction;
|
|
|
|
import it.cavallium.dbengine.database.serialization.SerializationException;
|
|
|
|
import it.cavallium.dbengine.database.serialization.SerializationFunction;
|
2021-07-10 20:52:01 +02:00
|
|
|
import it.unimi.dsi.fastutil.bytes.ByteList;
|
|
|
|
import java.io.IOException;
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Map.Entry;
|
2021-07-23 15:20:33 +02:00
|
|
|
import java.util.Optional;
|
2021-07-10 20:52:01 +02:00
|
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
|
|
import java.util.concurrent.ConcurrentSkipListMap;
|
2021-07-18 19:37:24 +02:00
|
|
|
import java.util.concurrent.atomic.AtomicReference;
|
2021-07-17 11:52:08 +02:00
|
|
|
import java.util.function.BiFunction;
|
2021-07-10 20:52:01 +02:00
|
|
|
import java.util.function.Function;
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
import reactor.core.publisher.Flux;
|
|
|
|
import reactor.core.publisher.Mono;
|
2021-07-17 11:52:08 +02:00
|
|
|
import reactor.util.function.Tuple2;
|
|
|
|
import reactor.util.function.Tuple3;
|
|
|
|
import reactor.util.function.Tuples;
|
2021-07-10 20:52:01 +02:00
|
|
|
|
|
|
|
public class LLMemoryDictionary implements LLDictionary {
|
|
|
|
|
|
|
|
private final String databaseName;
|
|
|
|
private final String columnName;
|
|
|
|
private final ByteBufAllocator allocator;
|
|
|
|
private final UpdateMode updateMode;
|
|
|
|
private final Getter<Long, ConcurrentSkipListMap<ByteList, ByteList>> snapshots;
|
|
|
|
private final ConcurrentSkipListMap<ByteList, ByteList> mainDb;
|
|
|
|
|
|
|
|
private interface Getter<T, U> {
|
|
|
|
U get(T argument);
|
|
|
|
}
|
|
|
|
|
|
|
|
public LLMemoryDictionary(ByteBufAllocator allocator,
|
|
|
|
String databaseName,
|
|
|
|
String columnName,
|
|
|
|
UpdateMode updateMode,
|
|
|
|
ConcurrentHashMap<Long, ConcurrentHashMap<String, ConcurrentSkipListMap<ByteList, ByteList>>> snapshots,
|
|
|
|
ConcurrentHashMap<String, ConcurrentSkipListMap<ByteList, ByteList>> mainDb) {
|
|
|
|
this.databaseName = databaseName;
|
|
|
|
this.columnName = columnName;
|
|
|
|
this.allocator = allocator;
|
|
|
|
this.updateMode = updateMode;
|
|
|
|
this.snapshots = (snapshotId) -> snapshots.get(snapshotId).get(columnName);
|
|
|
|
this.mainDb = mainDb.get(columnName);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getColumnName() {
|
|
|
|
return columnName;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ByteBufAllocator getAllocator() {
|
|
|
|
return allocator;
|
|
|
|
}
|
|
|
|
|
|
|
|
private long resolveSnapshot(LLSnapshot snapshot) {
|
|
|
|
if (snapshot == null) {
|
|
|
|
return Long.MIN_VALUE + 1L;
|
|
|
|
} else if (snapshot.getSequenceNumber() == Long.MIN_VALUE + 1L) {
|
|
|
|
throw new IllegalStateException();
|
|
|
|
} else {
|
|
|
|
return snapshot.getSequenceNumber();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-29 23:18:03 +02:00
|
|
|
private Mono<Buffer> transformResult(Mono<ByteList> result, LLDictionaryResultType resultType) {
|
2021-07-10 20:52:01 +02:00
|
|
|
if (resultType == LLDictionaryResultType.PREVIOUS_VALUE) {
|
|
|
|
// Don't retain the result because it has been removed from the skip list
|
|
|
|
return result.map(this::kk);
|
|
|
|
} else if (resultType == LLDictionaryResultType.PREVIOUS_VALUE_EXISTENCE) {
|
|
|
|
return result
|
|
|
|
.map(prev -> true)
|
|
|
|
.defaultIfEmpty(false)
|
|
|
|
.map(LLUtils::booleanToResponseByteBuffer);
|
|
|
|
} else {
|
|
|
|
return result.then(Mono.empty());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-29 23:18:03 +02:00
|
|
|
private ByteList k(Buffer buf) {
|
2021-07-11 00:37:32 +02:00
|
|
|
return new BinaryLexicographicList(LLUtils.toArray(buf));
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
2021-08-29 23:18:03 +02:00
|
|
|
private Buffer kk(ByteList bytesList) {
|
2021-07-10 20:52:01 +02:00
|
|
|
var buffer = getAllocator().buffer(bytesList.size());
|
|
|
|
buffer.writeBytes(bytesList.toByteArray());
|
|
|
|
return buffer;
|
|
|
|
}
|
|
|
|
|
|
|
|
private Map<ByteList, ByteList> mapSlice(LLSnapshot snapshot, LLRange range) {
|
|
|
|
if (range.isAll()) {
|
|
|
|
return snapshots.get(resolveSnapshot(snapshot));
|
|
|
|
} else if (range.isSingle()) {
|
|
|
|
var key = k(range.getSingle());
|
|
|
|
var value = snapshots
|
|
|
|
.get(resolveSnapshot(snapshot))
|
|
|
|
.get(key);
|
|
|
|
if (value != null) {
|
|
|
|
return Map.of(key, value);
|
|
|
|
} else {
|
|
|
|
return Map.of();
|
|
|
|
}
|
|
|
|
} else if (range.hasMin() && range.hasMax()) {
|
|
|
|
var min = k(range.getMin());
|
|
|
|
var max = k(range.getMax());
|
|
|
|
if (min.compareTo(max) > 0) {
|
|
|
|
return Map.of();
|
|
|
|
}
|
|
|
|
return snapshots
|
|
|
|
.get(resolveSnapshot(snapshot))
|
|
|
|
.subMap(min, true, max, false);
|
|
|
|
} else if (range.hasMin()) {
|
|
|
|
return snapshots
|
|
|
|
.get(resolveSnapshot(snapshot))
|
|
|
|
.tailMap(k(range.getMin()), true);
|
|
|
|
} else {
|
|
|
|
return snapshots
|
|
|
|
.get(resolveSnapshot(snapshot))
|
|
|
|
.headMap(k(range.getMax()), false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public Mono<Buffer> get(@Nullable LLSnapshot snapshot, Mono<Buffer> keyMono, boolean existsAlmostCertainly) {
|
2021-08-22 18:20:05 +02:00
|
|
|
return Mono.usingWhen(keyMono,
|
|
|
|
key -> Mono
|
|
|
|
.fromCallable(() -> snapshots.get(resolveSnapshot(snapshot)).get(k(key)))
|
|
|
|
.map(this::kk)
|
|
|
|
.onErrorMap(cause -> new IOException("Failed to read " + LLUtils.toStringSafe(key), cause)),
|
|
|
|
key -> Mono.fromRunnable(key::release)
|
|
|
|
);
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public Mono<Buffer> put(Mono<Buffer> keyMono, Mono<Buffer> valueMono, LLDictionaryResultType resultType) {
|
2021-08-22 18:20:05 +02:00
|
|
|
return Mono.usingWhen(keyMono,
|
|
|
|
key -> Mono.usingWhen(valueMono,
|
|
|
|
value -> Mono
|
|
|
|
.fromCallable(() -> mainDb.put(k(key), k(value)))
|
|
|
|
.transform(result -> this.transformResult(result, resultType))
|
|
|
|
.onErrorMap(cause -> new IOException("Failed to read " + LLUtils.toStringSafe(key), cause)),
|
|
|
|
value -> Mono.fromRunnable(value::release)
|
|
|
|
),
|
|
|
|
key -> Mono.fromRunnable(key::release)
|
|
|
|
);
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Mono<UpdateMode> getUpdateMode() {
|
|
|
|
return Mono.just(updateMode);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public Mono<Delta<Buffer>> updateAndGetDelta(Mono<Buffer> keyMono,
|
|
|
|
SerializationFunction<@Nullable Buffer, @Nullable Buffer> updater,
|
2021-07-10 20:52:01 +02:00
|
|
|
boolean existsAlmostCertainly) {
|
2021-08-22 18:20:05 +02:00
|
|
|
return Mono.usingWhen(keyMono,
|
|
|
|
key -> Mono.fromCallable(() -> {
|
2021-08-29 23:18:03 +02:00
|
|
|
AtomicReference<Buffer> oldRef = new AtomicReference<>(null);
|
2021-08-22 18:20:05 +02:00
|
|
|
var newValue = mainDb.compute(k(key), (_unused, old) -> {
|
|
|
|
if (old != null) {
|
|
|
|
oldRef.set(kk(old));
|
|
|
|
}
|
2021-08-29 23:18:03 +02:00
|
|
|
Buffer v = null;
|
2021-08-22 21:23:22 +02:00
|
|
|
try {
|
|
|
|
v = updater.apply(old != null ? kk(old) : null);
|
|
|
|
} catch (SerializationException e) {
|
|
|
|
throw new IllegalStateException(e);
|
|
|
|
}
|
2021-08-22 18:20:05 +02:00
|
|
|
try {
|
|
|
|
return k(v);
|
|
|
|
} finally {
|
|
|
|
if (v != null) {
|
|
|
|
v.release();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
return new Delta<>(oldRef.get(), kk(newValue));
|
|
|
|
}),
|
|
|
|
key -> Mono.fromRunnable(key::release)
|
|
|
|
);
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Mono<Void> clear() {
|
|
|
|
return Mono.fromRunnable(mainDb::clear);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public Mono<Buffer> remove(Mono<Buffer> keyMono, LLDictionaryResultType resultType) {
|
2021-08-22 18:20:05 +02:00
|
|
|
return Mono.usingWhen(keyMono,
|
|
|
|
key -> Mono
|
|
|
|
.fromCallable(() -> mainDb.remove(k(key)))
|
|
|
|
// Don't retain the result because it has been removed from the skip list
|
|
|
|
.mapNotNull(bytesList -> switch (resultType) {
|
|
|
|
case VOID -> null;
|
|
|
|
case PREVIOUS_VALUE_EXISTENCE -> LLUtils.booleanToResponseByteBuffer(true);
|
|
|
|
case PREVIOUS_VALUE -> kk(bytesList);
|
|
|
|
})
|
|
|
|
.switchIfEmpty(Mono.defer(() -> {
|
|
|
|
if (resultType == LLDictionaryResultType.PREVIOUS_VALUE_EXISTENCE) {
|
|
|
|
return Mono.fromCallable(() -> LLUtils.booleanToResponseByteBuffer(false));
|
|
|
|
} else {
|
|
|
|
return Mono.empty();
|
|
|
|
}
|
|
|
|
}))
|
|
|
|
.onErrorMap(cause -> new IOException("Failed to read " + LLUtils.toStringSafe(key), cause)),
|
|
|
|
key -> Mono.fromRunnable(key::release)
|
|
|
|
);
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public <K> Flux<Tuple3<K, Buffer, Optional<Buffer>>> getMulti(@Nullable LLSnapshot snapshot,
|
|
|
|
Flux<Tuple2<K, Buffer>> keys,
|
2021-07-10 20:52:01 +02:00
|
|
|
boolean existsAlmostCertainly) {
|
|
|
|
return keys
|
2021-07-18 19:37:24 +02:00
|
|
|
.flatMapSequential(key -> {
|
2021-07-10 20:52:01 +02:00
|
|
|
try {
|
2021-07-18 19:37:24 +02:00
|
|
|
ByteList v = snapshots.get(resolveSnapshot(snapshot)).get(k(key.getT2()));
|
2021-07-23 15:20:33 +02:00
|
|
|
if (v != null) {
|
|
|
|
return Flux.just(Tuples.of(key.getT1(), key.getT2().retain(), Optional.of(kk(v))));
|
2021-07-10 20:52:01 +02:00
|
|
|
} else {
|
2021-07-23 15:20:33 +02:00
|
|
|
return Flux.just(Tuples.of(key.getT1(), key.getT2().retain(), Optional.empty()));
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
} finally {
|
2021-07-17 11:52:08 +02:00
|
|
|
key.getT2().release();
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-28 22:42:51 +02:00
|
|
|
public Flux<LLEntry> putMulti(Flux<LLEntry> entries, boolean getOldValues) {
|
2021-07-10 20:52:01 +02:00
|
|
|
return entries
|
|
|
|
.handle((entry, sink) -> {
|
|
|
|
var key = entry.getKey();
|
|
|
|
var val = entry.getValue();
|
|
|
|
try {
|
|
|
|
var v = mainDb.put(k(key), k(val));
|
|
|
|
if (v == null || !getOldValues) {
|
|
|
|
sink.complete();
|
|
|
|
} else {
|
2021-08-28 22:42:51 +02:00
|
|
|
sink.next(new LLEntry(key.retain(), kk(v)));
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
} finally {
|
|
|
|
key.release();
|
|
|
|
val.release();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2021-07-17 11:52:08 +02:00
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public <X> Flux<ExtraKeyOperationResult<Buffer, X>> updateMulti(Flux<Tuple2<Buffer, X>> entries,
|
|
|
|
BiSerializationFunction<Buffer, X, Buffer> updateFunction) {
|
2021-07-17 11:52:08 +02:00
|
|
|
return Flux.error(new UnsupportedOperationException("Not implemented"));
|
|
|
|
}
|
|
|
|
|
2021-07-10 20:52:01 +02:00
|
|
|
@Override
|
2021-08-28 22:42:51 +02:00
|
|
|
public Flux<LLEntry> getRange(@Nullable LLSnapshot snapshot,
|
2021-08-22 18:20:05 +02:00
|
|
|
Mono<LLRange> rangeMono,
|
2021-07-10 20:52:01 +02:00
|
|
|
boolean existsAlmostCertainly) {
|
2021-08-22 18:20:05 +02:00
|
|
|
return Flux.usingWhen(rangeMono,
|
|
|
|
range -> {
|
|
|
|
if (range.isSingle()) {
|
|
|
|
return Mono.fromCallable(() -> {
|
|
|
|
var element = snapshots.get(resolveSnapshot(snapshot))
|
|
|
|
.get(k(range.getSingle()));
|
2021-08-28 22:42:51 +02:00
|
|
|
return new LLEntry(range.getSingle().retain(), kk(element));
|
2021-08-22 18:20:05 +02:00
|
|
|
}).flux();
|
|
|
|
} else {
|
|
|
|
return Mono
|
|
|
|
.fromCallable(() -> mapSlice(snapshot, range))
|
|
|
|
.flatMapMany(map -> Flux.fromIterable(map.entrySet()))
|
2021-08-28 22:42:51 +02:00
|
|
|
.map(entry -> new LLEntry(kk(entry.getKey()), kk(entry.getValue())));
|
2021-08-22 18:20:05 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
range -> Mono.fromRunnable(range::release)
|
|
|
|
);
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-28 22:42:51 +02:00
|
|
|
public Flux<List<LLEntry>> getRangeGrouped(@Nullable LLSnapshot snapshot,
|
2021-08-22 18:20:05 +02:00
|
|
|
Mono<LLRange> rangeMono,
|
2021-07-10 20:52:01 +02:00
|
|
|
int prefixLength,
|
|
|
|
boolean existsAlmostCertainly) {
|
|
|
|
return Flux.error(new UnsupportedOperationException("Not implemented"));
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public Flux<Buffer> getRangeKeys(@Nullable LLSnapshot snapshot, Mono<LLRange> rangeMono) {
|
2021-08-22 18:20:05 +02:00
|
|
|
return Flux.usingWhen(rangeMono,
|
|
|
|
range -> {
|
|
|
|
if (range.isSingle()) {
|
|
|
|
return Mono.fromCallable(() -> {
|
|
|
|
var contains = snapshots.get(resolveSnapshot(snapshot))
|
|
|
|
.containsKey(k(range.getSingle()));
|
|
|
|
return contains ? range.getSingle().retain() : null;
|
|
|
|
}).flux();
|
|
|
|
} else {
|
|
|
|
return Mono
|
|
|
|
.fromCallable(() -> mapSlice(snapshot, range))
|
|
|
|
.flatMapMany(map -> Flux.fromIterable(map.entrySet()))
|
|
|
|
.map(entry -> kk(entry.getKey()));
|
|
|
|
}
|
|
|
|
},
|
|
|
|
range -> Mono.fromRunnable(range::release)
|
|
|
|
);
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public Flux<List<Buffer>> getRangeKeysGrouped(@Nullable LLSnapshot snapshot,
|
2021-08-22 18:20:05 +02:00
|
|
|
Mono<LLRange> rangeMono,
|
|
|
|
int prefixLength) {
|
|
|
|
return getRangeKeys(snapshot, rangeMono)
|
2021-07-10 20:52:01 +02:00
|
|
|
.bufferUntilChanged(k -> k.slice(k.readerIndex(), prefixLength), LLUtils::equals);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public Flux<Buffer> getRangeKeyPrefixes(@Nullable LLSnapshot snapshot, Mono<LLRange> rangeMono, int prefixLength) {
|
2021-08-22 18:20:05 +02:00
|
|
|
return getRangeKeys(snapshot, rangeMono)
|
2021-08-28 22:42:51 +02:00
|
|
|
.distinctUntilChanged(k -> k.slice(k.readerIndex(), prefixLength), (a, b) -> {
|
|
|
|
if (LLUtils.equals(a, b)) {
|
|
|
|
b.release();
|
|
|
|
return true;
|
|
|
|
} else {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
})
|
|
|
|
.map(k -> k.slice(k.readerIndex(), prefixLength))
|
|
|
|
.transform(LLUtils::handleDiscard);
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-22 18:20:05 +02:00
|
|
|
public Flux<BadBlock> badBlocks(Mono<LLRange> rangeMono) {
|
2021-07-10 20:52:01 +02:00
|
|
|
return Flux.empty();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-28 22:42:51 +02:00
|
|
|
public Mono<Void> setRange(Mono<LLRange> rangeMono, Flux<LLEntry> entries) {
|
2021-07-10 20:52:01 +02:00
|
|
|
return Mono.error(new UnsupportedOperationException("Not implemented"));
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-22 18:20:05 +02:00
|
|
|
public Mono<Boolean> isRangeEmpty(@Nullable LLSnapshot snapshot, Mono<LLRange> rangeMono) {
|
2021-07-10 20:52:01 +02:00
|
|
|
return Mono.error(new UnsupportedOperationException("Not implemented"));
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-22 18:20:05 +02:00
|
|
|
public Mono<Long> sizeRange(@Nullable LLSnapshot snapshot, Mono<LLRange> rangeMono, boolean fast) {
|
|
|
|
return Mono.usingWhen(rangeMono,
|
|
|
|
range -> Mono.fromCallable(() -> (long) mapSlice(snapshot, range).size()),
|
|
|
|
range -> Mono.fromRunnable(range::release)
|
|
|
|
);
|
2021-07-10 20:52:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-28 22:42:51 +02:00
|
|
|
public Mono<LLEntry> getOne(@Nullable LLSnapshot snapshot, Mono<LLRange> rangeMono) {
|
2021-07-10 20:52:01 +02:00
|
|
|
return Mono.error(new UnsupportedOperationException("Not implemented"));
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-29 23:18:03 +02:00
|
|
|
public Mono<Buffer> getOneKey(@Nullable LLSnapshot snapshot, Mono<LLRange> rangeMono) {
|
2021-07-10 20:52:01 +02:00
|
|
|
return Mono.error(new UnsupportedOperationException("Not implemented"));
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-08-28 22:42:51 +02:00
|
|
|
public Mono<LLEntry> removeOne(Mono<LLRange> rangeMono) {
|
2021-07-10 20:52:01 +02:00
|
|
|
return Mono.error(new UnsupportedOperationException("Not implemented"));
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getDatabaseName() {
|
|
|
|
return databaseName;
|
|
|
|
}
|
|
|
|
}
|