|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.services.bmr.model.StepConfig
com.baidubce.services.bmr.model.HiveStepConfig
public class HiveStepConfig
Represent configuration for a hive step.
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 Summary | |
|---|---|
HiveStepConfig()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.baidubce.services.bmr.model.StepConfig |
|---|
addAdditionalFile, addProperty, getActionOnFailure, getAdditionalFiles, getName, getProperties, getType, setActionOnFailure, setAdditionalFiles, setName, setProperties, setType, withAdditionalFiles, withProperties, withType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HiveStepConfig()
| Method Detail |
|---|
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||