[TOC]

org.apache.nutch.segment

Class SegmentReader.TextOutputFormat

  • java.lang.Object
    • org.apache.hadoop.mapred.FileOutputFormat,org.apache.hadoop.io.Writable>
    • org.apache.nutch.segment.SegmentReader.TextOutputFormat

    • All Implemented Interfaces:
    • org.apache.hadoop.mapred.OutputFormat,org.apache.hadoop.io.Writable>
    • Enclosing class:
    • SegmentReader

public static class SegmentReader.TextOutputFormat
extends org.apache.hadoop.mapred.FileOutputFormat<org.apache.hadoop.io.WritableComparable<?>,org.apache.hadoop.io.Writable>

Implements a text output format

Nested Class Summary

-    

Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileOutputFormat

org.apache.hadoop.mapred.FileOutputFormat.Counter

Constructor Summary

Constructors Constructor and Description SegmentReader.TextOutputFormat()

Method Summary

Methods Modifier and Type Method and Description org.apache.hadoop.mapred.RecordWriter,org.apache.hadoop.io.Writable> getRecordWriter(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.mapred.JobConf job, String name, org.apache.hadoop.util.Progressable progress)

-    

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

-  

SegmentReader.TextOutputFormat

public SegmentReader.TextOutputFormat()

Method Detail

-  

getRecordWriter

public org.apache.hadoop.mapred.RecordWriter<org.apache.hadoop.io.WritableComparable<?>,org.apache.hadoop.io.Writable> getRecordWriter(org.apache.hadoop.fs.FileSystem fs,
                                                                                                                              org.apache.hadoop.mapred.JobConf job,
                                                                                                                              String name,
                                                                                                                              org.apache.hadoop.util.Progressable progress)
                                                                                                                                throws IOException
  - Specified by: 
  - <code>getRecordWriter</code> in interface <code>org.apache.hadoop.mapred.OutputFormat<org.apache.hadoop.io.writablecomparable<?>,org.apache.hadoop.io.Writable&gt;</org.apache.hadoop.io.writablecomparable<?></code> 
  - Specified by: 
  - <code>getRecordWriter</code> in class <code>org.apache.hadoop.mapred.FileOutputFormat<org.apache.hadoop.io.writablecomparable<?>,org.apache.hadoop.io.Writable&gt;</org.apache.hadoop.io.writablecomparable<?></code> 
  - Throws: 
  - <code>IOException</code>      

Copyright © 2014 The Apache Software Foundation