java.lang.Object org.apache.hadoop.mapred.FileOutputFormat<K,V> org.apache.hadoop.mapred.SequenceFileOutputFormat<K,V>
public class SequenceFileOutputFormat<K,V>
An OutputFormat
that writes SequenceFile
s.
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
SequenceFileOutputFormat
public SequenceFileOutputFormat()
public RecordWriter<K,V> getRecordWriter(FileSystem ignored, JobConf job, String name, Progressable progress) throws IOException
OutputFormat
RecordWriter
for the given job.
getRecordWriter
in interface OutputFormat<K,V>
getRecordWriter
in class FileOutputFormat<K,V>
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 SequenceFile.Reader[] getReaders(Configuration conf, Path dir) throws IOException
IOException
public static SequenceFile.CompressionType getOutputCompressionType(JobConf conf)
SequenceFile.CompressionType
for the output SequenceFile
.
conf
- the JobConf
SequenceFile.CompressionType
for the output SequenceFile
, defaulting to SequenceFile.CompressionType.RECORD
public static void setOutputCompressionType(JobConf conf, SequenceFile.CompressionType style)
SequenceFile.CompressionType
for the output SequenceFile
.
conf
- the JobConf
to modify
style
- the SequenceFile.CompressionType
for the output SequenceFile
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4