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 boolean |
createFile(Path filePath)
Create the file as well as the parent directory.
|
static List<org.jline.utils.AttributedString> |
formatTwoLineHelpOptions(int width,
List<org.apache.flink.api.java.tuple.Tuple2<String,String>> options) |
static java.time.ZoneId |
getSessionTimeZone(org.apache.flink.configuration.ReadableConfig sessionConfig)
Get time zone from the the given session config.
|
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[] |
typesToString(org.apache.flink.table.types.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<org.apache.flink.api.java.tuple.Tuple2<String,String>> options)
public static String[] typesToString(org.apache.flink.table.types.DataType[] types)
public static boolean createFile(Path filePath)
public static java.time.ZoneId getSessionTimeZone(org.apache.flink.configuration.ReadableConfig sessionConfig)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.