mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-10 00:44:15 +00:00
#1683 - Refactor MetaQueryPlan and MetaOrmQueryMetric - rename getQueryPlanHash() to getSqlHash()
This commit is contained in:
1 parent
1bb2b1318e
commit
b4105ab5d0
5 files changed
+42
-10
No files matched your search
@@ -238,7 +238,7 @@ public final class CQueryPlanStats {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getQueryPlanHash() {
|
||||
public String getSqlHash() {
|
||||
return queryPlan.getSqlHash();
|
||||
}
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user