@FunctionalInterface public interface PreparsedDocumentProvider
Modifier and Type | Method and Description |
---|---|
PreparsedDocumentEntry |
get(String query,
Function<String,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 the query
|
PreparsedDocumentEntry get(String query, Function<String,PreparsedDocumentEntry> computeFunction)
query
- The graphql querycomputeFunction
- If the query has not be pre-parsed, this function can be called to parse itPreparsedDocumentEntry
Copyright © 2019. All rights reserved.