Class QueryRunner

    • Constructor Detail

      • QueryRunner

        public QueryRunner()
    • Method Detail

      • init

        public void init​(org.apache.pinot.spi.env.PinotConfiguration config,
                         InstanceDataManager instanceDataManager,
                         org.apache.helix.HelixManager helixManager,
                         ServerMetrics serverMetrics)
        Initializes the query executor.

        Should be called only once and before calling any other method.

      • start

        public void start()
      • shutDown

        public void shutDown()
      • processQuery

        public void processQuery​(DistributedStagePlan distributedStagePlan,
                                 Map<String,​String> requestMetadata)
        Execute a DistributedStagePlan.

        This execution entry point should be asynchronously called by the request handler and caller should not wait for results/exceptions.

      • cancel

        public void cancel​(long requestId)