org.apache.nutch.indexer.elastic
Class ElasticWriter

java.lang.Object
  extended by org.apache.nutch.indexer.elastic.ElasticWriter
All Implemented Interfaces:
NutchIndexWriter

public class ElasticWriter
extends Object
implements NutchIndexWriter


Field Summary
static org.slf4j.Logger LOG
           
 
Constructor Summary
ElasticWriter()
           
 
Method Summary
 void close()
           
 void open(org.apache.hadoop.mapreduce.TaskAttemptContext job)
           
 void write(NutchDocument doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static org.slf4j.Logger LOG
Constructor Detail

ElasticWriter

public ElasticWriter()
Method Detail

write

public void write(NutchDocument doc)
           throws IOException
Specified by:
write in interface NutchIndexWriter
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface NutchIndexWriter
Throws:
IOException

open

public void open(org.apache.hadoop.mapreduce.TaskAttemptContext job)
          throws IOException
Specified by:
open in interface NutchIndexWriter
Throws:
IOException


Copyright © 2013 The Apache Software Foundation