org.apache.nutch.indexer.solr
Class SolrDeleteDuplicates.SolrInputSplit

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by org.apache.nutch.indexer.solr.SolrDeleteDuplicates.SolrInputSplit
All Implemented Interfaces:
org.apache.hadoop.io.Writable
Enclosing class:
SolrDeleteDuplicates

public static class SolrDeleteDuplicates.SolrInputSplit
extends org.apache.hadoop.mapreduce.InputSplit
implements org.apache.hadoop.io.Writable


Constructor Summary
SolrDeleteDuplicates.SolrInputSplit()
           
SolrDeleteDuplicates.SolrInputSplit(int docBegin, int numDocs)
           
 
Method Summary
 int getDocBegin()
           
 long getLength()
           
 String[] getLocations()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrDeleteDuplicates.SolrInputSplit

public SolrDeleteDuplicates.SolrInputSplit()

SolrDeleteDuplicates.SolrInputSplit

public SolrDeleteDuplicates.SolrInputSplit(int docBegin,
                                           int numDocs)
Method Detail

getDocBegin

public int getDocBegin()

getLength

public long getLength()
               throws IOException
Specified by:
getLength in class org.apache.hadoop.mapreduce.InputSplit
Throws:
IOException

getLocations

public String[] getLocations()
                      throws IOException
Specified by:
getLocations in class org.apache.hadoop.mapreduce.InputSplit
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2013 The Apache Software Foundation