クラス FormatConfig.FormatConfigBuilder
java.lang.Object
com.github.vertical_blank.sqlformatter.core.FormatConfig.FormatConfigBuilder
- 含まれているクラス:
FormatConfig
FormatConfigBuilder
-
メソッドの概要
修飾子とタイプメソッド説明build()Returns an instance of FormatConfig created from the fields set on this builder.linesBetweenQueries(int linesBetweenQueries) maxColumnLength(int maxColumnLength) skipWhitespaceNearBlockParentheses(boolean skipWhitespaceNearBlockParentheses) uppercase(boolean uppercase)
-
メソッドの詳細
-
indent
- パラメータ:
indent- Characters used for indentation, default is " " (2 spaces)- 戻り値:
- This
-
maxColumnLength
- パラメータ:
maxColumnLength- Maximum length to treat inline block as one line- 戻り値:
- This
-
params
- パラメータ:
params- Collection of params for placeholder replacement- 戻り値:
- This
-
params
- パラメータ:
params- Collection of params for placeholder replacement- 戻り値:
- This
-
params
- パラメータ:
params- Collection of params for placeholder replacement- 戻り値:
- This
-
uppercase
- パラメータ:
uppercase- Converts keywords to uppercase- 戻り値:
- This
-
linesBetweenQueries
- パラメータ:
linesBetweenQueries- How many line breaks between queries- 戻り値:
- This
-
skipWhitespaceNearBlockParentheses
public FormatConfig.FormatConfigBuilder skipWhitespaceNearBlockParentheses(boolean skipWhitespaceNearBlockParentheses) - パラメータ:
skipWhitespaceNearBlockParentheses- skip adding whitespace before and after block Parentheses- 戻り値:
- This
-
build
Returns an instance of FormatConfig created from the fields set on this builder.- 戻り値:
- FormatConfig
-