Return-Path: Delivered-To: apmail-incubator-hama-commits-archive@locus.apache.org Received: (qmail 35821 invoked from network); 16 Sep 2008 08:27:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Sep 2008 08:27:13 -0000 Received: (qmail 32822 invoked by uid 500); 16 Sep 2008 08:27:09 -0000 Delivered-To: apmail-incubator-hama-commits-archive@incubator.apache.org Received: (qmail 32812 invoked by uid 500); 16 Sep 2008 08:27:09 -0000 Mailing-List: contact hama-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@ Delivered-To: mailing list hama-commits@incubator.apache.org Received: (qmail 32800 invoked by uid 99); 16 Sep 2008 08:27:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 01:27:09 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 08:26:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 53EE62388986; Tue, 16 Sep 2008 01:26:22 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r695765 - in /incubator/hama/trunk/src/java/org/apache/hama: AbstractMatrix.java Constants.java Matrix.java Date: Tue, 16 Sep 2008 08:26:22 -0000 To: hama-commits@incubator.apache.org From: edwardyoon@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080916082622.53EE62388986@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: edwardyoon Date: Tue Sep 16 01:26:21 2008 New Revision: 695765 URL: http://svn.apache.org/viewvc?rev=695765&view=rev Log: Trivial renaming. Modified: incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java incubator/hama/trunk/src/java/org/apache/hama/Constants.java incubator/hama/trunk/src/java/org/apache/hama/Matrix.java Modified: incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java?rev=695765&r1=695764&r2=695765&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/AbstractMatrix.java Tue Sep 16 01:26:21 2008 @@ -150,13 +150,13 @@ public String getColumnAttribute(int column) throws IOException { Cell rows = null; - rows = table.get(Constants.COLUMN_INDEX, + rows = table.get(Constants.CINDEX, (Constants.ATTRIBUTE + column)); return (rows != null) ? Bytes.toString(rows.getValue()) : null; } public void setColumnAttribute(int column, String name) throws IOException { - VectorUpdate update = new VectorUpdate(Constants.COLUMN_INDEX); + VectorUpdate update = new VectorUpdate(Constants.CINDEX); update.put(column, name); table.commit(update.getBatchUpdate()); } Modified: incubator/hama/trunk/src/java/org/apache/hama/Constants.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/Constants.java?rev=695765&r1=695764&r2=695765&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/Constants.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/Constants.java Tue Sep 16 01:26:21 2008 @@ -32,7 +32,7 @@ /** * Column index & attributes */ - public final static String COLUMN_INDEX = "columnIndex"; + public final static String CINDEX = "cIndex"; /** * The attribute column family Modified: incubator/hama/trunk/src/java/org/apache/hama/Matrix.java URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/Matrix.java?rev=695765&r1=695764&r2=695765&view=diff ============================================================================== --- incubator/hama/trunk/src/java/org/apache/hama/Matrix.java (original) +++ incubator/hama/trunk/src/java/org/apache/hama/Matrix.java Tue Sep 16 01:26:21 2008 @@ -39,20 +39,20 @@ /** * Gets the vector of row * - * @param row the row index of the matrix + * @param i the row index of the matrix * @return the vector of row * @throws IOException */ - public Vector getRow(int row) throws IOException; + public Vector getRow(int i) throws IOException; /** * Gets the vector of column * - * @param column the column index of the matrix + * @param j the column index of the matrix * @return the vector of column * @throws IOException */ - public Vector getColumn(int column) throws IOException; + public Vector getColumn(int j) throws IOException; /** * Get the number of row of the matrix from the meta-data column @@ -75,32 +75,32 @@ * * @throws IOException */ - public String getRowAttribute(int row) throws IOException; + public String getRowAttribute(int i) throws IOException; /** * Sets the attribute of the row * - * @param row + * @param i * @param name * @throws IOException */ - public void setRowAttribute(int row, String name) throws IOException; + public void setRowAttribute(int i, String name) throws IOException; /** * Gets the attribute of the column * * @throws IOException */ - public String getColumnAttribute(int column) throws IOException; + public String getColumnAttribute(int j) throws IOException; /** * Sets the attribute of the column * - * @param column + * @param j * @param name * @throws IOException */ - public void setColumnAttribute(int column, String name) throws IOException; + public void setColumnAttribute(int j, String name) throws IOException; /** * Sets the double value of (i, j)