RowFilter.Interleave.Builder (Cloud Bigtable HBase Client for Java 0.9.7.1 API)

com.google.bigtable.v2

Class RowFilter.Interleave.Builder

    • Method Detail

      • getFiltersList

        public List<RowFilter> getFiltersList()
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
        Specified by:
        getFiltersList in interface RowFilter.InterleaveOrBuilder
      • getFiltersCount

        public int getFiltersCount()
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
        Specified by:
        getFiltersCount in interface RowFilter.InterleaveOrBuilder
      • getFilters

        public RowFilter getFilters(int index)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
        Specified by:
        getFilters in interface RowFilter.InterleaveOrBuilder
      • setFilters

        public RowFilter.Interleave.Builder setFilters(int index,
                                                       RowFilter value)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • setFilters

        public RowFilter.Interleave.Builder setFilters(int index,
                                                       RowFilter.Builder builderForValue)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • addFilters

        public RowFilter.Interleave.Builder addFilters(RowFilter value)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • addFilters

        public RowFilter.Interleave.Builder addFilters(int index,
                                                       RowFilter value)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • addFilters

        public RowFilter.Interleave.Builder addFilters(RowFilter.Builder builderForValue)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • addFilters

        public RowFilter.Interleave.Builder addFilters(int index,
                                                       RowFilter.Builder builderForValue)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • addAllFilters

        public RowFilter.Interleave.Builder addAllFilters(Iterable<? extends RowFilter> values)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • clearFilters

        public RowFilter.Interleave.Builder clearFilters()
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • removeFilters

        public RowFilter.Interleave.Builder removeFilters(int index)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • getFiltersBuilder

        public RowFilter.Builder getFiltersBuilder(int index)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • getFiltersOrBuilder

        public RowFilterOrBuilder getFiltersOrBuilder(int index)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
        Specified by:
        getFiltersOrBuilder in interface RowFilter.InterleaveOrBuilder
      • getFiltersOrBuilderList

        public List<? extends RowFilterOrBuilder> getFiltersOrBuilderList()
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
        Specified by:
        getFiltersOrBuilderList in interface RowFilter.InterleaveOrBuilder
      • addFiltersBuilder

        public RowFilter.Builder addFiltersBuilder()
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • addFiltersBuilder

        public RowFilter.Builder addFiltersBuilder(int index)
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;
      • getFiltersBuilderList

        public List<RowFilter.Builder> getFiltersBuilderList()
         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.
         
        repeated .google.bigtable.v2.RowFilter filters = 1;


Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Bigtable Documentation