public final class CliUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static java.time.format.DateTimeFormatter |
TIME_FORMATTER |
| 限定符和类型 | 方法和说明 |
|---|---|
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–2022 The Apache Software Foundation. All rights reserved.