@Service public class CaffeinePreparsedDocumentProvider extends Object implements graphql.execution.preparsed.PreparsedDocumentProvider
| 构造器和说明 |
|---|
CaffeinePreparsedDocumentProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
graphql.execution.preparsed.PreparsedDocumentEntry |
getDocument(graphql.ExecutionInput executionInput,
Function<graphql.ExecutionInput,graphql.execution.preparsed.PreparsedDocumentEntry> computeFunction)
This is called to get a "cached" pre-parsed query and if its not present, then the computeFunction
can be called to parse and validate the query
|
public graphql.execution.preparsed.PreparsedDocumentEntry getDocument(graphql.ExecutionInput executionInput,
Function<graphql.ExecutionInput,graphql.execution.preparsed.PreparsedDocumentEntry> computeFunction)
getDocument 在接口中 graphql.execution.preparsed.PreparsedDocumentProviderexecutionInput - The ExecutionInput containing the querycomputeFunction - If the query has not be pre-parsed, this function can be called to parse itPreparsedDocumentEntryCopyright © 2020. All rights reserved.