Class StatementFormatter

java.lang.Object
org.pgcodekeeper.core.database.base.formatter.StatementFormatter
Direct Known Subclasses:
ChStatementFormatter, PgStatementFormatter

public abstract class StatementFormatter extends Object
Abstract base class for SQL statement formatting. Handles core formatting logic including indentation, whitespace management, and operator spacing for SQL statements.
  • Method Details

    • getChanges

      public List<FormatItem> getChanges()
    • format

      public void format()
      Performs the formatting operation on the SQL statement. Processes tokens and applies formatting rules based on configuration.