org.apache.nutch.crawl
Class Generator.GeneratorOutputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileOutputFormat<K,V>
      extended by org.apache.hadoop.mapred.lib.MultipleOutputFormat<K,V>
          extended by org.apache.hadoop.mapred.lib.MultipleSequenceFileOutputFormat<FloatWritable,Generator.SelectorEntry>
              extended by org.apache.nutch.crawl.Generator.GeneratorOutputFormat
All Implemented Interfaces:
OutputFormat<FloatWritable,Generator.SelectorEntry>
Enclosing class:
Generator

public static class Generator.GeneratorOutputFormat
extends MultipleSequenceFileOutputFormat<FloatWritable,Generator.SelectorEntry>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileOutputFormat
FileOutputFormat.Counter
 
Constructor Summary
Generator.GeneratorOutputFormat()
           
 
Method Summary
protected  String generateFileNameForKeyValue(FloatWritable key, Generator.SelectorEntry value, String name)
           
 
Methods inherited from class org.apache.hadoop.mapred.lib.MultipleSequenceFileOutputFormat
getBaseRecordWriter
 
Methods inherited from class org.apache.hadoop.mapred.lib.MultipleOutputFormat
generateActualKey, generateActualValue, generateLeafFileName, getInputFileBasedOutputFileName, getRecordWriter
 
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

Generator.GeneratorOutputFormat

public Generator.GeneratorOutputFormat()
Method Detail

generateFileNameForKeyValue

protected String generateFileNameForKeyValue(FloatWritable key,
                                             Generator.SelectorEntry value,
                                             String name)
Overrides:
generateFileNameForKeyValue in class MultipleOutputFormat<FloatWritable,Generator.SelectorEntry>


Copyright © 2012 The Apache Software Foundation