private static class DatabaseStatistics.Location
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
className
Name of application class (sans package root name) containing query
|
(package private) int |
lineNumber
Line number at which query was constructed
|
(package private) java.lang.String |
methodName
Name of application-level method in which query was executed
|
(package private) java.lang.String |
sourceFile
Unqualified application source code file name containing query
|
Constructor and Description |
---|
Location(java.lang.String sourceFile,
int lineNumber,
java.lang.String className,
java.lang.String methodName)
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.
|
int |
hashCode()
Return the hash code computed for this object instance.
|
final java.lang.String sourceFile
final int lineNumber
final java.lang.String className
final java.lang.String methodName
Location(java.lang.String sourceFile, int lineNumber, java.lang.String className, java.lang.String methodName)
sourceFile
- Unqualified application source code file name containing query.lineNumber
- Line number at which query was constructed.className
- Name of application class (sans package root name) containing query.methodName
- Name of application-level method in which query was executedpublic 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
.