Rename hash to sqlHash to better reflect what it is (CRC32 checksum of the sql)

This commit is contained in:
rbygrave
2021-08-06 12:06:43 +12:00
parent 7ca72a39b1
commit 202d785710
12 changed files with 31 additions and 31 deletions
@@ -21,8 +21,8 @@ public interface MetaQueryMetric extends MetaTimedMetric {
String getSql();
/**
* Return the hash of the plan.
* Return the hash of the sql.
*/
long getHash();
long getSqlHash();
}
@@ -6,7 +6,7 @@ package io.ebean.meta;
public class MetricData {
private String name;
private long hash;
private long sqlHash;
private String loc;
private String sql;
@@ -30,12 +30,12 @@ public class MetricData {
this.name = name;
}
public long getHash() {
return hash;
public long getSqlHash() {
return sqlHash;
}
public void setHash(long hash) {
this.hash = hash;
public void setSqlHash(long sqlHash) {
this.sqlHash = sqlHash;
}
public String getLoc() {