Class DelimitedSplit

  • All Implemented Interfaces:
    org.apache.hadoop.io.Writable

    public class DelimitedSplit
    extends org.apache.hadoop.mapreduce.lib.input.FileSplit
    FileSplit for DelimitedText
    • 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:
        readFields in interface org.apache.hadoop.io.Writable
        Overrides:
        readFields in class org.apache.hadoop.mapreduce.lib.input.FileSplit
        Throws:
        IOException
      • write

        public void write​(DataOutput out)
                   throws IOException
        Specified by:
        write in interface org.apache.hadoop.io.Writable
        Overrides:
        write in class org.apache.hadoop.mapreduce.lib.input.FileSplit
        Throws:
        IOException