Class GuaguaSequenceRecordReader<KEY extends org.apache.hadoop.io.Writable,​VALUE extends org.apache.hadoop.io.Writable>

    • Constructor Detail

      • GuaguaSequenceRecordReader

        public GuaguaSequenceRecordReader​(Class<? extends org.apache.hadoop.io.Writable> keyClass,
                                          Class<? extends org.apache.hadoop.io.Writable> valueClass)
                                   throws IOException
        Deprecated.
        Throws:
        IOException
      • GuaguaSequenceRecordReader

        public GuaguaSequenceRecordReader​(ml.shifu.guagua.io.GuaguaFileSplit split,
                                          Class<? extends org.apache.hadoop.io.Writable> keyClass,
                                          Class<? extends org.apache.hadoop.io.Writable> valueClass)
                                   throws IOException
        Deprecated.
        Throws:
        IOException
      • GuaguaSequenceRecordReader

        public GuaguaSequenceRecordReader​(org.apache.hadoop.conf.Configuration conf,
                                          ml.shifu.guagua.io.GuaguaFileSplit split,
                                          Class<? extends org.apache.hadoop.io.Writable> keyClass,
                                          Class<? extends org.apache.hadoop.io.Writable> valueClass)
                                   throws IOException
        Deprecated.
        Throws:
        IOException
    • Method Detail

      • getProgress

        public float getProgress()
                          throws IOException
        Deprecated.
        Return the progress within the input split
        Returns:
        0.0 to 1.0 of the input byte range
        Throws:
        IOException
      • initialize

        public void initialize​(ml.shifu.guagua.io.GuaguaFileSplit split)
                        throws IOException
        Deprecated.
        Specified by:
        initialize in interface ml.shifu.guagua.io.GuaguaRecordReader<KEY extends org.apache.hadoop.io.Writable,​VALUE extends org.apache.hadoop.io.Writable>
        Throws:
        IOException
      • nextKeyValue

        public boolean nextKeyValue()
                             throws IOException
        Deprecated.
        Specified by:
        nextKeyValue in interface ml.shifu.guagua.io.GuaguaRecordReader<KEY extends org.apache.hadoop.io.Writable,​VALUE extends org.apache.hadoop.io.Writable>
        Throws:
        IOException
      • getCurrentKey

        public GuaguaWritableAdapter<KEY> getCurrentKey()
        Deprecated.
        Specified by:
        getCurrentKey in interface ml.shifu.guagua.io.GuaguaRecordReader<KEY extends org.apache.hadoop.io.Writable,​VALUE extends org.apache.hadoop.io.Writable>
      • getCurrentValue

        public GuaguaWritableAdapter<VALUE> getCurrentValue()
        Deprecated.
        Specified by:
        getCurrentValue in interface ml.shifu.guagua.io.GuaguaRecordReader<KEY extends org.apache.hadoop.io.Writable,​VALUE extends org.apache.hadoop.io.Writable>
      • close

        public void close()
                   throws IOException
        Deprecated.
        Specified by:
        close in interface ml.shifu.guagua.io.GuaguaRecordReader<KEY extends org.apache.hadoop.io.Writable,​VALUE extends org.apache.hadoop.io.Writable>
        Throws:
        IOException