@Beta public interface BatchSinkContext extends BatchContext
| Modifier and Type | Method and Description |
|---|---|
void |
addOutput(Output output)
Updates the output configuration of this job to also allow writing using the given output.
|
void |
addOutput(String datasetName)
Deprecated.
Deprecated since 3.4.0.
Use
addOutput(Output) instead |
void |
addOutput(String datasetName,
Map<String,String> arguments)
Deprecated.
Deprecated since 3.4.0.
Use
addOutput(Output) instead |
void |
addOutput(String outputName,
OutputFormatProvider outputFormatProvider)
Deprecated.
Deprecated since 3.4.0.
Use
addOutput(Output) instead |
createDataset, datasetExists, getHadoopJob, getLogicalStartTime, getRuntimeArguments, setRuntimeArgumentdiscardDataset, getDataset, getDataset, getDataset, getDataset, releaseDatasetgetMetrics, getPluginProperties, getPluginProperties, getStageName, loadPluginClass, newPluginInstanceprovide@Deprecated void addOutput(String datasetName)
addOutput(Output) insteaddatasetName - the name of the output dataset@Deprecated void addOutput(String datasetName, Map<String,String> arguments)
addOutput(Output) insteadOutputFormatProvider.
You may want to use this method instead of addOutput(String) if your output dataset uses runtime
arguments set in your own program logic.datasetName - the name of the output datasetarguments - the arguments to use when instantiating the datasetIllegalArgumentException - if the specified dataset is not an OutputFormatProvider.@Deprecated void addOutput(String outputName, OutputFormatProvider outputFormatProvider)
addOutput(Output) insteadoutputName - the name of the outputoutputFormatProvider - the outputFormatProvider which specifies an OutputFormat and configuration to be used
when writing to this outputvoid addOutput(Output output)
output - output to be usedCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.