Read using a family regex filter (HBase)
Stay organized with collections
Save and categorize content based on your preferences.
Creates a limiting filter on a column family with a regex.
Explore further
For detailed documentation that includes this code sample, see the following:
Code sample
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],[],[[["\u003cp\u003eThis code snippet demonstrates how to use a regular expression (regex) to filter data within a specific column family in a Bigtable table.\u003c/p\u003e\n"],["\u003cp\u003eThe code utilizes the \u003ccode\u003eFamilyFilter\u003c/code\u003e class with a \u003ccode\u003eRegexStringComparator\u003c/code\u003e to match column families based on a provided regex pattern.\u003c/p\u003e\n"],["\u003cp\u003eThe example demonstrates filtering column families starting with \u003ccode\u003estats_\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe filter is applied using the \u003ccode\u003eScan\u003c/code\u003e class which is applied to a read process in \u003ccode\u003ereadWithFilter\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]