Class QueryPlanSerDeUtils
- java.lang.Object
-
- org.apache.pinot.query.runtime.plan.serde.QueryPlanSerDeUtils
-
public class QueryPlanSerDeUtils extends Object
This utility class serialize/deserialize betweenWorker.StagePlanelements to Planner elements.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringaddressToProto(VirtualServerAddress serverAddress)static List<DistributedStagePlan>deserializeStagePlan(Worker.QueryRequest request)static VirtualServerAddressprotoToAddress(String virtualAddressStr)static Worker.StagePlanserialize(DispatchableSubPlan dispatchableSubPlan, int stageId, QueryServerInstance queryServerInstance, List<Integer> workerIds)
-
-
-
Method Detail
-
deserializeStagePlan
public static List<DistributedStagePlan> deserializeStagePlan(Worker.QueryRequest request)
-
serialize
public static Worker.StagePlan serialize(DispatchableSubPlan dispatchableSubPlan, int stageId, QueryServerInstance queryServerInstance, List<Integer> workerIds)
-
protoToAddress
public static VirtualServerAddress protoToAddress(String virtualAddressStr)
-
addressToProto
public static String addressToProto(VirtualServerAddress serverAddress)
-
-