Class DelimitedSplit
- java.lang.Object
-
- org.apache.hadoop.mapreduce.InputSplit
-
- org.apache.hadoop.mapreduce.lib.input.FileSplit
-
- com.marklogic.contentpump.utilities.DelimitedSplit
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
public class DelimitedSplit extends org.apache.hadoop.mapreduce.lib.input.FileSplitFileSplit for DelimitedText
-
-
Constructor Summary
Constructors Constructor Description DelimitedSplit()DelimitedSplit(TextArrayWritable header, org.apache.hadoop.fs.Path file, long start, long length, String[] hosts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextArrayWritablegetHeader()voidreadFields(DataInput in)voidwrite(DataOutput out)
-
-
-
Constructor Detail
-
DelimitedSplit
public DelimitedSplit()
-
DelimitedSplit
public DelimitedSplit(TextArrayWritable header, org.apache.hadoop.fs.Path file, long start, long length, String[] hosts)
-
-
Method Detail
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Overrides:
readFieldsin classorg.apache.hadoop.mapreduce.lib.input.FileSplit- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Overrides:
writein classorg.apache.hadoop.mapreduce.lib.input.FileSplit- Throws:
IOException
-
getHeader
public TextArrayWritable getHeader()
-
-