public interface QueryPrerequisites
| Modifier and Type | Method and Description |
|---|---|
default void |
queryFinished(QueryId queryId)
Optional method for the implementations to implement if they want to be informed about the finishing
of queries (either successfully or unsuccessfully).
|
CompletableFuture<?> |
waitForPrerequisites(QueryId queryId,
QueryPrerequisitesContext context,
WarningCollector warningCollector)
Given the query context, implementations can perform actions or ensure that all conditions
are ready for the query to execute.
|
CompletableFuture<?> waitForPrerequisites(QueryId queryId, QueryPrerequisitesContext context, WarningCollector warningCollector)
CompletableFuture will indicate
when the query is ready to be queued for execution. If the returned future finishes successfully,
it will trigger the query to be queued and its failure will fail the query.default void queryFinished(QueryId queryId)
Copyright © 2012–2022. All rights reserved.