Class AutomaticPersistedQueriesProvider
-
- All Implemented Interfaces:
-
graphql.execution.preparsed.PreparsedDocumentProvider
public final class AutomaticPersistedQueriesProvider implements PreparsedDocumentProvider
-
-
Constructor Summary
Constructors Constructor Description AutomaticPersistedQueriesProvider(AutomaticPersistedQueriesCache cache)
-
Method Summary
Modifier and Type Method Description PreparsedDocumentEntry
getDocument(ExecutionInput executionInput, Function<ExecutionInput, PreparsedDocumentEntry> parseAndValidateFunction)
CompletableFuture<PreparsedDocumentEntry>
getDocumentAsync(ExecutionInput executionInput, Function<ExecutionInput, PreparsedDocumentEntry> parseAndValidateFunction)
-
-
Constructor Detail
-
AutomaticPersistedQueriesProvider
AutomaticPersistedQueriesProvider(AutomaticPersistedQueriesCache cache)
-
-
Method Detail
-
getDocument
@Deprecated(message = "deprecated in favor of async retrieval of Document", replaceWith = @ReplaceWith(imports = {}, expression = "this.getDocumentAsync(executionInput, parseAndValidateFunction).get()")) PreparsedDocumentEntry getDocument(ExecutionInput executionInput, Function<ExecutionInput, PreparsedDocumentEntry> parseAndValidateFunction)
-
getDocumentAsync
CompletableFuture<PreparsedDocumentEntry> getDocumentAsync(ExecutionInput executionInput, Function<ExecutionInput, PreparsedDocumentEntry> parseAndValidateFunction)
-
-
-
-