Support for HBase Java Filters by the MapR-DB C APIs
The
hb_get_set_filter()
and
hb_scanner_set_filter()
APIs filter
the results of GET and SCAN operations. Their signatures
are:
int32_t hb_get_set_filter(hb_get_t get, const byte_t *filter, const int32_t filterLen);
int32_t hb_scanner_set_filter(hb_scanner_t scanner, const byte_t *filter, const int32_t filterLen);
They both take filters that are passed as strings, as well as the length of these strings. MapR-DB parses the strings to construct filters.