Class DistributedStagePlan
- java.lang.Object
-
- org.apache.pinot.query.runtime.plan.DistributedStagePlan
-
public class DistributedStagePlan extends Object
DistributedStagePlanis the deserialized version of theWorker.StagePlan.It is also the extended version of the
ServerQueryRequest.
-
-
Constructor Summary
Constructors Constructor Description DistributedStagePlan(int stageId)DistributedStagePlan(int stageId, VirtualServerAddress server, PlanNode stageRoot, StageMetadata stageMetadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkerMetadatagetCurrentWorkerMetadata()VirtualServerAddressgetServer()intgetStageId()StageMetadatagetStageMetadata()PlanNodegetStageRoot()static booleanisLeafStage(DistributedStagePlan distributedStagePlan)voidsetServer(VirtualServerAddress serverAddress)voidsetStageMetadata(StageMetadata stageMetadata)voidsetStageRoot(PlanNode stageRoot)
-
-
-
Constructor Detail
-
DistributedStagePlan
public DistributedStagePlan(int stageId)
-
DistributedStagePlan
public DistributedStagePlan(int stageId, VirtualServerAddress server, PlanNode stageRoot, StageMetadata stageMetadata)
-
-
Method Detail
-
getStageId
public int getStageId()
-
getServer
public VirtualServerAddress getServer()
-
getStageRoot
public PlanNode getStageRoot()
-
getStageMetadata
public StageMetadata getStageMetadata()
-
setServer
public void setServer(VirtualServerAddress serverAddress)
-
setStageRoot
public void setStageRoot(PlanNode stageRoot)
-
setStageMetadata
public void setStageMetadata(StageMetadata stageMetadata)
-
getCurrentWorkerMetadata
public WorkerMetadata getCurrentWorkerMetadata()
-
isLeafStage
public static boolean isLeafStage(DistributedStagePlan distributedStagePlan)
-
-