P - the parameter typepublic interface Sql<P extends SqlParameter>
The implementation class is not required to be thread safe.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormattedSql()
Returns the formatted SQL string.
|
SqlKind |
getKind()
Returns the kind of the SQL.
|
java.util.List<P> |
getParameters()
Returns the parameter list.
|
java.lang.String |
getRawSql()
Returns the raw SQL string.
|
java.lang.String |
getSqlFilePath()
Returns the file path that contains this SQL.
|
SqlLogType |
getSqlLogType()
Returns the type of the SQL log.
|
SqlKind getKind()
java.lang.String getRawSql()
The bind variables are displayed as ?.
java.lang.String getFormattedSql()
The bind variables are replaced with the string representations of the parameters.
java.lang.String getSqlFilePath()
null if this SQL is auto-generatedjava.util.List<P> getParameters()
SqlLogType getSqlLogType()