mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1683 - Refactor MetaQueryPlan and MetaOrmQueryMetric - rename getQueryPlanHash() to getSqlHash()
This commit is contained in:
@@ -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