Class ServerPlanRequestUtils


  • public class ServerPlanRequestUtils
    extends Object
    • Method Detail

      • constructServerQueryRequests

        public static List<ServerPlanRequestContext> constructServerQueryRequests​(OpChainExecutionContext executionContext,
                                                                                  DistributedStagePlan distributedStagePlan,
                                                                                  org.apache.helix.store.zk.ZkHelixPropertyStore<org.apache.helix.zookeeper.datamodel.ZNRecord> helixPropertyStore)
        Entry point to construct a ServerPlanRequestContext for executing leaf-stage runner.
        Parameters:
        executionContext - execution context of the stage.
        distributedStagePlan - distributed stage plan of the stage.
        helixPropertyStore - helix property store used to fetch table config and schema for leaf-stage execution.
        Returns:
        a list of server plan request context to be run