程序包 | 说明 |
---|---|
org.apache.hadoop.contrib.index.mapred | |
org.apache.hadoop.examples.terasort |
This package consists of 3 map/reduce applications for Hadoop to
compete in the annual terabyte sort
competition.
|
org.apache.hadoop.mapred |
A software framework for easily writing applications which process vast
amounts of data (multi-terabyte data-sets) parallelly on large clusters
(thousands of nodes) built of commodity hardware in a reliable, fault-tolerant
manner.
|
org.apache.hadoop.mapred.lib |
Library of generally useful mappers, reducers, and partitioners.
|
org.apache.hadoop.mapred.lib.db |
org.apache.hadoop.mapred.lib.db Package
This package contains a library to read records from a database as an
input to a mapreduce job, and write the output records to the database.
|
限定符和类型 | 类和说明 |
---|---|
class |
IndexUpdateOutputFormat
The record writer of this output format simply puts a message in an output
path when a shard update is done.
|
限定符和类型 | 类和说明 |
---|---|
class |
TeraOutputFormat
A streamlined text output format that writes key, value, and "\r\n".
|
限定符和类型 | 类和说明 |
---|---|
class |
FileOutputFormat<K,V>
A base class for
OutputFormat . |
class |
MapFileOutputFormat
An
OutputFormat that writes MapFile s. |
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. |
限定符和类型 | 方法和说明 |
---|---|
OutputFormat |
JobConf.getOutputFormat()
Get the
OutputFormat implementation for the map-reduce job,
defaults to TextOutputFormat if not specified explicity. |
限定符和类型 | 方法和说明 |
---|---|
void |
JobConf.setOutputFormat(Class<? extends OutputFormat> theClass)
Set the
OutputFormat implementation for the map-reduce job. |
限定符和类型 | 类和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
static Class<? extends OutputFormat> |
MultipleOutputs.getNamedOutputFormatClass(JobConf conf,
String namedOutput)
Returns the named output OutputFormat.
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 类和说明 |
---|---|
class |
DBOutputFormat<K extends DBWritable,V>
A OutputFormat that sends the reduce output to a SQL table.
|
Copyright © 2009 The Apache Software Foundation