public class LuceneSegmentInputFormat
extends org.apache.hadoop.mapreduce.InputFormat
InputFormat implementation which splits a Lucene index at the segment level.| Constructor and Description |
|---|
LuceneSegmentInputFormat() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
List<LuceneSegmentInputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext context) |
public List<LuceneSegmentInputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context) throws IOException, InterruptedException
getSplits in class org.apache.hadoop.mapreduce.InputFormatIOExceptionInterruptedExceptionpublic org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.Text,org.apache.hadoop.io.NullWritable> createRecordReader(org.apache.hadoop.mapreduce.InputSplit inputSplit,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
createRecordReader in class org.apache.hadoop.mapreduce.InputFormatIOExceptionInterruptedExceptionCopyright © 2008–2013 The Apache Software Foundation. All rights reserved.