public class BinaryBlockRecordReader extends org.apache.hadoop.mapred.SequenceFileRecordReader<MatrixIndexes,MatrixBlock>
Constructor and Description |
---|
BinaryBlockRecordReader(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.mapred.FileSplit split) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
next(MatrixIndexes key,
MatrixBlock value) |
public BinaryBlockRecordReader(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.mapred.FileSplit split) throws IOException
IOException
public boolean next(MatrixIndexes key, MatrixBlock value) throws IOException
next
in interface org.apache.hadoop.mapred.RecordReader<MatrixIndexes,MatrixBlock>
next
in class org.apache.hadoop.mapred.SequenceFileRecordReader<MatrixIndexes,MatrixBlock>
IOException
public void close() throws IOException
close
in interface org.apache.hadoop.mapred.RecordReader<MatrixIndexes,MatrixBlock>
close
in class org.apache.hadoop.mapred.SequenceFileRecordReader<MatrixIndexes,MatrixBlock>
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.