public class ExecutionPlanJSONGenerator extends Object implements ExecutionPlanUtil.ExecutionPlanJSONGenerator
Plan
.
We need this util here in the optimizer because it is the only module that has Optimizer
, OptimizedPlan
, and PlanJSONDumpGenerator
available. We use this
reflectively from the batch execution environments to generate the plan, which we cannot do
there. It is used from ExecutionPlanUtil
.
Constructor and Description |
---|
ExecutionPlanJSONGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
getExecutionPlan(Plan plan)
Returns the execution plan as a JSON string.
|
public String getExecutionPlan(Plan plan)
ExecutionPlanUtil.ExecutionPlanJSONGenerator
getExecutionPlan
in interface ExecutionPlanUtil.ExecutionPlanJSONGenerator
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.