equal
deleted
inserted
replaced
23 import static info.globalcode.sql.dk.Functions.rpad; |
23 import static info.globalcode.sql.dk.Functions.rpad; |
24 import static info.globalcode.sql.dk.Functions.repeat; |
24 import static info.globalcode.sql.dk.Functions.repeat; |
25 import java.util.List; |
25 import java.util.List; |
26 |
26 |
27 /** |
27 /** |
|
28 * <p>Prints human-readable output – tables of result sets and text messages with update counts.</p> |
|
29 * |
|
30 * <p>Longer values might break the table – overflow the cells – see alternative tabular formatters |
|
31 * and the {@linkplain #PROPERTY_TRIM} property.</p> |
28 * |
32 * |
29 * @author Ing. František Kučera (frantovo.cz) |
33 * @author Ing. František Kučera (frantovo.cz) |
|
34 * @see TabularPrefetchingFormatter |
|
35 * @see TabularWrappingFormatter |
30 */ |
36 */ |
31 public class TabularFormatter extends AbstractFormatter { |
37 public class TabularFormatter extends AbstractFormatter { |
32 |
38 |
33 public static final String NAME = "tabular"; // bash-completion:formatter |
39 public static final String NAME = "tabular"; // bash-completion:formatter |
34 private static final String HEADER_TYPE_PREFIX = " ("; |
40 private static final String HEADER_TYPE_PREFIX = " ("; |