Class QueryCache

java.lang.Object
org.opencastproject.graphql.execution.QueryCache
All Implemented Interfaces:
graphql.execution.preparsed.PreparsedDocumentProvider

public class QueryCache extends Object implements graphql.execution.preparsed.PreparsedDocumentProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    graphql.execution.preparsed.PreparsedDocumentEntry
    getDocument(graphql.ExecutionInput executionInput, Function<graphql.ExecutionInput,graphql.execution.preparsed.PreparsedDocumentEntry> parseAndValidateFunction)
     
    CompletableFuture<graphql.execution.preparsed.PreparsedDocumentEntry>
    getDocumentAsync(graphql.ExecutionInput executionInput, Function<graphql.ExecutionInput,graphql.execution.preparsed.PreparsedDocumentEntry> parseAndValidateFunction)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • QueryCache

      public QueryCache()
  • Method Details

    • getDocument

      public graphql.execution.preparsed.PreparsedDocumentEntry getDocument(graphql.ExecutionInput executionInput, Function<graphql.ExecutionInput,graphql.execution.preparsed.PreparsedDocumentEntry> parseAndValidateFunction)
      Specified by:
      getDocument in interface graphql.execution.preparsed.PreparsedDocumentProvider
    • getDocumentAsync

      public CompletableFuture<graphql.execution.preparsed.PreparsedDocumentEntry> getDocumentAsync(graphql.ExecutionInput executionInput, Function<graphql.ExecutionInput,graphql.execution.preparsed.PreparsedDocumentEntry> parseAndValidateFunction)
      Specified by:
      getDocumentAsync in interface graphql.execution.preparsed.PreparsedDocumentProvider