private static class DatabaseStatistics.Collector.Key
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hql
Dialect-specific HQL query string
|
private DatabaseStatistics.Location |
location
Query construction location information
|
Constructor and Description |
---|
Key(DatabaseStatistics.Location location,
java.lang.String hql)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Indicate whether this object instance is equivalent to the given instance, based on
the content of both.
|
(package private) java.lang.String |
getHql()
Get the dialect-specific HQL query string.
|
int |
hashCode()
Return the hash code computed for this object instance.
|
private final DatabaseStatistics.Location location
private final java.lang.String hql
Key(DatabaseStatistics.Location location, java.lang.String hql)
location
- Query construction location information.hql
- Dialect-specific HQL query string.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
true
if equivalent, else false
.java.lang.String getHql()