com.nhncorp.neptune.util.matrix
Class Matrix

java.lang.Object
  extended by com.nhncorp.neptune.util.matrix.AbstractMatrix
      extended by com.nhncorp.neptune.util.matrix.Matrix

public class Matrix
extends AbstractMatrix


Field Summary
 
Fields inherited from class com.nhncorp.neptune.util.matrix.AbstractMatrix
KEY_FORMAT, MAX_KEY_VALUE
 
Constructor Summary
Matrix(NConfiguration conf, java.lang.String tableName, java.lang.String columnName)
           
 
Method Summary
 void addToUploader(java.lang.String row, java.lang.String col, double value)
           
 void addValue(java.lang.String row, java.lang.String col, double value)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class com.nhncorp.neptune.util.matrix.AbstractMatrix
closeUploader, initUploader, mutiply, mutiplyLocal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matrix

public Matrix(NConfiguration conf,
              java.lang.String tableName,
              java.lang.String columnName)
       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addToUploader

public void addToUploader(java.lang.String row,
                          java.lang.String col,
                          double value)
                   throws java.io.IOException
Specified by:
addToUploader in class AbstractMatrix
Throws:
java.io.IOException

addValue

public void addValue(java.lang.String row,
                     java.lang.String col,
                     double value)
              throws java.io.IOException
Specified by:
addValue in class AbstractMatrix
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception