public interface SparkCommandBuilder extends InvokableBuilder<CommandResponse>
Modifier and Type | Method and Description |
---|---|
SparkCommandBuilder |
arguments(String arguments)
Specify the spark specific command line options which are passed on to spark-submit.
|
SparkCommandBuilder |
clusterLabel(String clusterLabel)
Specify cluster label corresponding to the cluster to be
used to run this command.
|
SparkCommandBuilder |
cmdLine(String cmdLine)
For power users, this function provides ability to provide the
spark-submit command line directly.
|
SparkCommandBuilder |
language(String language)
Specify the language of the program, Scala, SQL, Command, R, or Python.
|
SparkCommandBuilder |
name(String commandName)
Specify a name to the command.
|
SparkCommandBuilder |
program(String program)
Set the Scala, Python, SQL or R code snippet for the SparkCommand.
|
SparkCommandBuilder |
sql(String sql)
Specify SQL query to be executed by command.
|
SparkCommandBuilder |
tags(String[] queryTags)
Specify a list of tags for the command so that it is easily identifiable and searchable
from the commands list in the Commands History.
|
SparkCommandBuilder |
userProgramArguments(String userProgramArguments)
Specify the arguments that the user program takes in.
|
getArgumentsInvocation, invoke, raw, withCallback
SparkCommandBuilder program(String program)
sql(String)
method.SparkCommandBuilder cmdLine(String cmdLine)
SparkCommandBuilder language(String language)
program(String)
is used.SparkCommandBuilder sql(String sql)
SparkCommandBuilder clusterLabel(String clusterLabel)
SparkCommandBuilder name(String commandName)
SparkCommandBuilder userProgramArguments(String userProgramArguments)
SparkCommandBuilder arguments(String arguments)
SparkCommandBuilder tags(String[] queryTags)
Copyright © 2020. All rights reserved.