Class TextToBinaryCellConverter
- java.lang.Object
-
- org.apache.sysds.runtime.matrix.data.TextToBinaryCellConverter
-
- All Implemented Interfaces:
Converter<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,MatrixIndexes,MatrixCell>
public class TextToBinaryCellConverter extends Object implements Converter<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,MatrixIndexes,MatrixCell>
-
-
Constructor Summary
Constructors Constructor Description TextToBinaryCellConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvert(org.apache.hadoop.io.LongWritable k1, org.apache.hadoop.io.Text v1)booleanhasNext()Pair<MatrixIndexes,MatrixCell>next()voidsetBlockSize(int rl, int cl)
-
-
-
Method Detail
-
convert
public void convert(org.apache.hadoop.io.LongWritable k1, org.apache.hadoop.io.Text v1)- Specified by:
convertin interfaceConverter<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,MatrixIndexes,MatrixCell>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceConverter<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,MatrixIndexes,MatrixCell>
-
next
public Pair<MatrixIndexes,MatrixCell> next()
- Specified by:
nextin interfaceConverter<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,MatrixIndexes,MatrixCell>
-
setBlockSize
public void setBlockSize(int rl, int cl)- Specified by:
setBlockSizein interfaceConverter<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Text,MatrixIndexes,MatrixCell>
-
-