Index: src/test/java/org/apache/hadoop/hbase/regionserver/TestExplicitColumnTracker.java =================================================================== --- src/test/java/org/apache/hadoop/hbase/regionserver/TestExplicitColumnTracker.java (revision 1504191) +++ src/test/java/org/apache/hadoop/hbase/regionserver/TestExplicitColumnTracker.java (working copy) @@ -172,7 +172,7 @@ explicit.checkColumn(col, 0, col.length, 1, KeyValue.Type.Put.getCode(), false); } - explicit.update(); + explicit.reset(); for (int i = 1; i < 100000; i+=2) { byte [] col = Bytes.toBytes("col"+i); Index: src/main/java/org/apache/hadoop/hbase/regionserver/ExplicitColumnTracker.java =================================================================== --- src/main/java/org/apache/hadoop/hbase/regionserver/ExplicitColumnTracker.java (revision 1504191) +++ src/main/java/org/apache/hadoop/hbase/regionserver/ExplicitColumnTracker.java (working copy) @@ -39,12 +39,16 @@ * between rows. * *
- * This class is utilized by {@link ScanQueryMatcher} through two methods: + * This class is utilized by {@link ScanQueryMatcher} mainly through two methods: *
+ * These two methods returns a + * {@link org.apache.hadoop.hbase.regionserver.ScanQueryMatcher.MatchCode} + * to define what action should be taken. + *
* This class is NOT thread-safe as queries are never multi-threaded
*/
public class ExplicitColumnTracker implements ColumnTracker {
@@ -58,7 +62,6 @@
* column have been returned.
*/
private final List
- * This class is utilized by {@link ScanQueryMatcher} through two methods:
+ * This class is utilized by {@link ScanQueryMatcher} mainly through two methods:
*
+ * These two methods returns a
+ * {@link org.apache.hadoop.hbase.regionserver.ScanQueryMatcher.MatchCode}
+ * to define what action should be taken.
+ *
* This class is NOT thread-safe as queries are never multi-threaded
*/
public interface ColumnTracker {
@@ -60,11 +66,6 @@
throws IOException;
/**
- * Updates internal variables in between files
- */
- public void update();
-
- /**
* Resets the Matcher
*/
public void reset();