mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
Rename hash to sqlHash to better reflect what it is (CRC32 checksum of the sql)
This commit is contained in:
1 parent
7ca72a39b1
commit
202d785710
12 files changed
+31
-31
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user