hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1369027 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/filter/SkipFilter.java
Date Fri, 03 Aug 2012 15:23:56 GMT
Author: tedyu
Date: Fri Aug  3 15:23:56 2012
New Revision: 1369027

URL: http://svn.apache.org/viewvc?rev=1369027&view=rev
Log:
HBASE-6481 SkipFilter javadoc is incorrect (Shrijeet)


Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/filter/SkipFilter.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/filter/SkipFilter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/filter/SkipFilter.java?rev=1369027&r1=1369026&r2=1369027&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/filter/SkipFilter.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/filter/SkipFilter.java
Fri Aug  3 15:23:56 2012
@@ -40,10 +40,11 @@ import java.util.List;
  * with a {@link ValueFilter}:
  * <p>
  * <pre>
- * scan.setFilter(new SkipFilter(new ValueFilter(CompareOp.EQUAL,
+ * scan.setFilter(new SkipFilter(new ValueFilter(CompareOp.NOT_EQUAL,
  *     new BinaryComparator(Bytes.toBytes(0))));
  * </code>
- * Any row which contained a column whose value was 0 will be filtered out.
+ * Any row which contained a column whose value was 0 will be filtered out
+ * (since ValueFilter will not pass that KeyValue).
  * Without this filter, the other non-zero valued columns in the row would still
  * be emitted.
  */



Mime
View raw message