Class ApolloPersistedQuerySupport

    • Constructor Detail

      • ApolloPersistedQuerySupport

        public ApolloPersistedQuerySupport​(PersistedQueryCache persistedQueryCache)
    • Method Detail

      • getPersistedQueryId

        protected java.util.Optional<java.lang.Object> getPersistedQueryId​(ExecutionInput executionInput)
        Description copied from class: PersistedQuerySupport
        This method is required for concrete types to work out the query id (often a hash) that should be used to look up the persisted query in the cache.
        Specified by:
        getPersistedQueryId in class PersistedQuerySupport
        Parameters:
        executionInput - the execution input
        Returns:
        an optional id of the persisted query