Renaming query plan to execution plan (#18551)

This commit is contained in:
Aasim Khan
2022-02-25 00:49:34 -08:00
committed by GitHub
parent 8032f59d41
commit 02341088eb
165 changed files with 373 additions and 350 deletions

View File

@@ -5,9 +5,9 @@
import type * as azdata from 'azdata';
export class QueryPlan2State {
export class ExecutionPlanState {
graphs: azdata.ExecutionPlanGraph[] = [];
clearQueryPlan2State() {
clearExecutionPlanState() {
this.graphs = [];
}
}

View File

@@ -12,7 +12,7 @@ import { QueryPlanState } from 'sql/workbench/common/editor/query/queryPlanState
import { GridPanelState } from 'sql/workbench/common/editor/query/gridTableState';
import { QueryModelViewState } from 'sql/workbench/common/editor/query/modelViewState';
import { URI } from 'vs/base/common/uri';
import { QueryPlan2State } from 'sql/workbench/common/editor/query/queryPlan2State';
import { ExecutionPlanState } from 'sql/workbench/common/editor/query/executionPlanState';
export class ResultsViewState {
public readonly gridPanelState: GridPanelState = new GridPanelState();
@@ -20,7 +20,7 @@ export class ResultsViewState {
public readonly queryPlanState: QueryPlanState = new QueryPlanState();
public readonly topOperationsState = new TopOperationsState();
public readonly dynamicModelViewTabsState: Map<string, QueryModelViewState> = new Map<string, QueryModelViewState>();
public readonly queryPlan2State: QueryPlan2State = new QueryPlan2State();
public readonly executionPlanState: ExecutionPlanState = new ExecutionPlanState();
public activeTab?: string;
public readonly visibleTabs: Set<string> = new Set<string>();
@@ -29,7 +29,7 @@ export class ResultsViewState {
this.gridPanelState.dispose();
this.chartState.dispose();
this.queryPlanState.dispose();
this.queryPlan2State.clearQueryPlan2State();
this.executionPlanState.clearExecutionPlanState();
this.dynamicModelViewTabsState.forEach((state: QueryModelViewState, identifier: string) => {
state.dispose();
});