public class PigStepConfig extends StepConfig
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 and Description |
|---|
PigStepConfig() |
| Modifier and Type | Method and Description |
|---|---|
PigStepConfig |
withActionOnFailure(String actionOnFailure)
Configure the action on failure for the pig step.
|
PigStepConfig |
withAdditionalFile(String remote,
String local)
Configure the additional file for the 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.
|
addAdditionalFile, addProperty, getActionOnFailure, getAdditionalFiles, getName, getProperties, getType, setActionOnFailure, setAdditionalFiles, setName, setProperties, setType, withAdditionalFiles, withProperties, withTypepublic 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)
withName in class StepConfigname - The name of the pig step.public PigStepConfig withActionOnFailure(String actionOnFailure)
withActionOnFailure in class StepConfigactionOnFailure - The action on step's failure.public PigStepConfig withAdditionalFile(String remote, String local)
remote - The remote file of the additional file.local - The local file of the additional file.Copyright © 2021. All rights reserved.