Read using a chain filter (HBase)
Stay organized with collections
Save and categorize content based on your preferences.
Creates a composite filter using chaining.
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 sample demonstrates how to create a composite filter by chaining multiple filters together.\u003c/p\u003e\n"],["\u003cp\u003eThe example utilizes \u003ccode\u003eFamilyFilter\u003c/code\u003e to target cells within the \u003ccode\u003ecell_plan\u003c/code\u003e column family and \u003ccode\u003eColumnCountGetFilter\u003c/code\u003e to select a specific number of cells per row.\u003c/p\u003e\n"],["\u003cp\u003eIt constructs a \u003ccode\u003eFilterList\u003c/code\u003e with the \u003ccode\u003eMUST_PASS_ALL\u003c/code\u003e operator, ensuring that rows must pass both filters to be included in the results.\u003c/p\u003e\n"],["\u003cp\u003eThe resulting composite filter, applied to a \u003ccode\u003eScan\u003c/code\u003e operation, is then used to filter data in the specified Bigtable table.\u003c/p\u003e\n"]]],[],null,[]]