HBASE-3335 Add BitComparator for filtering

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1051217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-12-20 17:30:09 +00:00
parent 57a325bf4c
commit 8c73db0ebd
2 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,7 @@ Release 0.91.0 - Unreleased
NEW FEATURES NEW FEATURES
HBASE-3287 Add option to cache blocks on hfile write and evict blocks on HBASE-3287 Add option to cache blocks on hfile write and evict blocks on
hfile close hfile close
HBASE-3335 Add BitComparator for filtering (Nathaniel Cook via Stack)
Release 0.90.0 - Unreleased Release 0.90.0 - Unreleased

View File

@ -62,6 +62,7 @@ import org.apache.hadoop.hbase.client.Row;
import org.apache.hadoop.hbase.client.Scan; import org.apache.hadoop.hbase.client.Scan;
import org.apache.hadoop.hbase.client.coprocessor.Exec; import org.apache.hadoop.hbase.client.coprocessor.Exec;
import org.apache.hadoop.hbase.filter.BinaryComparator; import org.apache.hadoop.hbase.filter.BinaryComparator;
import org.apache.hadoop.hbase.filter.BitComparator;
import org.apache.hadoop.hbase.filter.ColumnCountGetFilter; import org.apache.hadoop.hbase.filter.ColumnCountGetFilter;
import org.apache.hadoop.hbase.filter.ColumnPrefixFilter; import org.apache.hadoop.hbase.filter.ColumnPrefixFilter;
import org.apache.hadoop.hbase.filter.CompareFilter; import org.apache.hadoop.hbase.filter.CompareFilter;
@ -178,6 +179,7 @@ public class HbaseObjectWritable implements Writable, WritableWithSize, Configur
addToMap(SingleColumnValueFilter.class, code++); addToMap(SingleColumnValueFilter.class, code++);
addToMap(SingleColumnValueExcludeFilter.class, code++); addToMap(SingleColumnValueExcludeFilter.class, code++);
addToMap(BinaryComparator.class, code++); addToMap(BinaryComparator.class, code++);
addToMap(BitComparator.class, code++);
addToMap(CompareFilter.class, code++); addToMap(CompareFilter.class, code++);
addToMap(RowFilter.class, code++); addToMap(RowFilter.class, code++);
addToMap(ValueFilter.class, code++); addToMap(ValueFilter.class, code++);