public class HiveStepConfig extends StepConfig
A hive step can be configured with name, actionOnFailure, script, input, output and arguments. The essential options are script and actionOnFailure, and the optional ones are name, input, output and arguments.
| Constructor and Description |
|---|
HiveStepConfig() |
| Modifier and Type | Method and Description |
|---|---|
HiveStepConfig |
withActionOnFailure(String actionOnFailure)
Configure the action on failure for the hive step.
|
HiveStepConfig |
withAdditionalFile(String remote,
String local)
Configure the additional file for the step.
|
HiveStepConfig |
withArguments(String arguments)
Configure the arguments of the hive step.
|
HiveStepConfig |
withInput(String input)
Configure the input path of the hive step.
|
HiveStepConfig |
withName(String name)
Configure the name of the hive step.
|
HiveStepConfig |
withOutput(String output)
Configure the output path of the hive step.
|
HiveStepConfig |
withScript(String script)
Configure the script path of the hive step.
|
addAdditionalFile, addProperty, getActionOnFailure, getAdditionalFiles, getName, getProperties, getType, setActionOnFailure, setAdditionalFiles, setName, setProperties, setType, withAdditionalFiles, withProperties, withTypepublic HiveStepConfig withInput(String input)
input - The input path of the hive step.public HiveStepConfig withScript(String script)
script - The script path of the hive step.public HiveStepConfig withOutput(String output)
output - The output path of the hive step.public HiveStepConfig withArguments(String arguments)
arguments - The arguments of the hive step.public HiveStepConfig withName(String name)
withName in class StepConfigname - The name of the hive step.public HiveStepConfig withActionOnFailure(String actionOnFailure)
withActionOnFailure in class StepConfigactionOnFailure - The action on step's failure.public HiveStepConfig withAdditionalFile(String remote, String local)
remote - The remote file of the additional file.local - The local file of the additional file.Copyright © 2023. All rights reserved.