public class WeightedCellToSortInputConverter extends Object implements Converter<MatrixIndexes,WeightedCell,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.IntWritable>
Constructor and Description |
---|
WeightedCellToSortInputConverter() |
Modifier and Type | Method and Description |
---|---|
void |
convert(MatrixIndexes k1,
WeightedCell v1) |
boolean |
hasNext() |
Pair<org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.IntWritable> |
next() |
void |
setBlockSize(int rl,
int cl) |
public void convert(MatrixIndexes k1, WeightedCell v1)
convert
in interface Converter<MatrixIndexes,WeightedCell,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.IntWritable>
public boolean hasNext()
hasNext
in interface Converter<MatrixIndexes,WeightedCell,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.IntWritable>
public Pair<org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.IntWritable> next()
next
in interface Converter<MatrixIndexes,WeightedCell,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.IntWritable>
public void setBlockSize(int rl, int cl)
setBlockSize
in interface Converter<MatrixIndexes,WeightedCell,org.apache.hadoop.io.DoubleWritable,org.apache.hadoop.io.IntWritable>
Copyright © 2017 The Apache Software Foundation. All rights reserved.