public class SqlExecuteTrace extends Object implements Serializable
| 构造器和说明 |
|---|
SqlExecuteTrace(String id,
String type,
boolean isPrint) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addLog(String topic,
String content,
Object... paramsValue) |
void |
addSqlLog(String topic,
String sql,
Object... paramsValue) |
String |
getDialect() |
List<SqlExecuteLog> |
getExecuteLogs() |
long |
getExecuteTime() |
String |
getId() |
Long |
getStart() |
String |
getType() |
String |
getUid() |
boolean |
isError() |
boolean |
isOverTime() |
boolean |
isPrint() |
void |
setDialect(String dialect) |
void |
setError(String errorMsg) |
void |
setId(String id) |
void |
setOverTime(boolean overTime) |
void |
setType(String type) |
public boolean isPrint()
public Long getStart()
public long getExecuteTime()
public String getId()
public void setId(String id)
id - the id to setpublic String getType()
public void setType(String type)
type - the type to setpublic List<SqlExecuteLog> getExecuteLogs()
public void addSqlLog(String topic, String sql, Object... paramsValue)
topic - sql - paramsValue - public void addLog(String topic, String content, Object... paramsValue)
topic - content - paramsValue - public boolean isError()
public void setError(String errorMsg)
errorMsg - the error to setpublic String getUid()
public boolean isOverTime()
public void setOverTime(boolean overTime)
overTime - the overTime to setpublic String getDialect()
public void setDialect(String dialect)
Copyright © 2023. All rights reserved.