HBase Filter程序样例及Shell(图)
Posted 大墨垂杨
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了HBase Filter程序样例及Shell(图)相关的知识,希望对你有一定的参考价值。
==过滤器执行流程==
- reset() : reset the filter state before filtering a new row.
- filterAllRemaining(): true means row scan is over; false means keep going.
- filterRowKey(byte[],int,int): true means drop this row; false means include.
- filterKeyValue(Cell): decides whether to include or exclude this KeyValue. See Filter.ReturnCode.
- transform(KeyValue): if the KeyValue is included, let the filter transform the KeyValue.
- filterRowCells(List): allows direct modification of the final list to be submitted
- filterRow(): last chance to drop entire row based on the sequence of filter calls. Eg: filter a row if it doesn\'t contain a specified column.
==过滤器属性及之间的兼容性==
==过滤器说明及样例==
Excel版资料请加微信:hello-quchunhui。
--END--
以上是关于HBase Filter程序样例及Shell(图)的主要内容,如果未能解决你的问题,请参考以下文章