Class CachingQueryRunner<T>

  • All Implemented Interfaces:
    org.apache.druid.query.QueryRunner<T>

    public class CachingQueryRunner<T>
    extends Object
    implements org.apache.druid.query.QueryRunner<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      CachingQueryRunner​(String cacheId, Optional<byte[]> cacheKeyPrefix, org.apache.druid.query.SegmentDescriptor segmentDescriptor, org.joda.time.Interval actualDataInterval, com.fasterxml.jackson.databind.ObjectMapper mapper, Cache cache, org.apache.druid.query.QueryToolChest toolchest, org.apache.druid.query.QueryRunner<T> base, CachePopulator cachePopulator, CacheConfig cacheConfig)  
    • Constructor Detail

      • CachingQueryRunner

        public CachingQueryRunner​(String cacheId,
                                  Optional<byte[]> cacheKeyPrefix,
                                  org.apache.druid.query.SegmentDescriptor segmentDescriptor,
                                  org.joda.time.Interval actualDataInterval,
                                  com.fasterxml.jackson.databind.ObjectMapper mapper,
                                  Cache cache,
                                  org.apache.druid.query.QueryToolChest toolchest,
                                  org.apache.druid.query.QueryRunner<T> base,
                                  CachePopulator cachePopulator,
                                  CacheConfig cacheConfig)
    • Method Detail

      • run

        public org.apache.druid.java.util.common.guava.Sequence<T> run​(org.apache.druid.query.QueryPlus<T> queryPlus,
                                                                       org.apache.druid.query.context.ResponseContext responseContext)
        Specified by:
        run in interface org.apache.druid.query.QueryRunner<T>