Package | Description |
---|---|
org.apache.hadoop.mapreduce | |
org.apache.hadoop.mapreduce.lib.db | |
org.apache.hadoop.mapreduce.lib.output |
Modifier and Type | Method and Description |
---|---|
Class<? extends OutputFormat<?,?>> |
JobContext.getOutputFormatClass()
Get the
OutputFormat class for the job. |
Modifier and Type | Method and Description |
---|---|
void |
Job.setOutputFormatClass(Class<? extends OutputFormat> cls)
Set the
OutputFormat for the job. |
Modifier and Type | Class and Description |
---|---|
class |
DBOutputFormat<K extends DBWritable,V>
A OutputFormat that sends the reduce output to a SQL table.
|
Modifier and Type | Class and Description |
---|---|
class |
FileOutputFormat<K,V>
A base class for
OutputFormat s that read from FileSystem s. |
class |
FilterOutputFormat<K,V>
FilterOutputFormat is a convenience class that wraps OutputFormat.
|
class |
LazyOutputFormat<K,V>
A Convenience class that creates output lazily.
|
class |
MapFileOutputFormat
An
OutputFormat that writes
MapFile s. |
class |
NullOutputFormat<K,V>
Consume all outputs and put them in /dev/null.
|
class |
SequenceFileAsBinaryOutputFormat
An
OutputFormat that writes keys,
values to SequenceFile s in binary(raw) format |
class |
SequenceFileOutputFormat<K,V>
An
OutputFormat that writes SequenceFile s. |
class |
TextOutputFormat<K,V>
An
OutputFormat that writes plain text files. |
Modifier and Type | Field and Description |
---|---|
protected OutputFormat<K,V> |
FilterOutputFormat.baseOut |
Modifier and Type | Method and Description |
---|---|
static void |
MultipleOutputs.addNamedOutput(Job job,
String namedOutput,
Class<? extends OutputFormat> outputFormatClass,
Class<?> keyClass,
Class<?> valueClass)
Adds a named output for the job.
|
static void |
LazyOutputFormat.setOutputFormatClass(Job job,
Class<? extends OutputFormat> theClass)
Set the underlying output format for LazyOutputFormat.
|
Constructor and Description |
---|
FilterOutputFormat(OutputFormat<K,V> baseOut)
Create a FilterOutputFormat based on the underlying output format.
|
Copyright © 2018 Apache Software Foundation. All rights reserved.