public interface SqlBuilderSettings
A context for SQL builder settings.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanReturns whether the blank lines should be removed.default booleanshouldRemoveBlockComment(String comment) Returns whether the block comment should be removed.default booleanshouldRemoveLineComment(String comment) Returns whether the line comment should be removed.default booleanDetermines whether padding is required for elements in an "IN" list in SQL queries.
-
Method Details
-
shouldRemoveBlockComment
Returns whether the block comment should be removed. The beginning of thecommentparameter string must always start with "/*".- Parameters:
comment- the block comment, never null- Returns:
- true if the block comment should be removed
-
shouldRemoveLineComment
Returns whether the line comment should be removed. The beginning of thecommentparameter string must always start with "--".- Parameters:
comment- the line comment, never null- Returns:
- true if the line comment should be removed
-
shouldRemoveBlankLines
default boolean shouldRemoveBlankLines()Returns whether the blank lines should be removed.- Returns:
- true if the blank lines should be removed
-
shouldRequireInListPadding
default boolean shouldRequireInListPadding()Determines whether padding is required for elements in an "IN" list in SQL queries.- Returns:
- true if padding is required for elements in an "IN" list, false otherwise
-