org.apache.nutch.api
Class DbReader

java.lang.Object
  extended by org.apache.nutch.api.DbReader

public class DbReader
extends Object


Constructor Summary
DbReader(org.apache.hadoop.conf.Configuration conf, String crawlId)
           
 
Method Summary
 void close()
           
 Iterator<Map<String,Object>> iterator(String[] fields, String startKey, String endKey, String batchId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbReader

public DbReader(org.apache.hadoop.conf.Configuration conf,
                String crawlId)
Method Detail

iterator

public Iterator<Map<String,Object>> iterator(String[] fields,
                                             String startKey,
                                             String endKey,
                                             String batchId)
                                      throws Exception
Throws:
Exception

close

public void close()
           throws IOException
Throws:
IOException


Copyright © 2013 The Apache Software Foundation