mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-12 19:18:32 -05:00
Adds functionality to open execution plans from DB tables and DMVs. (#20377)
* Adds functionality to open execution plans from DB tables and DMVs. * Code review changes * Renames method to getProviderFromUri
This commit is contained in:
10
src/sql/azdata.proposed.d.ts
vendored
10
src/sql/azdata.proposed.d.ts
vendored
@@ -1464,6 +1464,11 @@ declare module 'azdata' {
|
||||
secondComparisonResult: ExecutionGraphComparisonResult;
|
||||
}
|
||||
|
||||
export interface IsExecutionPlanResult {
|
||||
isExecutionPlan: boolean;
|
||||
queryExecutionPlanFileExtension: string;
|
||||
}
|
||||
|
||||
export interface ExecutionPlanProvider extends DataProvider {
|
||||
// execution plan service methods
|
||||
|
||||
@@ -1478,6 +1483,11 @@ declare module 'azdata' {
|
||||
* @param secondPlanFile file that contains the second execution plan.
|
||||
*/
|
||||
compareExecutionPlanGraph(firstPlanFile: ExecutionPlanGraphInfo, secondPlanFile: ExecutionPlanGraphInfo): Thenable<ExecutionPlanComparisonResult>;
|
||||
/**
|
||||
* Determines if the provided value is an execution plan and returns the appropriate file extension.
|
||||
* @param value String that needs to be checked.
|
||||
*/
|
||||
isExecutionPlan(value: string): Thenable<IsExecutionPlanResult>;
|
||||
}
|
||||
|
||||
export interface TopOperationsDataItem {
|
||||
|
||||
Reference in New Issue
Block a user