#1683 - Refactor MetaQueryPlan and MetaOrmQueryMetric - rename getQueryPlanHash() to getSqlHash()

This commit is contained in:
rob bygrave
2019-04-26 12:55:40 +12:00
parent 1bb2b1318e
commit b4105ab5d0
5 changed files with 42 additions and 10 deletions
@@ -30,7 +30,7 @@ class DQueryPlanOutput implements MetaQueryPlan {
}
@Override
public String getQueryPlanHash() {
public String getSqlHash() {
return sqlHash;
}
@@ -50,6 +50,11 @@ class DQueryPlanOutput implements MetaQueryPlan {
return label;
}
@Override
public ProfileLocation getProfileLocation() {
return profileLocation;
}
/**
* Return the sql of query.
*/
@@ -84,8 +89,7 @@ class DQueryPlanOutput implements MetaQueryPlan {
}
/**
* Return the total count of times bind capture has occurred. We don't want this to be
* massive as that implies a high overhead.
* Return the total count of times bind capture has occurred.
*/
@Override
public long getCaptureCount() {