hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r908292 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
Date Wed, 10 Feb 2010 00:26:57 GMT
Author: stack
Date: Wed Feb 10 00:26:56 2010
New Revision: 908292

URL: http://svn.apache.org/viewvc?rev=908292&view=rev
Log:
HBASE-2198 SingleColumnValueFilter should be able to find the column value even when it's
not specifically added as input on the scan

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=908292&r1=908291&r2=908292&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Wed Feb 10 00:26:56 2010
@@ -350,6 +350,9 @@
    HBASE-2180  Bad random read performance from synchronizing hfile.fddatainputstream
    HBASE-2194  HTable - put(Put) , put(List<Put) code duplication (Kay Kay via Stack)
    HBASE-2185  Add html version of default hbase-site.xml (Kay Kay via Stack)
+   HBASE-2198  SingleColumnValueFilter should be able to find the column value
+               even when it's not specifically added as input on the sc
+               (Ferdy via Stack)
 
   NEW FEATURES
    HBASE-1961  HBase EC2 scripts

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java?rev=908292&r1=908291&r2=908292&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
(original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
Wed Feb 10 00:26:56 2010
@@ -28,6 +28,7 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.KeyValue;
+import org.apache.hadoop.hbase.client.Scan;
 import org.apache.hadoop.hbase.filter.CompareFilter.CompareOp;
 import org.apache.hadoop.hbase.io.HbaseObjectWritable;
 import org.apache.hadoop.hbase.util.Bytes;
@@ -44,7 +45,9 @@
  * long value), then you can pass in your own comparator instead.
  * <p>
  * You must also specify a family and qualifier.  Only the value of this column 
- * will be tested.
+ * will be tested. When using this filter on a {@link Scan} with specified 
+ * inputs, the column to be tested should also be added as input (otherwise 
+ * the filter will regard the column as missing).
  * <p>
  * To prevent the entire row from being emitted if the column is not found
  * on a row, use {@link #setFilterIfMissing}.



Mime
View raw message