public class SQLTraceRecord extends Object implements Serializable
| Constructor and Description |
|---|
SQLTraceRecord() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Gets the class name of the SQL query expressed as a String.
|
String |
getMethodName()
Gets the method name that executed the SQL query.
|
Object[] |
getParams()
Gets the parameters of the method that executed the SQL query.
|
String |
getPoolName()
Gets the pool name in which the SQL statement is executed.
|
long |
getThreadID()
Gets the thread ID from which the SQL statement originated.
|
String |
getThreadName()
Gets the thread Name from which the SQL statement originated.
|
long |
getTimeStamp()
Gets the time of execution of query.
|
void |
setClassName(String className)
Sets the class name of the SQL query expressed as a String.
|
void |
setMethodName(String methodName)
Sets the method name that executes the SQL query.
|
void |
setParams(Object[] params)
Sets the parameters of the method that executed the SQL query.
|
void |
setPoolName(String poolName)
Sets the poolName in which the SQL statement is executed.
|
void |
setThreadID(long threadID)
Sets the thread ID from which the SQL statement originated.
|
void |
setThreadName(String threadName)
Sets the thread Name from which the SQL statement originated.
|
void |
setTimeStamp(long timeStamp)
Sets the time of execution of query.
|
String |
toString() |
public String getClassName()
public void setClassName(String className)
className - class name of the SQL query.public String getMethodName()
public void setMethodName(String methodName)
methodName - that executes the SQL query.public String getPoolName()
public void setPoolName(String poolName)
poolName - in which the SQL statement is executed.public long getThreadID()
public void setThreadID(long threadID)
threadID - from which the SQL statement originated.public String getThreadName()
public void setThreadName(String threadName)
threadName - from which the SQL statement originated.public long getTimeStamp()
public void setTimeStamp(long timeStamp)
timeStamp - of execution of query.public Object[] getParams()
public void setParams(Object[] params)
params - method parameters that execute SQL query.Copyright © 2017–2020 Eclipse Foundation. All rights reserved.