public final class RegexBasedSqlNormalizer extends Object implements SqlNormalizer
Usage is simple, you create normalizer with SQL statement and then you can ask the object for normalizedSql and type via respective getters.
Modifier and Type | Method and Description |
---|---|
String |
getNormalizedSql()
Returns the normalized SQL.
|
String |
getSql()
Returns the original SQL.
|
String |
getType()
Returns SQL type which is typically first word of the SQL (insert, select, etc).
|
String |
toString()
Returns human readable string describing this SQL normalizer.
|
public String getSql()
getSql
in interface SqlNormalizer
public String getNormalizedSql()
getNormalizedSql
in interface SqlNormalizer
public String getType()
getType
in interface SqlNormalizer
Copyright © 2019. All rights reserved.