public static class SqlPlanInsights.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlPlanInsights |
build() |
SqlPlanInsights.Builder |
category(String category)
SQL Insight category.
|
SqlPlanInsights.Builder |
copy(SqlPlanInsights model) |
SqlPlanInsights.Builder |
text(String text)
SQL Plan Insight text.
|
SqlPlanInsights.Builder |
value(Long value)
SQL execution plan hash value for a given insight.
|
public SqlPlanInsights.Builder text(String text)
SQL Plan Insight text. For example Number of Plans Used
, Most Executed
Plan
, Best Performing Plan
, Worst Performing Plan
, Plan With Most
IO
, Plan with Most CPU
text
- the value to setpublic SqlPlanInsights.Builder value(Long value)
SQL execution plan hash value for a given insight. For example Most Executed Plan
insight will have value as “3975467901”
value
- the value to setpublic SqlPlanInsights.Builder category(String category)
SQL Insight category. For example PLANS_USED, MOST_EXECUTED, BEST_PERFORMER, WORST_PERFORMER, MOST_CPU or MOST_IO.
category
- the value to setpublic SqlPlanInsights build()
public SqlPlanInsights.Builder copy(SqlPlanInsights model)
Copyright © 2016–2024. All rights reserved.