org.apache.accumulo.examples.wikisearch.ingest
Class WikipediaInputFormat.WikipediaInputSplit
java.lang.Object
org.apache.hadoop.mapreduce.InputSplit
org.apache.accumulo.examples.wikisearch.ingest.WikipediaInputFormat.WikipediaInputSplit
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
- Enclosing class:
- WikipediaInputFormat
public static class WikipediaInputFormat.WikipediaInputSplit
- extends org.apache.hadoop.mapreduce.InputSplit
- implements org.apache.hadoop.io.Writable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikipediaInputFormat.WikipediaInputSplit
public WikipediaInputFormat.WikipediaInputSplit()
WikipediaInputFormat.WikipediaInputSplit
public WikipediaInputFormat.WikipediaInputSplit(org.apache.hadoop.mapreduce.lib.input.FileSplit fileSplit,
int partition)
getPartition
public int getPartition()
getFileSplit
public org.apache.hadoop.mapreduce.lib.input.FileSplit getFileSplit()
getLength
public long getLength()
throws IOException,
InterruptedException
- Specified by:
getLength
in class org.apache.hadoop.mapreduce.InputSplit
- Throws:
IOException
InterruptedException
getLocations
public String[] getLocations()
throws IOException,
InterruptedException
- Specified by:
getLocations
in class org.apache.hadoop.mapreduce.InputSplit
- Throws:
IOException
InterruptedException
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 © 2012 The Apache Software Foundation. All Rights Reserved.