You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2009/04/23 18:19:40 UTC
svn commit: r767958 - in /hadoop/hbase/trunk: CHANGES.txt
src/java/org/apache/hadoop/hbase/client/HTable.java
Author: stack
Date: Thu Apr 23 16:19:40 2009
New Revision: 767958
URL: http://svn.apache.org/viewvc?rev=767958&view=rev
Log:
HBASE-1301 HTable.getRow() returns null if the row does no exist
Modified:
hadoop/hbase/trunk/CHANGES.txt
hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java
Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=767958&r1=767957&r2=767958&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Thu Apr 23 16:19:40 2009
@@ -154,6 +154,8 @@
HBASE-1333 RowCounter updates
HBASE-1195 If HBase directory exists but version file is inexistent, still
proceed with bootstrapping (Evgeny Ryabitskiy via Stack)
+ HBASE-1301 HTable.getRow() returns null if the row does no exist
+ (Rong-en Fan via Stack)
Release 0.19.0 - 01/21/2009
INCOMPATIBLE CHANGES
Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java?rev=767958&r1=767957&r2=767958&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/HTable.java Thu Apr 23 16:19:40 2009
@@ -405,7 +405,7 @@
* Get all the data for the specified row at the latest timestamp
*
* @param row row key
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final String row) throws IOException {
@@ -416,7 +416,7 @@
* Get all the data for the specified row at the latest timestamp
*
* @param row row key
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final byte [] row) throws IOException {
@@ -428,7 +428,7 @@
*
* @param row row key
* @param numVersions number of versions to return
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final String row, final int numVersions)
@@ -442,7 +442,7 @@
*
* @param row row key
* @param numVersions number of versions to return
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final byte[] row, final int numVersions)
@@ -455,7 +455,7 @@
*
* @param row row key
* @param ts timestamp
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final String row, final long ts)
@@ -468,7 +468,7 @@
*
* @param row row key
* @param ts timestamp
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final byte [] row, final long ts)
@@ -488,7 +488,7 @@
* @param row row key
* @param timestamp timestamp
* @param numVersions number of versions to return
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final byte[] row, final long timestamp,
@@ -501,7 +501,7 @@
*
* @param row row key
* @param columns Array of column names and families you want to retrieve.
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final String row, final String [] columns)
@@ -514,7 +514,7 @@
*
* @param row row key
* @param columns Array of column names and families you want to retrieve.
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final byte [] row, final byte [][] columns)
@@ -528,7 +528,7 @@
* @param row row key
* @param columns Array of column names and families you want to retrieve.
* @param numVersions number of versions to return
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final String row, final String[] columns,
@@ -543,7 +543,7 @@
* @param row row key
* @param columns Array of column names and families you want to retrieve.
* @param numVersions number of versions to return
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final byte[] row, final byte[][] columns,
@@ -557,7 +557,7 @@
* @param row row key
* @param columns Array of column names and families you want to retrieve.
* @param ts timestamp
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final String row, final String [] columns,
@@ -572,7 +572,7 @@
* @param row row key
* @param columns Array of column names and families you want to retrieve.
* @param ts timestamp
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final byte [] row, final byte [][] columns,
@@ -598,7 +598,7 @@
* @param ts timestamp
* @param numVersions
* @param rl row lock
- * @return RowResult is empty if row does not exist.
+ * @return RowResult is <code>null</code> if row does not exist.
* @throws IOException
*/
public RowResult getRow(final byte [] row, final byte [][] columns,