Class CliUtils
java.lang.Object
org.apache.flink.table.client.cli.CliUtils
Utilities for CLI formatting.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancreateFile(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 booleanisApplicationMode(org.apache.flink.configuration.ReadableConfig config) static voidnormalizeColumn(org.jline.utils.AttributedStringBuilder sb, String col, int maxWidth) static voidrepeatChar(org.jline.utils.AttributedStringBuilder sb, char c, int count) static String[]typesToString(org.apache.flink.table.types.DataType[] types)
-
Field Details
-
TIME_FORMATTER
-
-
Method Details
-
repeatChar
public static void repeatChar(org.jline.utils.AttributedStringBuilder sb, char c, int count) -
normalizeColumn
public static void normalizeColumn(org.jline.utils.AttributedStringBuilder sb, String col, int maxWidth) -
formatTwoLineHelpOptions
-
typesToString
-
createFile
Create the file as well as the parent directory. -
isApplicationMode
public static boolean isApplicationMode(org.apache.flink.configuration.ReadableConfig config)
-