Class AbstractQueryCompilationCache

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Map<java.lang.String,​QueryCompilation> cache  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Method to clear the cache.
      void close()
      Method to close the cache when no longer needed.
      boolean contains​(java.lang.String queryKey)
      Accessor for whether the specified query is in the cache
      void evict​(java.lang.String queryKey)
      Evict the query from the compilation cache.
      QueryCompilation get​(java.lang.String queryKey)
      Accessor for a (generic) compilation from the cache.
      boolean isEmpty()
      Accessor for whether the cache is empty.
      QueryCompilation put​(java.lang.String queryKey, QueryCompilation compilation)
      Method to put an object in the cache.
      int size()
      Accessor for the total number of compilations in the query cache.
      • Methods inherited from class java.lang.Object

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

      • AbstractQueryCompilationCache

        public AbstractQueryCompilationCache()