Package com.alibaba.druid.sql
Class SQLUtils.FormatOption
- java.lang.Object
-
- com.alibaba.druid.sql.SQLUtils.FormatOption
-
-
Constructor Summary
Constructors Constructor Description FormatOption()FormatOption(boolean ucase)FormatOption(boolean ucase, boolean prettyFormat)FormatOption(boolean ucase, boolean prettyFormat, boolean parameterized)FormatOption(VisitorFeature... features)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfig(VisitorFeature feature, boolean state)voidconfigTo(SQLASTOutputVisitor v)booleanisDesensitize()booleanisEnabled(VisitorFeature feature)booleanisParameterized()booleanisPrettyFormat()booleanisUppCase()voidsetDesensitize(boolean val)voidsetParameterized(boolean parameterized)voidsetPrettyFormat(boolean prettyFormat)voidsetUppCase(boolean val)
-
-
-
Constructor Detail
-
FormatOption
public FormatOption()
-
FormatOption
public FormatOption(VisitorFeature... features)
-
FormatOption
public FormatOption(boolean ucase)
-
FormatOption
public FormatOption(boolean ucase, boolean prettyFormat)
-
FormatOption
public FormatOption(boolean ucase, boolean prettyFormat, boolean parameterized)
-
-
Method Detail
-
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
public void config(VisitorFeature feature, boolean state)
-
configTo
public void configTo(SQLASTOutputVisitor v)
-
isEnabled
public final boolean isEnabled(VisitorFeature feature)
-
-