T - flink集群客户端的类型public abstract class AbstractFlinkJobsClient<T extends org.apache.flink.client.program.ClusterClient<?>> extends Object implements FlinkJobsClient<T>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Queue<org.apache.flink.configuration.Configuration> |
configurations |
protected static String |
EMPTY_ARGUMENTS |
protected static Set<String> |
EXCLUDES |
protected static String |
FLINK_JOBS_DEFAULT_CLASS_KEY |
protected static String |
FLINK_JOBS_DEFAULT_JAR_KEY |
protected org.slf4j.Logger |
log |
protected Properties |
properties |
| 构造器和说明 |
|---|
AbstractFlinkJobsClient() |
AbstractFlinkJobsClient(Properties properties) |
AbstractFlinkJobsClient(String pathInClassPath) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static String |
getArguments(FlinkJobs flinkJobs)
获取flink程序运行参数
|
protected String |
getEntryPointClassName(FlinkJobs flinkJobs)
获取入口类名
|
protected File |
getJar(FlinkJobs flinkJobs)
获取运行的JAR。
|
protected String |
getJarPath(FlinkJobs flinkJobs)
获取运行的JAR文件位置
|
protected void |
init(Properties properties) |
protected void |
init(String pathInClassPath) |
protected static boolean |
isBlank(String string)
判断指定字符串是否为空(
null)、空字符串("")或者仅含空格的字符串 |
protected static Boolean |
isEmptyArguments(String arguments)
判断运行参数是否为空
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, getClusterClient, getClusterClient, getJobStatus, listJobs, requestJobResult, stop, submitprotected org.slf4j.Logger log
protected Properties properties
protected final Queue<org.apache.flink.configuration.Configuration> configurations
public AbstractFlinkJobsClient()
public AbstractFlinkJobsClient(String pathInClassPath)
public AbstractFlinkJobsClient(Properties properties)
protected void init(String pathInClassPath)
protected void init(Properties properties)
protected File getJar(FlinkJobs flinkJobs)
nullflinkJobs - flink-jobs配置对象protected String getEntryPointClassName(FlinkJobs flinkJobs)
flinkJobs - flink-jobs配置对象protected static String getArguments(FlinkJobs flinkJobs)
flinkJobs - flink-jobs配置对象protected static Boolean isEmptyArguments(String arguments)
arguments - 运行参数protected String getJarPath(FlinkJobs flinkJobs)
flinkJobs - flink-jobs配置对象protected static boolean isBlank(String string)
null)、空字符串("")或者仅含空格的字符串string - 指定字符串null)、空字符串("")或者仅含空格的字符串返回
true,否则返回falseCopyright © 2022 10MG. All rights reserved.