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