Update Hbase过滤器详解.md

This commit is contained in:
heibaiying 2019-04-12 12:09:39 +08:00 committed by GitHub
parent 0b08e65146
commit c3ea7b32ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,11 +185,11 @@ DependentColumnFilter dependentColumnFilter = new DependentColumnFilter(
new BinaryPrefixComparator(Bytes.toBytes("xiaolan")));
```
(1) 这里会先去查找`student:name`中值以`xiaolan`开头的所有数据获得`参考数据集`这一步的查找等同于valueFilter过滤器
+ 这里会先去查找`student:name`中值以`xiaolan`开头的所有数据获得`参考数据集`这一步的查找等同于valueFilter过滤器
(2) 其次再用参考数据集中所有数据的时间戳去检索其他列,获得时间戳相同的其他列的数据作为`结果数据集`,这一步等同于时间戳过滤器;
+ 其次再用参考数据集中所有数据的时间戳去检索其他列,获得时间戳相同的其他列的数据作为`结果数据集`,这一步等同于时间戳过滤器;
(3) 最后如果`dropDependentColumn `为true则返回`参考数据集`+`结果数据集`若为false则抛弃参考数据集只返回结果数据集。
+ 最后如果`dropDependentColumn `为true则返回`参考数据集`+`结果数据集`若为false则抛弃参考数据集只返回结果数据集。