Package | Description |
---|---|
io.cdap.cdap.api.data.batch |
Allows MapReduce jobs to read from and write to datasets.
|
io.cdap.cdap.api.mapreduce |
Defines MapReduce jobs.
|
Modifier and Type | Class and Description |
---|---|
static class |
Input.DatasetInput
|
static class |
Input.InputFormatProviderInput
An implementation of
Input , which defines an InputFormatProvider as an input. |
Modifier and Type | Method and Description |
---|---|
Input |
Input.alias(String alias)
Sets an alias to be used as the input name.
|
Input |
Input.fromNamespace(String namespace)
Sets the namespace of the input.
|
Input |
Input.InputFormatProviderInput.fromNamespace(String namespace) |
static Input |
Input.of(String inputName,
InputFormatProvider inputFormatProvider)
Returns an Input defined by an InputFormatProvider.
|
static Input |
Input.ofDataset(String datasetName)
Returns an Input defined by a dataset.
|
static Input |
Input.ofDataset(String datasetName,
Iterable<? extends Split> splits)
Returns an Input defined by a dataset.
|
static Input |
Input.ofDataset(String datasetName,
Map<String,String> arguments)
Returns an Input defined by a dataset.
|
static Input |
Input.ofDataset(String datasetName,
Map<String,String> arguments,
Iterable<? extends Split> splits)
Returns an Input defined by a dataset.
|
Modifier and Type | Method and Description |
---|---|
void |
MapReduceContext.addInput(Input input)
Updates the input configuration of this MapReduce job to use the specified
Input . |
void |
MapReduceContext.addInput(Input input,
Class<?> mapperCls)
Updates the input configuration of this MapReduce job to use the specified
Input . |
Copyright © 2022 Cask Data, Inc. Licensed under the Apache License, Version 2.0.