| Package | Description |
|---|---|
| org.apache.hadoop.mapred | |
| org.apache.hadoop.mapred.lib | |
| org.apache.hadoop.mapred.lib.db |
| Modifier and Type | Class and Description |
|---|---|
class |
FileOutputFormat<K,V>
A base class for
OutputFormat. |
class |
MapFileOutputFormat
An
OutputFormat that writes MapFiles. |
class |
SequenceFileAsBinaryOutputFormat
An
OutputFormat that writes keys, values to
SequenceFiles in binary(raw) format |
class |
SequenceFileOutputFormat<K,V>
An
OutputFormat that writes SequenceFiles. |
class |
TextOutputFormat<K,V>
An
OutputFormat that writes plain text files. |
| Modifier and Type | Method and Description |
|---|---|
OutputFormat |
JobConf.getOutputFormat()
Get the
OutputFormat implementation for the map-reduce job,
defaults to TextOutputFormat if not specified explicity. |
| Modifier and Type | Method and Description |
|---|---|
void |
JobConf.setOutputFormat(Class<? extends OutputFormat> theClass)
Set the
OutputFormat implementation for the map-reduce job. |
| Modifier and Type | Class and Description |
|---|---|
class |
FilterOutputFormat<K,V>
FilterOutputFormat is a convenience class that wraps OutputFormat.
|
class |
LazyOutputFormat<K,V>
A Convenience class that creates output lazily.
|
class |
MultipleOutputFormat<K,V>
This abstract class extends the FileOutputFormat, allowing to write the
output data to different output files.
|
class |
MultipleSequenceFileOutputFormat<K,V>
This class extends the MultipleOutputFormat, allowing to write the output data
to different output files in sequence file output format.
|
class |
MultipleTextOutputFormat<K,V>
This class extends the MultipleOutputFormat, allowing to write the output
data to different output files in Text output format.
|
class |
NullOutputFormat<K,V>
Consume all outputs and put them in /dev/null.
|
| Modifier and Type | Field and Description |
|---|---|
protected OutputFormat<K,V> |
FilterOutputFormat.baseOut |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends OutputFormat> |
MultipleOutputs.getNamedOutputFormatClass(JobConf conf,
String namedOutput)
Returns the named output OutputFormat.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
MultipleOutputs.addMultiNamedOutput(JobConf conf,
String namedOutput,
Class<? extends OutputFormat> outputFormatClass,
Class<?> keyClass,
Class<?> valueClass)
Adds a multi named output for the job.
|
static void |
MultipleOutputs.addNamedOutput(JobConf conf,
String namedOutput,
Class<? extends OutputFormat> outputFormatClass,
Class<?> keyClass,
Class<?> valueClass)
Adds a named output for the job.
|
static void |
LazyOutputFormat.setOutputFormatClass(JobConf job,
Class<? extends OutputFormat> theClass)
Set the underlying output format for LazyOutputFormat.
|
| Constructor and Description |
|---|
FilterOutputFormat(OutputFormat<K,V> out)
Create a FilterOutputFormat based on the supplied output format.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DBOutputFormat<K extends DBWritable,V> |
Copyright © 2022 Apache Software Foundation. All rights reserved.