|
||||||||||
| 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.PigStepConfig
public class PigStepConfig
Represent configuration for a pig step. A pig 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 | |
|---|---|
PigStepConfig()
|
|
| Method Summary | |
|---|---|
PigStepConfig |
withActionOnFailure(String actionOnFailure)
Configure the action on failure for the pig step. |
PigStepConfig |
withArguments(String arguments)
Configure the arguments of the pig step. |
PigStepConfig |
withInput(String input)
Configure the input path of the pig step. |
PigStepConfig |
withName(String name)
Configure the name of the pig step. |
PigStepConfig |
withOutput(String output)
Configure the output path of the pig step. |
PigStepConfig |
withScript(String script)
Configure the script path of the pig step. |
| Methods inherited from class com.baidubce.services.bmr.model.StepConfig |
|---|
addProperty, getActionOnFailure, getName, getProperties, getType, setActionOnFailure, setName, setProperties, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PigStepConfig()
| Method Detail |
|---|
public PigStepConfig withInput(String input)
input - The input path of the pig step.
public PigStepConfig withScript(String script)
script - The script path of the pig step.
public PigStepConfig withOutput(String output)
output - The output path of the pig step.
public PigStepConfig withArguments(String arguments)
arguments - The arguments of the pig step.
public PigStepConfig withName(String name)
name - The name of the pig step.
public PigStepConfig withActionOnFailure(String actionOnFailure)
actionOnFailure - The action on step's failure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||