The elements of "filters" all process a copy of the input row, and the results are pooled, sorted, and combined into a single output row. If multiple cells are produced with the same column and timestamp, they will all appear in the output row in an unspecified mutual order. Consider the following example, with three filters: input row | ----------------------------------------------------- | | | f(0) f(1) f(2) | | | 1: foo,bar,10,x foo,bar,10,z far,bar,7,a 2: foo,blah,11,z far,blah,5,x far,blah,5,x | | | ----------------------------------------------------- | 1: foo,bar,10,z // could have switched with #2 2: foo,bar,10,x // could have switched with #1 3: foo,blah,11,z 4: far,bar,7,a 5: far,blah,5,x // identical to #6 6: far,blah,5,x // identical to #5 All interleaved filters are executed atomically.
getFilters
The elements of "filters" all process a copy of the input row, and the
results are pooled, sorted, and combined into a single output row.
If multiple cells are produced with the same column and timestamp,
they will all appear in the output row in an unspecified mutual order.
Consider the following example, with three filters:
input row
|
| | |
f(0) f(1) f(2)
| | |
1: foo,bar,10,x foo,bar,10,z far,bar,7,a
2: foo,blah,11,z far,blah,5,x far,blah,5,x
| | |
-----------------------------------------------------
|
1: foo,bar,10,z // could have switched with #2
2: foo,bar,10,x // could have switched with #1
3: foo,blah,11,z
4: far,bar,7,a
5: far,blah,5,x // identical to #6
6: far,blah,5,x // identical to #5
The elements of "filters" all process a copy of the input row, and the
results are pooled, sorted, and combined into a single output row.
If multiple cells are produced with the same column and timestamp,
they will all appear in the output row in an unspecified mutual order.
Consider the following example, with three filters:
input row
|
| | |
f(0) f(1) f(2)
| | |
1: foo,bar,10,x foo,bar,10,z far,bar,7,a
2: foo,blah,11,z far,blah,5,x far,blah,5,x
| | |
-----------------------------------------------------
|
1: foo,bar,10,z // could have switched with #2
2: foo,bar,10,x // could have switched with #1
3: foo,blah,11,z
4: far,bar,7,a
5: far,blah,5,x // identical to #6
6: far,blah,5,x // identical to #5
[[["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-08-19 UTC."],[],[],null,["# Cloud Bigtable V2 Client - Class Interleave (2.17.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.1 (latest)](/php/docs/reference/cloud-bigtable/latest/V2.RowFilter.Interleave)\n- [2.17.0](/php/docs/reference/cloud-bigtable/2.17.0/V2.RowFilter.Interleave)\n- [2.16.0](/php/docs/reference/cloud-bigtable/2.16.0/V2.RowFilter.Interleave)\n- [2.15.0](/php/docs/reference/cloud-bigtable/2.15.0/V2.RowFilter.Interleave)\n- [2.14.0](/php/docs/reference/cloud-bigtable/2.14.0/V2.RowFilter.Interleave)\n- [2.13.0](/php/docs/reference/cloud-bigtable/2.13.0/V2.RowFilter.Interleave)\n- [2.12.0](/php/docs/reference/cloud-bigtable/2.12.0/V2.RowFilter.Interleave)\n- [2.11.1](/php/docs/reference/cloud-bigtable/2.11.1/V2.RowFilter.Interleave)\n- [2.9.1](/php/docs/reference/cloud-bigtable/2.9.1/V2.RowFilter.Interleave)\n- [2.8.0](/php/docs/reference/cloud-bigtable/2.8.0/V2.RowFilter.Interleave)\n- [2.7.0](/php/docs/reference/cloud-bigtable/2.7.0/V2.RowFilter.Interleave)\n- [2.6.3](/php/docs/reference/cloud-bigtable/2.6.3/V2.RowFilter.Interleave)\n- [2.5.0](/php/docs/reference/cloud-bigtable/2.5.0/V2.RowFilter.Interleave)\n- [2.4.0](/php/docs/reference/cloud-bigtable/2.4.0/V2.RowFilter.Interleave)\n- [2.3.0](/php/docs/reference/cloud-bigtable/2.3.0/V2.RowFilter.Interleave)\n- [2.2.1](/php/docs/reference/cloud-bigtable/2.2.1/V2.RowFilter.Interleave)\n- [2.1.0](/php/docs/reference/cloud-bigtable/2.1.0/V2.RowFilter.Interleave)\n- [2.0.1](/php/docs/reference/cloud-bigtable/2.0.1/V2.RowFilter.Interleave)\n- [1.32.1](/php/docs/reference/cloud-bigtable/1.32.1/V2.RowFilter.Interleave)\n- [1.31.1](/php/docs/reference/cloud-bigtable/1.31.1/V2.RowFilter.Interleave)\n- [1.30.0](/php/docs/reference/cloud-bigtable/1.30.0/V2.RowFilter.Interleave)\n- [1.29.2](/php/docs/reference/cloud-bigtable/1.29.2/V2.RowFilter.Interleave)\n- [1.28.3](/php/docs/reference/cloud-bigtable/1.28.3/V2.RowFilter.Interleave)\n- [1.27.0](/php/docs/reference/cloud-bigtable/1.27.0/V2.RowFilter.Interleave)\n- [1.26.2](/php/docs/reference/cloud-bigtable/1.26.2/V2.RowFilter.Interleave)\n- [1.25.0](/php/docs/reference/cloud-bigtable/1.25.0/V2.RowFilter.Interleave)\n- [1.24.1](/php/docs/reference/cloud-bigtable/1.24.1/V2.RowFilter.Interleave)\n- [1.23.0](/php/docs/reference/cloud-bigtable/1.23.0/V2.RowFilter.Interleave)\n- [1.22.2](/php/docs/reference/cloud-bigtable/1.22.2/V2.RowFilter.Interleave)\n- [1.21.1](/php/docs/reference/cloud-bigtable/1.21.1/V2.RowFilter.Interleave)\n- [1.20.3](/php/docs/reference/cloud-bigtable/1.20.3/V2.RowFilter.Interleave) \nReference documentation and code samples for the Cloud Bigtable V2 Client class Interleave.\n\nA RowFilter which sends each row to each of several component\nRowFilters and interleaves the results.\n\nGenerated from protobuf message `google.bigtable.v2.RowFilter.Interleave`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Bigtable \\\\ V2 \\\\ RowFilter\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFilters\n\nThe elements of \"filters\" all process a copy of the input row, and the\nresults are pooled, sorted, and combined into a single output row.\n\nIf multiple cells are produced with the same column and timestamp,\nthey will all appear in the output row in an unspecified mutual order.\nConsider the following example, with three filters:\ninput row\n\n\\|\n---\n\n | | |\n f(0) f(1) f(2)\n | | |\n 1: foo,bar,10,x foo,bar,10,z far,bar,7,a\n 2: foo,blah,11,z far,blah,5,x far,blah,5,x\n | | |\n -----------------------------------------------------\n |\n 1: foo,bar,10,z // could have switched with #2\n 2: foo,bar,10,x // could have switched with #1\n 3: foo,blah,11,z\n 4: far,bar,7,a\n 5: far,blah,5,x // identical to #6\n 6: far,blah,5,x // identical to #5\n\nAll interleaved filters are executed atomically.\n\n### setFilters\n\nThe elements of \"filters\" all process a copy of the input row, and the\nresults are pooled, sorted, and combined into a single output row.\n\nIf multiple cells are produced with the same column and timestamp,\nthey will all appear in the output row in an unspecified mutual order.\nConsider the following example, with three filters:\ninput row\n\n\\|\n---\n\n | | |\n f(0) f(1) f(2)\n | | |\n 1: foo,bar,10,x foo,bar,10,z far,bar,7,a\n 2: foo,blah,11,z far,blah,5,x far,blah,5,x\n | | |\n -----------------------------------------------------\n |\n 1: foo,bar,10,z // could have switched with #2\n 2: foo,bar,10,x // could have switched with #1\n 3: foo,blah,11,z\n 4: far,bar,7,a\n 5: far,blah,5,x // identical to #6\n 6: far,blah,5,x // identical to #5\n\nAll interleaved filters are executed atomically."]]