public class SQLStatementTrace extends CodeBlockTrace
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
context |
ancestorTypes, beginTimeMillis, children, childrenElapsedTimeMillis, dateFormat, endTimeMillis, id, parent, runtimeConstraints
Constructor and Description |
---|
SQLStatementTrace(String sql) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getContext() |
String |
getDescription() |
CodeBlockType |
getType() |
static String |
stripAfterWhere(String sql)
To group sensibly and to avoid recording sensitive data, Don't record the where clause
(only used for dynamic SQL since parameters aren't included in prepared statements)
|
addChild, addRuntimeConstraint, begin, checkRuntimeConstraints, end, equals, getAncestorTypes, getBeginTimeMillis, getChildren, getChildrenElapsedTimeMillis, getDescendants, getElapsedTimeMillis, getEndTimeMillis, getId, getLevel, getParent, getSelfTimeMillis, getThreadProfile, hashCode, isDescendantOfType, isRunning, printContext, printContext, printContext, printIndent, printMap, printMap, removeChild, setAncestorTypes, setBeginTimeMillis, setChildren, setEndTimeMillis, setId, setParent, setThreadProfile, toPlainList, toString
public SQLStatementTrace(String sql)
public CodeBlockType getType()
getType
in class CodeBlockTrace
public String getDescription()
getDescription
in class CodeBlockTrace
public Map<String,Object> getContext()
getContext
in class CodeBlockTrace
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.