Package org.apache.flink.test.util
Class SQLJobSubmission.SQLJobSubmissionBuilder
- java.lang.Object
-
- org.apache.flink.test.util.SQLJobSubmission.SQLJobSubmissionBuilder
-
- Enclosing class:
- SQLJobSubmission
public static class SQLJobSubmission.SQLJobSubmissionBuilder extends Object
Builder for theSQLJobSubmission
.
-
-
Constructor Summary
Constructors Constructor Description SQLJobSubmissionBuilder(List<String> sqlLines)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLJobSubmission.SQLJobSubmissionBuilder
addJar(Path jarFile)
SQLJobSubmission.SQLJobSubmissionBuilder
addJars(Path... jarFiles)
SQLJobSubmission.SQLJobSubmissionBuilder
addJars(List<Path> jarFiles)
SQLJobSubmission
build()
SQLJobSubmission.SQLJobSubmissionBuilder
setClientMode(SQLJobClientMode clientMode)
SQLJobSubmission.SQLJobSubmissionBuilder
setEnvProcessor(Consumer<Map<String,String>> envProcessor)
-
-
-
Method Detail
-
setClientMode
public SQLJobSubmission.SQLJobSubmissionBuilder setClientMode(SQLJobClientMode clientMode)
-
addJar
public SQLJobSubmission.SQLJobSubmissionBuilder addJar(Path jarFile)
-
addJars
public SQLJobSubmission.SQLJobSubmissionBuilder addJars(Path... jarFiles)
-
addJars
public SQLJobSubmission.SQLJobSubmissionBuilder addJars(List<Path> jarFiles)
-
setEnvProcessor
public SQLJobSubmission.SQLJobSubmissionBuilder setEnvProcessor(Consumer<Map<String,String>> envProcessor)
-
build
public SQLJobSubmission build()
-
-