public class BinaryBlockToTextCellConverter extends Object implements Converter<MatrixIndexes,MatrixBlock,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>
| Constructor and Description | 
|---|
BinaryBlockToTextCellConverter()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
convert(MatrixIndexes k1,
       MatrixBlock v1)
Before calling convert, please make sure to setBlockSize(blen, blen); 
 | 
boolean | 
hasNext()  | 
Pair<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text> | 
next()  | 
void | 
setBlockSize(int nr,
            int nc)  | 
public void convert(MatrixIndexes k1, MatrixBlock v1)
convert in interface Converter<MatrixIndexes,MatrixBlock,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>public boolean hasNext()
hasNext in interface Converter<MatrixIndexes,MatrixBlock,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>public Pair<org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text> next()
next in interface Converter<MatrixIndexes,MatrixBlock,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>public void setBlockSize(int nr,
                         int nc)
setBlockSize in interface Converter<MatrixIndexes,MatrixBlock,org.apache.hadoop.io.NullWritable,org.apache.hadoop.io.Text>Copyright © 2021 The Apache Software Foundation. All rights reserved.