public class JobRunner extends Object
| Constructor and Description |
|---|
JobRunner(String... args)
JobRunner from arguments.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
runJob()
Runs a job on databricks.
|
public JobRunner(String... args) throws org.apache.commons.cli.ParseException
org.apache.commons.cli.ParseExceptionpublic static void main(String[] args) throws IOException, InterruptedException, DatabricksRestException, org.apache.commons.cli.ParseException
IOExceptionInterruptedExceptionDatabricksRestExceptionorg.apache.commons.cli.ParseExceptionpublic void runJob()
throws IOException,
DatabricksRestException,
InterruptedException
IOException - other errorsDatabricksRestException - any databricks server errors including if the job failed.InterruptedException - thread interruptionCopyright © 2023. All rights reserved.