|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.FileOutputFormat<WritableComparable,Writable>
org.apache.hadoop.mapred.MapFileOutputFormat
MapFileOutputFormat
instead
@Deprecated @InterfaceAudience.Public @InterfaceStability.Stable public class MapFileOutputFormat
An OutputFormat
that writes MapFile
s.
Constructor Summary | |
---|---|
MapFileOutputFormat()
Deprecated. |
Method Summary | ||
---|---|---|
static
|
getEntry(org.apache.hadoop.io.MapFile.Reader[] readers,
Partitioner<K,V> partitioner,
K key,
V value)
Deprecated. Get an entry from output generated by this class. |
|
static org.apache.hadoop.io.MapFile.Reader[] |
getReaders(FileSystem ignored,
Path dir,
Configuration conf)
Deprecated. Open the output generated by this format. |
|
RecordWriter<WritableComparable,Writable> |
getRecordWriter(FileSystem ignored,
JobConf job,
String name,
Progressable progress)
Deprecated. Get the RecordWriter for the given job. |
Methods inherited from class org.apache.hadoop.mapred.FileOutputFormat |
---|
checkOutputSpecs, getCompressOutput, getOutputCompressorClass, getOutputPath, getPathForCustomFile, getTaskOutputPath, getUniqueName, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapFileOutputFormat()
Method Detail |
---|
public RecordWriter<WritableComparable,Writable> getRecordWriter(FileSystem ignored, JobConf job, String name, Progressable progress) throws IOException
OutputFormat
RecordWriter
for the given job.
getRecordWriter
in interface OutputFormat<WritableComparable,Writable>
getRecordWriter
in class FileOutputFormat<WritableComparable,Writable>
job
- configuration for the job whose output is being written.name
- the unique name for this part of the output.progress
- mechanism for reporting progress while writing to file.
RecordWriter
to write the output for the job.
IOException
public static org.apache.hadoop.io.MapFile.Reader[] getReaders(FileSystem ignored, Path dir, Configuration conf) throws IOException
IOException
public static <K extends WritableComparable,V extends Writable> Writable getEntry(org.apache.hadoop.io.MapFile.Reader[] readers, Partitioner<K,V> partitioner, K key, V value) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |