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