2021-01-31 00:36:21 +01:00
|
|
|
package it.cavallium.dbengine.database.collections;
|
|
|
|
|
|
|
|
import it.cavallium.dbengine.client.CompositeSnapshot;
|
|
|
|
import it.cavallium.dbengine.database.LLDictionary;
|
|
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
import reactor.core.publisher.Flux;
|
|
|
|
import reactor.core.publisher.Mono;
|
|
|
|
|
|
|
|
public interface SubStageGetter<U, US extends DatabaseStage<U>> {
|
|
|
|
|
2021-02-01 11:00:27 +01:00
|
|
|
Mono<US> subStage(LLDictionary dictionary,
|
|
|
|
@Nullable CompositeSnapshot snapshot,
|
|
|
|
byte[] prefixKey,
|
|
|
|
Flux<byte[]> keyFlux);
|
2021-02-02 15:36:11 +01:00
|
|
|
|
|
|
|
boolean needsKeyFlux();
|
2021-01-31 00:36:21 +01:00
|
|
|
}
|