Package org.apache.sysds.runtime.util
Class BinaryBlockInputFormat
- java.lang.Object
-
- org.apache.hadoop.mapred.FileInputFormat<K,V>
-
- org.apache.hadoop.mapred.SequenceFileInputFormat<MatrixIndexes,MatrixBlock>
-
- org.apache.sysds.runtime.util.BinaryBlockInputFormat
-
- All Implemented Interfaces:
org.apache.hadoop.mapred.InputFormat<MatrixIndexes,MatrixBlock>
public class BinaryBlockInputFormat extends org.apache.hadoop.mapred.SequenceFileInputFormat<MatrixIndexes,MatrixBlock>
Custom binary block input format to return the custom record reader.NOTE: Not used by default.
NOTE: Used for performance debugging of binary block HDFS reads.
-
-
Constructor Summary
Constructors Constructor Description BinaryBlockInputFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hadoop.mapred.RecordReader<MatrixIndexes,MatrixBlock>
getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter)
-
-
-
Method Detail
-
getRecordReader
public org.apache.hadoop.mapred.RecordReader<MatrixIndexes,MatrixBlock> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.Reporter reporter) throws IOException
- Specified by:
getRecordReader
in interfaceorg.apache.hadoop.mapred.InputFormat<MatrixIndexes,MatrixBlock>
- Overrides:
getRecordReader
in classorg.apache.hadoop.mapred.SequenceFileInputFormat<MatrixIndexes,MatrixBlock>
- Throws:
IOException
-
-