public final class CliUtils extends Object
Modifier and Type | Field and Description |
---|---|
static java.time.format.DateTimeFormatter |
TIME_FORMATTER |
Modifier and Type | Method and Description |
---|---|
static List<org.jline.utils.AttributedString> |
formatTwoLineHelpOptions(int width,
List<Tuple2<String,String>> options) |
static void |
normalizeColumn(org.jline.utils.AttributedStringBuilder sb,
String col,
int maxWidth) |
static void |
repeatChar(org.jline.utils.AttributedStringBuilder sb,
char c,
int count) |
static String[] |
rowToString(Row row) |
static String[] |
typesToString(DataType[] types) |
public static void repeatChar(org.jline.utils.AttributedStringBuilder sb, char c, int count)
public static void normalizeColumn(org.jline.utils.AttributedStringBuilder sb, String col, int maxWidth)
public static List<org.jline.utils.AttributedString> formatTwoLineHelpOptions(int width, List<Tuple2<String,String>> options)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.