Package com.alibaba.druid.sql
Class SQLUtils.FormatOption
java.lang.Object
com.alibaba.druid.sql.SQLUtils.FormatOption
- Enclosing class:
- SQLUtils
-
Constructor Summary
ConstructorsConstructorDescriptionFormatOption(boolean ucase) FormatOption(boolean ucase, boolean prettyFormat) FormatOption(boolean ucase, boolean prettyFormat, boolean parameterized) FormatOption(VisitorFeature... features) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfig(VisitorFeature feature, boolean state) booleanfinal booleanisEnabled(VisitorFeature feature) booleanbooleanbooleanvoidsetDesensitize(boolean val) voidsetParameterized(boolean parameterized) voidsetPrettyFormat(boolean prettyFormat) voidsetUppCase(boolean val)
-
Constructor Details
-
FormatOption
public FormatOption() -
FormatOption
-
FormatOption
public FormatOption(boolean ucase) -
FormatOption
public FormatOption(boolean ucase, boolean prettyFormat) -
FormatOption
public FormatOption(boolean ucase, boolean prettyFormat, boolean parameterized)
-
-
Method Details
-
isDesensitize
public boolean isDesensitize() -
setDesensitize
public void setDesensitize(boolean val) -
isUppCase
public boolean isUppCase() -
setUppCase
public void setUppCase(boolean val) -
isPrettyFormat
public boolean isPrettyFormat() -
setPrettyFormat
public void setPrettyFormat(boolean prettyFormat) -
isParameterized
public boolean isParameterized() -
setParameterized
public void setParameterized(boolean parameterized) -
config
-
isEnabled
-