Class Printer.StatementResultPrinter

java.lang.Object
org.apache.flink.table.client.cli.Printer.StatementResultPrinter
All Implemented Interfaces:
Closeable, AutoCloseable, Printer
Enclosing interface:
Printer

public static class Printer.StatementResultPrinter extends Object implements Printer
Printer prints the statement results.
  • Constructor Details

    • StatementResultPrinter

      public StatementResultPrinter(StatementResult result, org.apache.flink.configuration.ReadableConfig sessionConfig, long queryBeginTime)
  • Method Details

    • isQuitCommand

      public boolean isQuitCommand()
      Description copied from interface: Printer
      Flag to determine whether to quit the process.
      Specified by:
      isQuitCommand in interface Printer
    • print

      public void print(org.jline.terminal.Terminal terminal)
      Description copied from interface: Printer
      Print the results to the terminal.
      Specified by:
      print in interface Printer
    • close

      public void close()
      Description copied from interface: Printer
      Close the resource of the Printer.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface Printer