hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1566869 - in /hbase/trunk: hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterListAdditional.java
Date Mon, 10 Feb 2014 23:53:40 GMT
Author: tedyu
Date: Mon Feb 10 23:53:39 2014
New Revision: 1566869

URL: http://svn.apache.org/r1566869
Log:
HBASE-10485 Revert to address more review comments


Removed:
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterListAdditional.java
Modified:
    hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java

Modified: hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java?rev=1566869&r1=1566868&r2=1566869&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java
(original)
+++ hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java
Mon Feb 10 23:53:39 2014
@@ -25,7 +25,6 @@ import com.google.protobuf.InvalidProtoc
 
 import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.classification.InterfaceStability;
-import org.apache.hadoop.hbase.Cell;
 import org.apache.hadoop.hbase.exceptions.DeserializationException;
 import org.apache.hadoop.hbase.protobuf.generated.FilterProtos;
 import org.apache.hadoop.hbase.util.Bytes;
@@ -67,12 +66,6 @@ public class PrefixFilter extends Filter
     return filterRow;
   }
 
-  @Override
-  public ReturnCode filterKeyValue(Cell v) {
-    if (filterRow) return ReturnCode.SKIP;
-    return ReturnCode.INCLUDE;
-  }
-
   public boolean filterRow() {
     return filterRow;
   }



Mime
View raw message