Package io.trino.cli
Class OutputHandler
- java.lang.Object
-
- io.trino.cli.OutputHandler
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class OutputHandler extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description OutputHandler(OutputPrinter printer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidprocessRows(StatementClient client)
-
-
-
Constructor Detail
-
OutputHandler
public OutputHandler(OutputPrinter printer)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
processRows
public void processRows(StatementClient client) throws IOException
- Throws:
IOException
-
-