Class Printer.StatementResultPrinter
- java.lang.Object
-
- org.apache.flink.table.client.cli.Printer.StatementResultPrinter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.client.cli.Printer
Printer.ClearCommandPrinter, Printer.HelpCommandPrinter, Printer.InitializationCommandPrinter, Printer.QuitCommandPrinter, Printer.StatementResultPrinter
-
-
Constructor Summary
Constructors Constructor Description StatementResultPrinter(StatementResult result, org.apache.flink.configuration.ReadableConfig sessionConfig, long queryBeginTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Close the resource of thePrinter.booleanisQuitCommand()Flag to determine whether to quit the process.voidprint(org.jline.terminal.Terminal terminal)Print the results to the terminal.
-
-
-
Constructor Detail
-
StatementResultPrinter
public StatementResultPrinter(StatementResult result, org.apache.flink.configuration.ReadableConfig sessionConfig, long queryBeginTime)
-
-
Method Detail
-
isQuitCommand
public boolean isQuitCommand()
Description copied from interface:PrinterFlag to determine whether to quit the process.- Specified by:
isQuitCommandin interfacePrinter
-
print
public void print(org.jline.terminal.Terminal terminal)
Description copied from interface:PrinterPrint the results to the terminal.
-
-