Reference documentation and code samples for the Cloud Bigtable V2 Client class Condition.
A RowFilter which evaluates one of two possible RowFilters, depending on
whether or not a predicate RowFilter outputs any cells from the input row.
IMPORTANT NOTE: The predicate filter does not execute atomically with the
true and false filters, which may lead to inconsistent or unexpected
results. Additionally, Condition filters have poor performance, especially
when filters are set for the false condition.
Generated from protobuf message google.bigtable.v2.RowFilter.Condition
[[["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"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Bigtable V2 Client - Class Condition (2.17.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.1 (latest)](/php/docs/reference/cloud-bigtable/latest/V2.RowFilter.Condition)\n- [2.17.0](/php/docs/reference/cloud-bigtable/2.17.0/V2.RowFilter.Condition)\n- [2.16.0](/php/docs/reference/cloud-bigtable/2.16.0/V2.RowFilter.Condition)\n- [2.15.0](/php/docs/reference/cloud-bigtable/2.15.0/V2.RowFilter.Condition)\n- [2.14.0](/php/docs/reference/cloud-bigtable/2.14.0/V2.RowFilter.Condition)\n- [2.13.0](/php/docs/reference/cloud-bigtable/2.13.0/V2.RowFilter.Condition)\n- [2.12.0](/php/docs/reference/cloud-bigtable/2.12.0/V2.RowFilter.Condition)\n- [2.11.1](/php/docs/reference/cloud-bigtable/2.11.1/V2.RowFilter.Condition)\n- [2.9.1](/php/docs/reference/cloud-bigtable/2.9.1/V2.RowFilter.Condition)\n- [2.8.0](/php/docs/reference/cloud-bigtable/2.8.0/V2.RowFilter.Condition)\n- [2.7.0](/php/docs/reference/cloud-bigtable/2.7.0/V2.RowFilter.Condition)\n- [2.6.3](/php/docs/reference/cloud-bigtable/2.6.3/V2.RowFilter.Condition)\n- [2.5.0](/php/docs/reference/cloud-bigtable/2.5.0/V2.RowFilter.Condition)\n- [2.4.0](/php/docs/reference/cloud-bigtable/2.4.0/V2.RowFilter.Condition)\n- [2.3.0](/php/docs/reference/cloud-bigtable/2.3.0/V2.RowFilter.Condition)\n- [2.2.1](/php/docs/reference/cloud-bigtable/2.2.1/V2.RowFilter.Condition)\n- [2.1.0](/php/docs/reference/cloud-bigtable/2.1.0/V2.RowFilter.Condition)\n- [2.0.1](/php/docs/reference/cloud-bigtable/2.0.1/V2.RowFilter.Condition)\n- [1.32.1](/php/docs/reference/cloud-bigtable/1.32.1/V2.RowFilter.Condition)\n- [1.31.1](/php/docs/reference/cloud-bigtable/1.31.1/V2.RowFilter.Condition)\n- [1.30.0](/php/docs/reference/cloud-bigtable/1.30.0/V2.RowFilter.Condition)\n- [1.29.2](/php/docs/reference/cloud-bigtable/1.29.2/V2.RowFilter.Condition)\n- [1.28.3](/php/docs/reference/cloud-bigtable/1.28.3/V2.RowFilter.Condition)\n- [1.27.0](/php/docs/reference/cloud-bigtable/1.27.0/V2.RowFilter.Condition)\n- [1.26.2](/php/docs/reference/cloud-bigtable/1.26.2/V2.RowFilter.Condition)\n- [1.25.0](/php/docs/reference/cloud-bigtable/1.25.0/V2.RowFilter.Condition)\n- [1.24.1](/php/docs/reference/cloud-bigtable/1.24.1/V2.RowFilter.Condition)\n- [1.23.0](/php/docs/reference/cloud-bigtable/1.23.0/V2.RowFilter.Condition)\n- [1.22.2](/php/docs/reference/cloud-bigtable/1.22.2/V2.RowFilter.Condition)\n- [1.21.1](/php/docs/reference/cloud-bigtable/1.21.1/V2.RowFilter.Condition)\n- [1.20.3](/php/docs/reference/cloud-bigtable/1.20.3/V2.RowFilter.Condition) \nReference documentation and code samples for the Cloud Bigtable V2 Client class Condition.\n\nA RowFilter which evaluates one of two possible RowFilters, depending on\nwhether or not a predicate RowFilter outputs any cells from the input row.\n\nIMPORTANT NOTE: The predicate filter does not execute atomically with the\ntrue and false filters, which may lead to inconsistent or unexpected\nresults. Additionally, Condition filters have poor performance, especially\nwhen filters are set for the false condition.\n\nGenerated from protobuf message `google.bigtable.v2.RowFilter.Condition`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Bigtable \\\\ V2 \\\\ RowFilter\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPredicateFilter\n\nIf `predicate_filter` outputs any cells, then `true_filter` will be\nevaluated on the input row. Otherwise, `false_filter` will be evaluated.\n\n### hasPredicateFilter\n\n### clearPredicateFilter\n\n### setPredicateFilter\n\nIf `predicate_filter` outputs any cells, then `true_filter` will be\nevaluated on the input row. Otherwise, `false_filter` will be evaluated.\n\n### getTrueFilter\n\nThe filter to apply to the input row if `predicate_filter` returns any\nresults. If not provided, no results will be returned in the true case.\n\n### hasTrueFilter\n\n### clearTrueFilter\n\n### setTrueFilter\n\nThe filter to apply to the input row if `predicate_filter` returns any\nresults. If not provided, no results will be returned in the true case.\n\n### getFalseFilter\n\nThe filter to apply to the input row if `predicate_filter` does not\nreturn any results. If not provided, no results will be returned in the\nfalse case.\n\n### hasFalseFilter\n\n### clearFalseFilter\n\n### setFalseFilter\n\nThe filter to apply to the input row if `predicate_filter` does not\nreturn any results. If not provided, no results will be returned in the\nfalse case."]]