Class SqlPrettyWriter.FrameImpl

java.lang.Object
org.apache.calcite.sql.pretty.SqlPrettyWriter.FrameImpl
All Implemented Interfaces:
SqlWriter.Frame
Enclosing class:
SqlPrettyWriter

protected class SqlPrettyWriter.FrameImpl extends Object implements SqlWriter.Frame
Implementation of SqlWriter.Frame.
  • Field Details

    • newlineBeforeSep

      public final boolean newlineBeforeSep
      Whether to print a newline before each separator.
    • newlineAfterSep

      public final boolean newlineAfterSep
      Whether to print a newline after each separator.
    • newlineBeforeClose

      protected final boolean newlineBeforeClose
    • newlineAfterClose

      protected final boolean newlineAfterClose
    • newlineAfterOpen

      protected final boolean newlineAfterOpen
  • Method Details

    • before

      protected void before()
    • after

      protected void after()
    • sep

      protected void sep(boolean printFirst, String sep)