クラス FormatConfig.FormatConfigBuilder

java.lang.Object
com.github.vertical_blank.sqlformatter.core.FormatConfig.FormatConfigBuilder
含まれているクラス:
FormatConfig

public static class FormatConfig.FormatConfigBuilder extends Object
FormatConfigBuilder
  • メソッドの詳細

    • indent

      public FormatConfig.FormatConfigBuilder indent(String indent)
      パラメータ:
      indent - Characters used for indentation, default is " " (2 spaces)
      戻り値:
      This
    • maxColumnLength

      public FormatConfig.FormatConfigBuilder maxColumnLength(int maxColumnLength)
      パラメータ:
      maxColumnLength - Maximum length to treat inline block as one line
      戻り値:
      This
    • params

      public FormatConfig.FormatConfigBuilder params(Params params)
      パラメータ:
      params - Collection of params for placeholder replacement
      戻り値:
      This
    • params

      public FormatConfig.FormatConfigBuilder params(Map<String,?> params)
      パラメータ:
      params - Collection of params for placeholder replacement
      戻り値:
      This
    • params

      public FormatConfig.FormatConfigBuilder params(List<?> params)
      パラメータ:
      params - Collection of params for placeholder replacement
      戻り値:
      This
    • uppercase

      public FormatConfig.FormatConfigBuilder uppercase(boolean uppercase)
      パラメータ:
      uppercase - Converts keywords to uppercase
      戻り値:
      This
    • linesBetweenQueries

      public FormatConfig.FormatConfigBuilder linesBetweenQueries(int 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

      public FormatConfig build()
      Returns an instance of FormatConfig created from the fields set on this builder.
      戻り値:
      FormatConfig