In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "what is the composition of HBase filter". In daily operation, I believe many people have doubts about what the HBase filter is made of. The editor consulted all kinds of data and sorted out a simple and easy-to-use operation method. I hope it will be helpful for you to answer the question of "what is the composition of HBase filter?" Next, please follow the editor to study!
The HBase filter is a set of API interfaces for accomplishing some of the more advanced requirements.
Filters, also known as push-down judges (push-down predicates), support pushing data filtering standards from the client to the server. RPC query requests with Filter conditions will distribute Filter to each RegionServer. All filters are effective on the server side, so that the filtered data will not be transmitted to the client. These filtering logic is used in the read operation, which can effectively reduce the pressure of network transmission.
Filter composition
The filter mainly consists of the filter itself, the comparator and the comparison operator.
1. Operator
Abstract operator, also known as comparison operator.
LESS: less than
LESS_OR_EQUAL: less than or equal to
EQUAL: equal to
NOT_EQUAL: not equal to
GREATER: greater than
GREATER_OR_EQUAL: greater than or equal to
NO_OP: excluding all values
two。 Comparator
BinaryComparator: a binary comparator for comparing specified byte arrays in dictionary order.
BinaryPrefixComparator: a binary comparator that only compares whether the prefix is the same as the specified byte array.
NullComparator: controls the comparison to determine whether the current value is null.
BitComparator: bit comparator, compared with AND (with), OR (or), and NOT (not) provided by BitwiseOp.
RegexStringComparator: provides a regular comparator that supports value comparison of regular expressions, only EQUAL and non-EQUAL.
SubstringComparator: determines whether the supplied substring appears in the value and is not case-sensitive.
Filter family
HBase has a variety of built-in filters that directly or indirectly inherit from the FilterBase abstract class.
At this point, the study on "what the HBase filter is made of" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.