Package io.trino.cli
Class VerticalRecordPrinter
- java.lang.Object
-
- io.trino.cli.VerticalRecordPrinter
-
- All Implemented Interfaces:
OutputPrinter
public class VerticalRecordPrinter extends Object implements OutputPrinter
-
-
Constructor Summary
Constructors Constructor Description VerticalRecordPrinter(List<String> fieldNames, Writer writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfinish()voidprintRows(List<List<?>> rows, boolean complete)
-
-
-
Method Detail
-
finish
public void finish() throws IOException- Specified by:
finishin interfaceOutputPrinter- Throws:
IOException
-
printRows
public void printRows(List<List<?>> rows, boolean complete) throws IOException
- Specified by:
printRowsin interfaceOutputPrinter- Throws:
IOException
-
-