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