Example usage for org.apache.hadoop.io DoubleWritable DoubleWritable

List of usage examples for org.apache.hadoop.io DoubleWritable DoubleWritable

Introduction

In this page you can find the example usage for org.apache.hadoop.io DoubleWritable DoubleWritable.

Prototype

public DoubleWritable() 

Source Link

Usage

From source file:reducers.SquareMatrixBlockTraceMultReducer.java

License:Apache License

protected void setup(Context context) {
    Configuration conf = context.getConfiguration();

    int sRL = conf.getInt("SRL", 0);
    int sCL = conf.getInt("SCL", 0);
    int sRR = conf.getInt("SRR", 0);
    int sCR = conf.getInt("SCR", 0);

    left = new MatrixBlock(sRL, sCL);
    right = new MatrixBlock(sRR, sCR);

    outVal = new DoubleWritable();
}